API Reference
Classifications

Classifications ADD-ONADD-ON

Many sources link emission factors (opens in a new tab) to specific industry classification schemes, and Climatiq makes it possible to select an emission factor based on these industry classification codes. Please see below the list of mappings we currently support, with the datasets that are mapped directly to them (note that the API will also map factors indirectly via the UN correspondence tables (opens in a new tab)):

Industry Classification codePrimary dataset
ISIC Rev. 4 (opens in a new tab)GHG Protocol (opens in a new tab)(via ISIC 3.1)
NACE Rev. 2 (opens in a new tab)EXIOBASE3 (opens in a new tab)
Merchant Classification Codes (MCCs) (opens in a new tab)EXIOBASE3 (opens in a new tab)
United Nations Standard Products and Services Code (UNSPSC) (opens in a new tab)EXIOBASE3 (opens in a new tab)

For a more in-depth view on how Climatiq works with classification schemes, view the classification guide.

Estimate

POST Calculate total estimated emissions produced for a particular activity, as described by an industry classification scheme such as ISIC (opens in a new tab) or NACE (opens in a new tab). All requests are performed by sending a POST request to the following endpoint:

https://beta4.api.climatiq.io/classifications/estimate

This endpoint lets you specify an industry classification code and have Climatiq automatically select the appropriate emission factor.

One industry code might be linked to more than one emission factor. If that happens, Climatiq will automatically select the most conservative emission factor. If you would like to specify exactly what emission factor to use, you can specify other attributes to filter on, such as year, source or region.

Industry classification codes can also be mapped to each other using the UN correspondence tables (opens in a new tab), allowing Climatiq to return emission factors from other classification schemes that represent the same activity if there isn't one found directly; this may happen for example because of different classification taxonomies being used in different geographies or by different data sources.

As with any estimation endpoint, the emission factor must be provided with parameters, such as weight, volume, energy. These are provided through the parameters field. See the estimate endpoint for more details on how parameters and units work.

Request

The following parameters can be defined as JSON-encoded object in a body.

AttributeRequired
classification Classification Selector
A selector with classification data
required
parameters Parameters
Emission factor parameters. The parameter object changes depending on the EF selected.
required

The Classification Selector is very reminiscent of a Selector with a few differences. It is an object consisting of the following parameters:

AttributeRequired
classification_code string
The classification code.
required
classification_type string
The classification scheme; currently supported are nace2, isic4, mcc or unspsc.
required
data_version string
The required Data Version string for this request.
required
source string
Emission factor data source name.
optional
source_dataset string
The name of the dataset the source published this emission factor under.
optional
region string
Geographic region to which the emission factor applies.
optional
region_fallback boolean
Set this to true if you're willing to accept a less specific geographical region than the one you've specified. Climatiq will then attempt to fall back to the larger region if it does not find any emission factors with the initial region. Default is false
optional
year number
The year in which the emission factor is considered most relevant, according to the source.
optional
source_lca_activity string
The Life Cycle Assessment (LCA) activity to which this factor is associated.
optional
calculation_method "ar4", "ar5" or "ar6"
The calculation method that will be used to calculate the CO2e emission factor.
Learn more about calculation methods here.
optional
allowed_data_quality_flags [string]
A list of data quality flags that you are willing to allow for this estimate. See the guide on data quality flags for more information and defaults. You can supply an empty list [] if you only want to accept emission factors without detected data quality issues.
optional
curl --request POST \
--url https://beta4.api.climatiq.io/classifications/estimate \
--header 'Authorization: Bearer API_KEY' \
--data '{
"classification": {
"classification_type": "isic4",
"classification_code": "25",
"source": "EXIOBASE"
},
"parameters": {
"money": 25.0,
"money_unit": "usd"
}
}'

Response

This endpoint returns an Estimation, which includes the total amount of emissions in kgCO2e and the emission factor used to calculate the emissions.

Attribute
Estimation object
An Estimation that describes the total amount of co2e and the emission factor used.
{
"co2e": 49.25493000000001,
"co2e_unit": "kg",
"co2e_calculation_method": "ar5",
"co2e_calculation_origin": "source",
"emission_factor": {
"name": "Fabricated metal products/except machinery and equipment",
"activity_id": "metal_products-type_fabricated_metal_products_except_machinery_equipment",
"id": "79e87731-dc29-470b-a2fa-73e30797bc53",
"access_type": "public",
"source": "EXIOBASE",
"source_dataset": "EXIOBASE 3",
"year": 2019,
"region": "IN",
"category": "Fabricated Metal Products",
"source_lca_activity": "unknown",
"data_quality_flags": []
},
"constituent_gases": {
"co2e_total": 49.25493000000001,
"co2e_other": null,
"co2": null,
"ch4": null,
"n2o": null
},
"activity_data": {
"activity_value": 22.35,
"activity_unit": "eur"
},
"audit_trail": "enabled"
}