Time series · national-fossil-co2

National fossil CO2 emissions

Annual fossil CO2 emissions for every country and the world from 1750, in total and by source (coal, oil, gas, cement, flaring, other carbonates), from the Global Carbon Project's fossil CO2 dataset in the Global Carbon Budget.

Updates
Yearly
Coverage
—
Current version
—
Last published
—
Validation
—
License
CC BY 4.0
Commercial use
Allowed

Chart

National fossil CO2 emissions

Loading the chart…
Source: Global Carbon Project (Robbie M. Andrew and Glen P. Peters, CICERO).
Show the data as a table

The table appears once the data has loaded.

Use the API

Each series and location is its own small file. The examples follow the series and location picked above. See the docs for versions, caching and errors.

curl

# One series for one place (.json or .csv)
curl -s "https://api.carbondata.dev/v1/national-fossil-co2/total/gcb-international-aviation.json"

# Every series and place in one file
curl -sO "https://api.carbondata.dev/v1/national-fossil-co2/download/national-fossil-co2.csv"

Python (polars)

import polars as pl

# One series for one place
df = pl.read_csv("https://api.carbondata.dev/v1/national-fossil-co2/total/gcb-international-aviation.csv")

# Every series and place, with series and location columns
everything = pl.read_parquet("https://api.carbondata.dev/v1/national-fossil-co2/download/national-fossil-co2.parquet")

JavaScript

const res = await fetch("https://api.carbondata.dev/v1/national-fossil-co2/total/gcb-international-aviation.json");
if (!res.ok) throw new Error((await res.json()).detail); // errors are problem+json
const { meta, data } = await res.json();
console.log(meta.location_name, data.at(-1)); // { date, value, ... }

Downloads

The whole dataset in one file, with series and location columns. Parquet keeps the column types and is much smaller.

Schema and series

Each series file has these columns. The bulk downloads add series and location columns in front.

Column Type Unit Can be empty Description
date year (YYYY) — no —
value number MtCO2 no Million tonnes of CO2

Series

Series id Name
total Total fossil CO2 emissions
coal Fossil CO2 emissions from coal
oil Fossil CO2 emissions from oil
gas Fossil CO2 emissions from gas
cement Fossil CO2 emissions from cement (process emissions)
flaring Fossil CO2 emissions from flaring (includes vented methane)
other Fossil CO2 emissions from other carbonates

Locations

Covers the world as a whole (id world); all 249 countries (ids: ISO 3166-1 alpha-3, lowercase (usa, twn)); 6 more named places.

Location id Name
gcb-international-aviation International aviation (bunker fuels)
gcb-international-shipping International shipping (bunker fuels)
gcb-kuwaiti-oil-fires Kuwaiti oil fires
gcb-kosovo Kosovo
gcb-pacific-islands-palau Pacific Islands (Palau)
gcb-ryukyu-islands Ryukyu Islands

Place names come from the shared location registry; see Sources.

Source and license

Source
The Global Carbon Project's fossil CO2 emissions dataset (Global Carbon Budget)
Publisher
Global Carbon Project (Robbie M. Andrew and Glen P. Peters, CICERO)
License
Creative Commons Attribution 4.0 (CC-BY-4.0)
Commercial use
Allowed

Credit the source with this exact text:

Andrew, R. M., & Peters, G. P. The Global Carbon Project's fossil CO2 emissions dataset [Dataset]. Zenodo. https://doi.org/10.5281/zenodo.5569234 (all releases; each published version names the release file it was built from, e.g. GCB2025v15_MtCO2_flat.csv, https://doi.org/10.5281/zenodo.17417124). Source: Global Carbon Budget, Global Carbon Project; citation: Friedlingstein et al 2020 (DOI: 10.5194/essd-12-3269-2020). Licensed under Creative Commons Attribution 4.0 International. Changes: reshaped to one series per source; locations mapped to ISO 3166 ids; per capita figures and empty cells left out.

Checked every 7 days. If the source hasn't changed in 400 days, the status page flags it as stale.

Endpoints

Every URL for this dataset. To pin the current version, put it after the id: /v1/national-fossil-co2@<version>. The API reference describes each response.

What URL
Metadata: version, coverage, downloads, validation /v1/national-fossil-co2
Versions and monthly snapshots /v1/national-fossil-co2/versions
Series and locations /v1/national-fossil-co2/locations
Total fossil CO2 emissions (JSON) /v1/national-fossil-co2/total/{location}.json
Total fossil CO2 emissions (CSV) /v1/national-fossil-co2/total/{location}.csv
Fossil CO2 emissions from coal (JSON) /v1/national-fossil-co2/coal/{location}.json
Fossil CO2 emissions from coal (CSV) /v1/national-fossil-co2/coal/{location}.csv
Fossil CO2 emissions from oil (JSON) /v1/national-fossil-co2/oil/{location}.json
Fossil CO2 emissions from oil (CSV) /v1/national-fossil-co2/oil/{location}.csv
Fossil CO2 emissions from gas (JSON) /v1/national-fossil-co2/gas/{location}.json
Fossil CO2 emissions from gas (CSV) /v1/national-fossil-co2/gas/{location}.csv
Fossil CO2 emissions from cement (process emissions) (JSON) /v1/national-fossil-co2/cement/{location}.json
Fossil CO2 emissions from cement (process emissions) (CSV) /v1/national-fossil-co2/cement/{location}.csv
Fossil CO2 emissions from flaring (includes vented methane) (JSON) /v1/national-fossil-co2/flaring/{location}.json
Fossil CO2 emissions from flaring (includes vented methane) (CSV) /v1/national-fossil-co2/flaring/{location}.csv
Fossil CO2 emissions from other carbonates (JSON) /v1/national-fossil-co2/other/{location}.json
Fossil CO2 emissions from other carbonates (CSV) /v1/national-fossil-co2/other/{location}.csv
Whole dataset (CSV) /v1/national-fossil-co2/download/national-fossil-co2.csv
Whole dataset (Parquet) /v1/national-fossil-co2/download/national-fossil-co2.parquet