API for AI

Climate data API for agents and applications

Simple, stable, self-descriptive JSON endpoints for CO2, temperature and emissions data.

Current CO2

Latest atmospheric CO2 concentration in ppm.

/api/co2/current

CO2 trend

CO2 trend metadata and historical yearly series.

/api/co2/trend

Current temperature anomaly

Latest global temperature anomaly.

/api/temperature/current

Temperature trend

Temperature anomaly trend metadata and historical series.

/api/temperature/trend

Global emissions

Latest global territorial CO2 emissions and top countries.

/api/emissions/global

Question answer

Simple question-to-answer endpoint for climate agents.

/api/answer?question=what%20is%20co2%20today

Tool manifest

Tool-ready endpoint definitions for agents.

/api/ai-tools

Response shape

Every primary endpoint returns a direct answer first, then context and optional history for charts or downstream analysis.

{
  "metric": "co2",
  "value": 426.25,
  "unit": "ppm",
  "date": "2026-09-10",
  "description": "Atmospheric CO2 concentration measured at Mauna Loa.",
  "source": "NOAA Global Monitoring Laboratory (Mauna Loa)",
  "last_updated": "2026-09-10",
  "trend": {
    "direction": "increasing",
    "rate_per_year": 2.4
  }
}

Tool-ready manifest

Agents can discover available tools from /api/ai-tools.

[
  {
    "name": "get_current_co2",
    "description": "Get the latest atmospheric CO2 level.",
    "endpoint": "/api/co2/current",
    "parameters": {}
  },
  {
    "name": "get_co2_trend",
    "description": "Get atmospheric CO2 trend and historical series.",
    "endpoint": "/api/co2/trend",
    "parameters": {}
  }
]

CO2

426.25 ppm

Atmospheric CO2 concentration measured at Mauna Loa.

Temperature

1.99 deg C

GISS Surface Temperature Analysis (GISTEMP) — global land monthly mean (NASA graph, rebased 1901-1930): global land annual anomaly vs. 1901-1930.

Emissions

37,405.4 MtCO2

Global territorial fossil CO2 emissions from country totals.