Open-Meteo ERA5 Historical Daily Climate Reanalysis
Query ERA5 historical daily temperature highs/lows, precipitation, and wind metrics for any global coordinate and date range since 1940.
curl -sG "https://api.agentapigate.ai/v1/weather/openmeteo/historical_daily" \ --data-urlencode "latitude=40.71" \ --data-urlencode "longitude=-74.01" \ --data-urlencode "start_date=2026-11-01" \ --data-urlencode "end_date=2026-11-15" \ --data-urlencode "daily=temperature_2m_max,temperature_2m_min,precipitation_sum" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# Open-Meteo ERA5 Historical Daily Climate Reanalysis (`weather.openmeteo.historical_daily`) **latitude**: 40.738136 · **longitude**: -74.04254 · **elevation**: 27 ## daily_units - **time**: iso8601 - **temperature_2m_max**: °C - **temperature_2m_min**: °C - **precipitation_sum**: mm ## daily - **time**: 2026-11-01, 2026-11-02, 2026-11-03, 2026-11-04, 2026-11-05, 2026-11-06 - **temperature_2m_max**: 16.1, 19.3, 21.1, 22.7, 22.7, 21.1 - **temperature_2m_min**: 4.4, 7, 8.5, 10.8, 15.7, 16.4 - **precipitation_sum**: 0, 0, 0, 0, 5.6, 15.2
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:weather.openmeteo.historical_daily · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| latitude | number | required | 40.71 | WGS84 latitude (-90 to 90, e.g. 40.71) |
| longitude | number | required | -74.01 | WGS84 longitude (-180 to 180, e.g. -74.01) |
| start_date | string | required | 2026-11-01 | Start date in YYYY-MM-DD format (e.g. "2026-11-01") |
| end_date | string | required | 2026-11-15 | End date in YYYY-MM-DD format (e.g. "2026-11-15") |
| daily | string | optional | temperature_2m_max,temperature_2m_min,precipitation_sum | Comma-separated ERA5 daily variables (default "temperature_2m_max,temperature_2m_min,precipitation_sum") |
| timezone | string | optional | UTC | IANA timezone or "UTC" (default "UTC") |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0020 / call | $0/mo · Balance never expires |
| Remote MCP Tool | weather_openmeteo_historical_daily | OAuth 2.1 Hub & /mcp/local |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 1489 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 474t → 142t (-70%) | Partner credit: eligible |
| Data Attribution | Source: Open-Meteo ERA5 Historical, Marine & Elevation API (open-meteo.com — CC BY 4.0) | |
More weather.openmeteo Sibling Endpoints
Frequently Asked Questions
How do I call Open-Meteo ERA5 Historical Daily Climate Reanalysis (weather.openmeteo.historical_daily) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/weather/openmeteo/historical_daily with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool weather_openmeteo_historical_daily on https://mcp.agentapigate.ai/mcp.
What does weather.openmeteo.historical_daily cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.002 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on weather.openmeteo.historical_daily?
Passing ?format=md transforms the response into normalized Markdown (~142 tokens vs ~474 raw tokens, saving 70% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only local endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["local"], optional allowed_endpoints: ["weather.openmeteo.historical_daily"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.