AgentAPIGate
Back to Catalog
GET /v1/weather/openmeteo/historical_dailyPack: local·MCP Tool: weather_openmeteo_historical_daily

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.

API Key Price:$0.0020 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
WGS84 latitude (-90 to 90, e.g. 40.71)
WGS84 longitude (-180 to 180, e.g. -74.01)
Start date in YYYY-MM-DD format (e.g. "2026-11-01")
End date in YYYY-MM-DD format (e.g. "2026-11-15")
Comma-separated ERA5 daily variables (default "temperature_2m_max,temperature_2m_min,precipitation_sum")
IANA timezone or "UTC" (default "UTC")
Get $0.25 Free Key →
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"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-70% tokens
# 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
ParameterTypeReqSample / DefaultDescription
latitudenumberrequired40.71WGS84 latitude (-90 to 90, e.g. 40.71)
longitudenumberrequired-74.01WGS84 longitude (-180 to 180, e.g. -74.01)
start_datestringrequired2026-11-01Start date in YYYY-MM-DD format (e.g. "2026-11-01")
end_datestringrequired2026-11-15End date in YYYY-MM-DD format (e.g. "2026-11-15")
dailystringoptionaltemperature_2m_max,temperature_2m_min,precipitation_sumComma-separated ERA5 daily variables (default "temperature_2m_max,temperature_2m_min,precipitation_sum")
timezonestringoptionalUTCIANA timezone or "UTC" (default "UTC")
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0020 / call$0/mo · Balance never expires
Remote MCP Toolweather_openmeteo_historical_dailyOAuth 2.1 Hub & /mcp/local
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency1489 ms$0 billed on empty or 4xx/5xx
Token Economy474t → 142t (-70%)Partner credit: eligible
Data AttributionSource: 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.