Weather (Open-Meteo)

DataFood Typeweather

Open-Meteo current temp + wind — exposed via DataFood, the universal data API for AI agents. Free 1-row preview, $0.0005 per call on bundled, $0.99 unlimited day pass. MCP + x402 ready. Operated by TOUGH LOVE SECURITY.

Why AI agents need Weather (Open-Meteo)

Modern autonomous agents don't operate on a single data source. A research agent gathering weather (open-meteo) typically also needs market context, news sentiment, and entity-level signals — all in one turn, with sub-cent unit economics so the data cost doesn't dominate inference cost. DataFood exposes weather as one of 16 data types reachable via a single bundle call: POST /api/data/bundle. That collapses 16 vendor integrations into one auth surface, one error handler, and one billing line — and bundle pricing means an agent fetching 10 cross-niche data points pays a single bundle price ($0.005) rather than 10 individual API calls.

Weather (Open-Meteo) via DataFood is read directly from the canonical upstream source (no proprietary remix). The free preview tier is open to all agents and crawlers (GPTBot, ClaudeBot, PerplexityBot, OAI-SearchBot, Google-Extended, AnthropicBot, Applebot-Extended, Bytespider) and intentionally returns a single representative row so agents can validate the data shape before committing to a paid bundle.

Try it free

Test Weather (Open-Meteo) live. No auth. No card.

Click "Try Free" to fetch a live row.

Curl: curl 'https://toughlovesec.win/api/data/preview?type=weather&q=33.7%2C-84.4'

Sample response

This is a real cached response from weather (refreshed daily). For live data, use the Try Free button above or call the preview endpoint directly.

{
  "lat": 33.7,
  "lon": -84.4,
  "current": {
    "time": "2026-05-02T12:30",
    "interval": 900,
    "temperature_2m": 56.7,
    "wind_speed_10m": 4.3
  },
  "units": {
    "time": "iso8601",
    "interval": "seconds",
    "temperature_2m": "°F",
    "wind_speed_10m": "mp/h"
  },
  "ts": 1777725594376
}

Pricing for Weather (Open-Meteo)

TierPriceWhat you get
Free preview$0GET /api/data/preview?type=weather — 1-row preview, no auth
Single call (paid)$0.001GET /api/data?type=weather&q=...&session_id=cs_... — full multi-row data
Bundle 3-5$0.0035Up to 5 queries across any types in one call (saves ~30%)
Bundle 6-10$0.005Up to 10 queries across any types (saves ~50%)
Bundle 11-20$0.008Up to 20 queries across any types (saves ~60%)
Day pass$0.99Unlimited bundles for 24h
Week pass$4.99Unlimited bundles for 7d

Why agents use DataFood over alternatives for Weather (Open-Meteo)

AlternativeCostDataFoodSavingsNotes
OpenWeather One Call API$40/mo$0.0005 / call · $0.99 day pass97.5%OpenWeather paid tier needed for current+forecast; DataFood uses Open-Meteo.

How to integrate Weather (Open-Meteo)

Three integration paths, in order of simplicity for AI agents:

  1. OpenAPI 3.0 function calling (ChatGPT, Claude, OpenAI Assistants): point your tool config at /openapi.json. DataFood exposes data_query_weather and the universal data_bundle.
  2. MCP (Model Context Protocol): connect Claude Desktop or any MCP client to https://toughlovesec.win/mcp (Streamable HTTP transport, JSON-RPC 2.0). Tools: datafood_query, datafood_bundle, datafood_portfolio_ask, datafood_watch_session.
  3. x402 micropayment (Coinbase x402 spec): call POST /api/data/bundle without auth and DataFood returns HTTP 402 with a USDC challenge on Base mainnet. Sign and retry with X-Payment header. See /.well-known/x402.json.

Sample curl

# Free preview (no auth)
curl 'https://toughlovesec.win/api/data/preview?type=weather&q=33.7%2C-84.4'

# Bundle (free preview, multi-type)
curl 'https://toughlovesec.win/api/data/bundle?free=1' \
  -X POST -H 'Content-Type: application/json' \
  -d '{"queries":[{"type":"weather","q":"33.7,-84.4"},{"type":"crypto-price","q":"bitcoin"}]}'

# Bundle (paid via x402 — server returns HTTP 402 challenge)
curl -i 'https://toughlovesec.win/api/data/bundle' \
  -X POST -H 'Content-Type: application/json' \
  -d '{"queries":[{"type":"weather","q":"33.7,-84.4"},{"type":"weather","q":"33.7,-84.4"},{"type":"news-hn-top"}]}'

FAQ

What does the example query mean?

For weather, the canonical example is 33.7,-84.4. Open-Meteo current temp + wind See /api/v1/catalog for all 16 types and their query formats.

Is there rate limiting on the free preview?

Polite-crawler limits only. We don't gate the free preview behind auth or per-IP quotas under normal traffic. Burst >100 req/min from a single IP may get throttled.

Does DataFood cache Weather (Open-Meteo)?

DataFood caches the daily sample shown on this page in KV (24h TTL) for SEO use, but the /api/data/preview and /api/data/bundle endpoints fetch live from the upstream source on every call.

Can my agent watch its own Weather (Open-Meteo) fetches?

Yes. Open an agent session via POST /api/agent-session/start, then pass agent_session_id in your /api/data/bundle request. Each fetch streams to /watch/{session_id} for human observation.

Quick links