← Agent Data Hub · Search endpoints · /llms.txt

Climate Normals 1991-2020: Average Temperature and Precipitation by Month for Countries and Weather Stations (Germany, USA)

Average monthly and annual temperature and precipitation (rainfall), the 30-year climate normal 1991-2020: for 232 countries the country mean of the World Bank Climate Change Knowledge Portal (CRU TS, CC BY 4.0); for weather stations in Germany the DWD multi-year means (CC BY 4.0); for weather stations in the United States the NOAA NCEI U.S. Climate Normals (average high and low too, °F and inches as published). A city without an open station gets no value rather than the country mean.

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/climate-normals?country=ES&month=july&compact=1

Full metadata: verbose=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"climate-normals"}

How to fetch it

curl:

curl -s 'https://api.agentdatahub.de/api/v1/call/climate-normals?country=ES&month=july&compact=1'

Python (standard library only):

import json, urllib.request

url = "https://api.agentdatahub.de/api/v1/call/climate-normals?country=ES&month=july&compact=1"
with urllib.request.urlopen(url, timeout=30) as r:
    data = json.load(r)
print(json.dumps(data, indent=2)[:2000])

Google Sheets:

=IMPORTDATA("https://api.agentdatahub.de/api/v1/history/climate-normals?country=ES&month=july&_order=desc&_limit=500&format=csv")

The recorded history of this call as CSV, newest first. Excel: Data → From Web with the same address.

Parameters

countryISO-2 country code or English name, e.g. ES, Spain (country mean)
stationOr a weather station in Germany or the USA: id (DE-433, USW00094728) or name (Berlin-Tempelhof, Seattle)
monthOptional: january … december, 1-12 or year; without it all months
stateOptional: US state or German state to narrow a station name

Example response (live, compact)

{
  "apiId": "climate-normals",
  "trust": "checked",
  "data_freshness": "live",
  "data": {
    "period": "1991-2020",
    "as_of": "1991-2020",
    "checked": "2026-12-04",
    "month": "July",
    "key": "ES",
    "place": "Spain",
    "kind": "country",
    "country": "ES",
    "answer": "Spain in July, climate normal 1991-2020: mean temperature 23.01 °C, precipitation 17.85 mm (country mean, World Bank CCKP).",
    "values": {
      "temperature_c": 23.01,
      "precipitation_mm": 17.85
    },
    "method": "Area mean over the country of the CRU TS 4.08 0.5° grid, as published by the World Bank (not a single city).",
    "source": "World Bank Climate Change Knowledge Portal (CCKP), CRU TS 4.08 0.5° climatology 1991-2020, country mean",
    "licence": "CC BY 4.0 (World Bank)",
    "source_url": "https://climateknowledgeportal.worldbank.org/download-data",
    "page": "https://api.agentdatahub.de/climate-normals/ES/july",
    "all_months": "https://api.agentdatahub.de/api/v1/climate-normals/ES"
  },
  "source": "World Bank CCKP, Deutscher Wetterdienst, NOAA NCEI",
  "source_url": "https://climateknowledgeportal.worldbank.org/download-data",
  "license": "CC BY 4.0 (World Bank CCKP, DWD); CC0 1.0 / U.S. Government work (NOAA)",
  "licence_status": "green",
  "as_of": "2026-12-04",
  "as_of_basis": "fetched",
  "checked": "2026-12-04"
}

Recorded history available: /api/v1/history/climate-normals?country=ES&month=july

Source & license

SourceWorld Bank CCKP, Deutscher Wetterdienst, NOAA NCEI
LicenseCC BY 4.0 (World Bank CCKP, DWD); CC0 1.0 / U.S. Government work (NOAA)
Source URLhttps://climateknowledgeportal.worldbank.org/download-data
Termshttps://datacatalog.worldbank.org/search/dataset/0040276
CategoryGeodata, Weather & Environment › Climate · more: date-business-days · de-air-quality-uba · de-climate-history-dwd