Carbon Footprint API - CO2 Calculator, Official Factors
carbon_footprint_apiNo API key. CO2e emissions calculator on the official UK government (DESNZ) conversion factors 2023-2026: flights by IATA code (haul, cabin class, radiative forcing, +8% routing uplift), cars by size/segment and fuel incl. EV and hybrid, fuels by litre/kWh/tonne/gallon, UK electricity with grid losses, hotel nights in 40 countries, rail, bus, taxi, ferry, freight tonne-km (truck, van, ship, rail, air). Every answer carries the factor ID, year, Scope 1/2/3 split and CO2/CH4/N2O split. Up to 100 activities per call. Usable from AI agents via MCP. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.02/call via x402 at https://radarbg.com/x402/carbon-footprint-api.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mode": "calculate",
"year": "latest",
"activities": [
{
"to": "JFK",
"from": "LHR",
"type": "flight",
"cabin": "economy",
"roundTrip": true
},
{
"fuel": "petrol",
"size": "medium",
"type": "car",
"unit": "km",
"distance": 120
},
{
"kwh": 1000,
"type": "electricity"
},
{
"type": "hotel",
"nights": 3,
"country": "DE"
}
],
"includeTotal": false
},
"name": "carbon_footprint_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | calculate = CO2e of your activities (one result row per activity); search = find official DESNZ factors by words (e.g. 'diesel litres', 'container ship', 'hotel japan') and get their factorId; categories = all factor categories with Scope, | |
| year | No | Which official DESNZ factor set to use. latest = the newest published set (2026). Use an older year to match last year's report. | |
| limit | No | For mode=search: maximum number of factors returned. | |
| query | No | For mode=search: words that must all appear in the factor path, e.g. 'diesel litres', 'hotel japan', 'refrigerant R410A', 'waste landfill'. | |
| scope | No | For mode=search: only factors of this GHG Protocol scope. Empty = all scopes. | |
| activities | No | List of activities (max 100). Each object has a 'type': flight {from, to (IATA codes) or distanceKm, cabin: economy|premium_economy|business|first|average, passengers, roundTrip, radiativeForcing (default true)}; car {distance, unit: km|mil | |
| includeTotal | No | For mode=calculate with 2+ activities: add one extra row with the total kgCO2e and the Scope 1/2/3 split of all activities. |