Carbon Footprint API
No 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.
Example request
curl -X POST https://radarbg.com/v1/carbon-footprint-api \
-H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"mode": "calculate", "activities": [{"type": "flight", "from": "LHR", "to": "JFK", "cabin": "economy", "roundTrip": true}, {"type": "car", "distance": 120, "unit": "km", "size": "medium", "fuel": "petrol"}, {"type": "electricity", "kwh": 1000}, {"type": "hotel", "country": "DE", "nights": 3}], "year": "latest", "includeTotal": false}'
Answer: {"ok": true, "count": N, "items": [...], "usage": {...}}. Failed calls are not counted.
Inputs
| Field | Type | Description |
|---|---|---|
mode | string | 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, |
activities | array | 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 |
query | string | For mode=search: words that must all appear in the factor path, e.g. 'diesel litres', 'hotel japan', 'refrigerant R410A', 'waste landfill'. |
scope | string | For mode=search: only factors of this GHG Protocol scope. Empty = all scopes. |
year | string | Which official DESNZ factor set to use. latest = the newest published set (2026). Use an older year to match last year's report. |
includeTotal | boolean | For mode=calculate with 2+ activities: add one extra row with the total kgCO2e and the Scope 1/2/3 split of all activities. |
limit | integer | For mode=search: maximum number of factors returned. |
onlyNew | boolean | Monitor mode: return only activities/factors whose result is new or changed since the last run with the same Monitor ID (for example when DESNZ publishes a new factor set each June). |
monitorId | string | Name of the saved state used by 'Only new or changed results'. Use one ID per scheduled report. |
Price
Included in every plan: 100 calls a month free, then from €9 a month for 3,000 calls across all APIs.