CarbonSutra
CarbonSutra Carbon Emissions API

Discover supported vehicle manufacturers and models.


Vehicles Estimates by Type

POST
$
/api/v1/vehicle_estimate_by_type

Emissions from Vehicle Usage based on its type

Returns estimated greenhouse gas emissions (CO2e) in multiple units (grams, kilograms, metric tons, pounds) for travel in vehicles based on its type.

operationId: calculate_emissions_from_vehicle_usage_based_on_type

Vehicles Estimates by Type › query Parameters

vehicle_type
​string · required

Type of vehicle

distance_unit
​string · enum

Enter "km" for kilometers and "mi" for miles. Default is "km"

Enum values:
km
mi
Default: km
distance_value
​number · double · min: 0

Distance travelled. If an undefined value is passed, it will be set to 1.00

Default: 1
fuel_type
​string · enum

Applicable for cars, these 5 values are allowed: ["Diesel", "Petrol", "PHEV", "BEV", "Unknown"]. If unsure then use "Unknown", which is the default value.

Enum values:
Diesel
Petrol
PHEV
BEV
Unknown
Default: Unknown
include_wtt
​string · enum

The default value of "Y" includes the Well-to-Tank (WTT) factors while "N" bypasses it

Enum values:
Y
N
Default: Y
cluster_name
​string · minLength: 1

Identifier to log and aggregate results under the Cluster Data API

Vehicles Estimates by Type › Responses

Estimated vehicle emissions.

Standard CarbonSutra emission-calculation response.
​EmissionMetrics · required

CO₂e result returned by an emission calculator.

success
​boolean · required

Whether the request completed successfully.

status
​integer · int32 · required

API status value.


Vehicles Estimates by Model

POST
$
/api/v1/vehicle_estimate_by_model

Emissions from Vehicle Usage based on its Make/Model

Returns estimated greenhouse gas emissions (CO2e) in multiple units (grams, kilograms, metric tons, pounds) for travel in vehicles based on its make and model.

145 Makes and 5,000 models are covered. To get the specific name of make and model, use the supplementary APIs or access the database at: https://www.carbonsutra.com/data-vehicle-make-model

operationId: calculate_emissions_from_vehicle_usage_based_on_make_and_model

Notes

  • If you do not know the make and model of vehicle, we suggest to use the API which calculates emissions by Vehicle Type.

  • For dual fuel vehicles, the average of emissions from its conventional and alternative fuels is used.

  • If a model is released across multiple years by the same maker, then the emissions for that model are averaged.

Vehicles Estimates by Model › query Parameters

vehicle_make
​string · required

Name of Vehicle Make. Retrieve it from Supplementary API or documentation

vehicle_model
​string · required

Name of Vehicle Model. Retrieve it from Supplementary API or documentation

distance_unit
​string · enum

Enter "km" for kilometers and "mi" for miles. Default is "mi".

Enum values:
km
mi
Default: mi
distance_value
​number · double · min: 0

Distance travelled. If an undefined value is passed, it will be set to 1.00

Default: 1
cluster_name
​string · minLength: 1

Identifier to log and aggregate results under the Cluster Data API

Vehicles Estimates by Model › Responses

Estimated vehicle emissions.

Standard CarbonSutra emission-calculation response.
​EmissionMetrics · required

CO₂e result returned by an emission calculator.

success
​boolean · required

Whether the request completed successfully.

status
​integer · int32 · required

API status value.


Vehicle Makes

GET
$
/api/v1/vehicle_makes

List of all Vehicle Makes

Returns a list of all vehicle makers and their number of models, which can be used in getting list of models and then estimating footprints.

This API is primarily used by application developers. For individual users, we have shared the entire database at: https://www.carbonsutra.com/

operationId: list_all_vehicle_makers

Vehicle Makes › Responses

Vehicle makes and model counts.

Generic JSON response because the supplied collection does not define the exact response fields.

Vehicle Models

GET
$
/api/v1/vehicle_makes/{vehicle_make}/vehicle_models

List of all Models for a specific Vehicle Make

Returns a list of all models for a specific vehicle maker's name. This API is primarily used by application developers.

operationId: list_all_models_for_a_specific_vehicle_make

Vehicle Models › path Parameters

vehicle_make
​string · required

Name of Vehicle Make

Vehicle Models › Responses

Vehicle models for the selected make.

Generic JSON response because the supplied collection does not define the exact response fields.