About this endpoint
What it does
Calculate greenhouse gas emissions (CO2e) for business activities with the official UK DESNZ conversion factors. One endpoint has three modes, set with mode:
calculate(default): sendactivitiesand get one result row per activity.search: find official factors by words and get theirfactorId.categories: list every factor category with its scope and units.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| mode | String | No | calculate, search or categories. Default: calculate. |
| year | String | No | DESNZ factor set: latest, 2026, 2025, 2024 or 2023. Default: latest (currently 2026). |
| activities | Object Array | Yes, for calculate | Activities to calculate. Maximum 100 per call. Each object needs a type. See the activity types below. |
| includeTotal | Boolean | No | For calculate: add a final row with type: "total" that sums all activities by scope. Default: false. |
| query | String | Yes, for search | Words that must all appear in the factor path, e.g. diesel litres, hotel japan, refrigerant R410A, waste landfill. |
| scope | String | No | For search: only factors of this GHG Protocol scope, 1, 2 or 3. Empty = all scopes. |
| limit | Integer | No | For search: maximum factors returned. Default: 20. Range: 1 to 100. |
Activity types
Distances use distance with unit (km or miles, default km).
| type | Fields | Notes |
|---|---|---|
| flight | from, to (IATA airport codes) or distance / distanceKm; cabin (economy, premium_economy, business, first, average; default economy); passengers (default 1); roundTrip (default false); radiativeForcing (default true) | With airport codes, the great-circle distance gets the 8% uplift DESNZ recommends. Short-haul has no first or premium factor, so those cabins use the nearest DESNZ class. Scope 3. |
| car | distance, unit; size (small, medium, large, average); fuel (petrol, diesel, hybrid, phev, bev, cng, lpg, unknown); owned | Default: average size, unknown fuel, Scope 3 business travel. owned: true counts a company car as Scope 1 (fuel) and Scope 2 (charging). |
| fuel | fuel (e.g. diesel, petrol, natural gas, lpg, heating oil, coal, jet fuel); amount; unit (litres, kWh, kWh_net, tonnes, kg, m3, gallons) | Scope 1. |
| electricity | kwh | UK grid only (location-based). Adds transmission and distribution losses as Scope 3. For other grids, use type: "factor" with a supplier factor. Scope 2. |
| hotel | nights (default 1), rooms (default 1), country (default UK) | Countries without a DESNZ hotel factor return 400 with the list of supported countries. Scope 3. |
| rail | distance, unit; mode (national_rail, international_rail, tram, underground, bus, london_bus, coach); passengers | Default: national rail. Scope 3. |
| bus | distance, unit; mode (same values as rail) | Default: average local bus. Scope 3. |
| taxi, motorbike, ferry | distance, unit | Average DESNZ factor for each. Scope 3. |
| freight | distance, unit, weightTonnes; mode (hgv, hgv_refrigerated, van, rail, container_ship, bulk_carrier, general_cargo, reefer_ship, roro, tanker, air) | Default: average laden non-refrigerated HGV. Scope 3. |
| factor | factorId (from search), amount | Applies any official factor directly. Each search result includes a ready-made useWith object. |
Add includeWellToTank: true to an activity to add the upstream well-to-tank factor as Scope 3.
Invalid input returns 400 with an invalid_input error that names the activity and field, e.g. an unknown airport code, a negative distance, an unknown type or more than 100 activities.
Response
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| count | Integer | Yes | Number of rows in items. |
| items | Object Array | Yes | Result rows. The fields depend on mode, see below. |
calculate rows
| Field | Type | Description |
|---|---|---|
| index | Number | Position of the activity in your request. |
| type | String | Activity type. The total row has total. |
| description | String | Plain-language summary of what was calculated. |
| input | Object | The activity exactly as you sent it. |
| kgCO2e | Number | Emissions in kg CO2e. |
| tCO2e | Number | Emissions in tonnes CO2e. |
| kgCO2 | Number or null | CO2 part, in kg. |
| kgCH4asCO2e | Number or null | Methane part, in kg CO2e. |
| kgN2OasCO2e | Number or null | Nitrous oxide part, in kg CO2e. |
| byScope | Object | scope1, scope2 and scope3 in kg CO2e. |
| activityAmount | Number | Quantity the factor was applied to. |
| activityUnit | String | Unit of that quantity, e.g. passenger.km, kWh, room.night. |
| components | Object Array | Each factor applied: factorId, path, category, scope, factorUnit, kgCO2ePerUnit, quantity, kgCO2e. |
| includesWellToTank | Boolean | Whether well-to-tank emissions were added. |
| factorYear | Number | DESNZ factor set used. |
| notes | String Array | How the result was worked out, e.g. distance uplift or scope choice. |
| source | String | Name of the DESNZ publication. |
| sourceUrl | String | Link to the DESNZ conversion factors collection. |
| licence | String | Open Government Licence v3.0. |
| attribution | String | Attribution text required by the licence. |
| distanceKm | Number | Distance used, for distance-based types. |
| from, to | String | Flight airport codes. |
| greatCircleKm | Number | Flight great-circle distance before the uplift. |
| haul | String | DESNZ flight band, e.g. Long-haul, to/from UK. |
| cabin | String | DESNZ cabin class used. |
| passengers | Number | Flight passengers. |
| roundTrip | Boolean | Whether the flight was doubled for a return trip. |
| radiativeForcing | Boolean | Whether non-CO2 aviation effects are included. |
The total row (includeTotal: true) has type, description, kgCO2e, tCO2e, byScope, factorYear, errors and attribution.
search rows
| Field | Type | Description |
|---|---|---|
| factorId | String | ID to use with type: "factor". |
| path | String | Full DESNZ factor path. |
| category | String | Factor category. |
| scope | String | GHG Protocol scope. |
| unit | String | Unit the factor applies to. |
| kgCO2ePerUnit | Number | kg CO2e per unit. |
| kgCO2PerUnit, kgCH4asCO2ePerUnit, kgN2OasCO2ePerUnit | Number | Gas breakdown per unit. |
| factorYear | Number | DESNZ factor set. |
| useWith | Object | Ready-to-send activity, e.g. {"type": "factor", "factorId": "1_101_1011_8", "amount": 1}. |
| type, licence, attribution | String | factor, licence name and attribution text. |
categories rows
| Field | Type | Description |
|---|---|---|
| category | String | Category name, e.g. Fuels. |
| scope | String | GHG Protocol scope. |
| factors | Number | Number of factors in the category. |
| units | String Array | Units used by its factors. |
| examples | String Array | A few example factor names. |
| factorYear | Number | DESNZ factor set. |
| type | String | Always category. |
Factors: UK Department for Energy Security and Net Zero (DESNZ), Greenhouse gas reporting: conversion factors, licensed under the Open Government Licence v3.0.



