Docs
Core-Resources
Core-ResourcesSearch

Search

GET Allows you to determine what emission factors are available to be used in your estimates.

You can search for free-text queries with the query parameter, or filter by parameters such as category, source, region, year calculation_method, source_lca_activity or id.

If you are using the query parameter, the results will be returned in order of how well they match your free-text query.

This endpoint is paginated, and will return current_page and last_page so you can determine which page you are on. You switch pages by using the page query parameter.

https://beta4.api.earthemission.io/search

Request

Request Parameters
Should be sent as an URL-encoded query string
data_versionrequired string
The required Data Version string for this request.
querystring
A free-text query that will match ids, names, descriptions, etc. of emission factors. This uses fuzzy matching, so your query does not need to be precise. Spaces need to be encoded as + or %20
activity_idstring
Filter by the id of a specific activity. Multiple emission factors might share the same activity. You may specify an asterisk (*) at the end of the activity id to act as a wildcard character, matching any ids that begin with the string before the asterisk.
idstring
Filter by the id of a specific emission factor. As IDs are unique, this will only ever return a maximum of 1 emission factor. If using id, the emission factor will only be returned if it was not added later than the provided data version.
categorystring
Filters by emission factor category
sectorstring
Filters by emission factor sector
sourcestring
Filters emission factors by data source
source_datasetstring
Filters emission factors by a given dataset from a source
yearinteger
Filters emission factors by the year in which the emission factor is considered most relevant, according to the source.
regionstring
Filters emission factors by geographic region to which it applies. You may specify an asterisk (*) at the end of the region to act as a wildcard character, matching any regions, such as sub-regions, that begin with the string before the asterisk.
unit_typestring
Filters emission factors by what unit (such as money, energy, or volume) the factor accepts.
source_lca_activitystring
The Life Cycle Assessment (LCA) activity with which this factor is associated.
calculation_methodstring
The calculation method that is used to calculate the emission factor. Can be either ar4, ar5, or ar6. Not providing a value means that this defaults to the latest calculation methodology the source supports. Learn more about calculation methods here.
allowed_data_quality_flagsarray of strings
A list of data quality flags that you are willing to allow for this query. You can provide a comma-separated list of data quality flags you want to allow, or the value none if you only want emission factors without detected data quality issues. See the guide on data quality flags for more information.
access_typestring
Filters by the access type of the emission factors. Allowed values are public, private, and premium
pageinteger
Which page of results to retrieve. Default Value: 1
results_per_pageinteger
How many results to return per page. Max is 500. Default Value: 20
curl --request GET \
  --url 'https://beta4.api.earthemission.io/search?query=light+duty+trucks&data_version=^6&year=2021&results_per_page=1' \
  --header 'Authorization: Bearer API_KEY' \

Response The response includes a paginated list of emission factors filtered by the request parameters above.

Attribute
resultsA list of emission factors for this page. See below.
current_pageThe current page you have retrieved
last_pageThe last page that there are results for.
total_resultsHow many results there are in total across all pages.
possible_filtersA list of potential filters you can use to further narrow down your query. See below.

results

Every emission factor returned in the list of results is formed by the following properties:

AttributeDescription
idThe unique ID describing this particular emission factor.
activity_idThe ID describing the activity that this emission factor applies to.
access_typeWhether the data is publicly available or private to your project. Can be private or public.
nameEmission factor name.
categoryEmission factor category.
sectorEmission factor sector.
sourceEmission factor publisher.
source_linkLink to emission factor publisher.
uncertaintyEmission factor uncertainty factor (%).
yearThe year in which the emission factor is considered most relevant, according to the source.
year_releasedThe year in which the emission factor was released by the source.
regionGeographic region to which the emission factor applies (UN/LOCODE).
region_nameGeographic region to which the emission factor applies (in English).
descriptionEmission factor description.
unit_typeA list of unit types that this emission factor accepts.
unitThe unit in which the factor field is expressed.
source_lca_activityWhich LCA activity the emission factor corresponds to.
supported_calculation_methodsThe methods of CO2e calculation supported for this emission factor.
factorCO2e emission factor value, expressed in kgCO2e emitted per unit of activity.
factor_calculation_methodIndicates which conversion values were used (IPCC 4th, 5th, or 6th Assessment Report).
factor_calculation_originIndicates whether the CO2e emission factor provided in this response was provided by the source or calculated by earthemission.
constituent_gasesIndicates which gases the CO2e emission factor is composed of.
{
    "current_page": 1,
    "last_page": 3,
    "total_results": 3,
    "results": [
        {
            "activity_id": "fuel-type_diesel-fuel_use_diesel_light_duty_trucks",
            "id": "cc614c7b-01cd-491b-b12a-2b468c31657d",
            "name": "Diesel fuel - diesel light-duty trucks",
            "category": "Fuel",
            "sector": "Energy",
            "source": "GHG Protocol",
            "source_link": "https://ghgprotocol.org/ghg-emissions-calculation-tool",
            "source_dataset": "GHG Emissions Calculation Tool",
            "uncertainty": null,
            "year": 2021,
            "year_released": 2021,
            "region": "US",
            "region_name": "United States",
            "description": "Emission intensity of mobile combustion of fuel. 
                            Includes fuel consumption by vehicles that are owned
                            or leased by the company. The primary source is EPA 
                            Emission Factors for Greenhouse Gas Inventories - 
                            March 9 2018 - WRI - GHG Protocol - Emission Factors 
                            from Cross-Sector Tools - April 2014. NOTE: This 
                            dataset has been deprecated by the source and will
                            be removed soon.",
            "unit_type": "Volume",
            "unit": "kg/gal (US)",
            "source_lca_activity": "fuel_combustion",
            "data_quality_flags": [
                "notable_methodological_variance"
            ],
            "access_type": "public",
            "supported_calculation_methods": [
                "ar4",
                "ar5",
                "ar6"
            ],
            "factor": 10.22,
            "factor_calculation_method": "ar5",
            "factor_calculation_origin": "source",
            "constituent_gases": {
                "co2e_total": 10.22,
                "co2e_other": null,
                "co2": 10.21,
                "ch4": 0.0000162,
                "n2o": 0.0000243
            }
        }
    ],
    "possible_filters": {
        "year": [
            2021
        ],
        "source": [
            {
                "source": "EPA",
                "datasets": [
                    "GHG Emission Factors Hub"
                ]
            },
            {
                "source": "GHG Protocol",
                "datasets": [
                    "GHG Emissions Calculation Tool"
                ]
            }
        ],
        "region": [
            {
                "id": "US",
                "name": "United States"
            }
        ],
        "category": [
            "Fuel",
            "Vehicles"
        ],
        "sector": [
            "Energy",
            "Transport"
        ],
        "unit_type": [
            "Distance",
            "Volume"
        ],
        "source_lca_activity": [
            "fuel_combustion",
            "use_phase"
        ],
        "access_type": [
            "public"
        ],
        "data_quality_flags": [
            "notable_methodological_variance"
        ]
    }
}

possible_filters

The field possible_filters includes aggregated metadata about the results of your search request, to help you to choose further filters which would narrow down your results.

Most of the fields (year, category, sector, unit_type, source_lca_activity, access_type) contain a list enumerating each of the values present for the given field in the response. The values can be used verbatim in those fields of the search request to narrow down the results. If there is only one value, all results have the same value for this field.

The values of region contain a JSON object, the id field is the ISO 3166-1 alpha-2 code for the country and can be used as the value for further filtering, the name is provided for the convenience of interactive apps to show the full name of the country.

The source contain a JSON object, the source field inside it is the source name, corresponding to the source for an emission factor. The datasets field is what datasets that belong to this particular source, is a valid source_dataset filter for this query.

data_quality_flags is named differently from its search request parameter equivalent allowed_data_quality_flags as it can't be used in the same way as the other filters.

  • Each emission factor can have multiple, or (usually) no data quality flags, so each of your results may have the same 2 flags, then if you select only one of them you would have no more results.
  • When a search doesn't specify an allowed_data_quality_flags list, we allow some flags by default. See here for more information about data quality. Also see the documentation for the search request above for how to use allowed_data_quality_flags while searching. If you're curious about how to use possible_filters to narrow down your searches, the search refinement how-to has you covered.

Constituent Gases The constituent gases model explains which constituent gases the source of the data considers to be part of their calculations. These values might be null for one of several reasons:

  • The source does not provide data at the constituent gas level.
  • The source is a premium dataset, and part of the commercial terms dictate we cannot reveal this number.
  • You do not have a commercial agreement with earthemission to view this data.

The constituent gases also depend on the calculation methodology chosen, displayed as factor_calculation_method in the search results. If you filter on different calculation methodologies, you might see different constituent gas values. Learn more about calculation methods and constituent gases here

AttributeDescription
co2e_totalThe total amount of GHG emitted per unit of activity expressed as kgCO2e, as reported by the source.
co2e_otherThe total amount of GHG emitted that are not CO2, CH4, or N20 - expressed in kgCO2e emitted per unit of activity.
co2The amount of carbon dioxide (CO2) emitted per unit of activity expressed as kgCO2, as reported by the source.
ch4The amount of methane (CH4) emitted per unit of activity expressed as kgCH4, as reported by the source.
n2oThe amount of nitrous oxide (N2O) emitted per unit of activity expressed as kgN2O, as reported by the source.
Was this helpful?
Docs
Copyright © earthemission.com. All rights reserved.