x402AgentTools

🌤️Weather in Madrid

Current weather in Madrid — temperature, conditions, humidity and wind, plus a 3-day forecast. Live from Open-Meteo, cached 30 minutes, with a paid JSON API for agents.

Key facts

Humidity51%
Wind4.3 km/h
Coordinates40.4165, -3.70256

Data

DayMin–MaxConditions
2026-09-3019.3–27.6 °COvercast
2026-10-0117.7–26.8 °CRain showers
2026-10-0216.3–20.4 °CThunderstorm

Machine API (x402)

$0.002 / call

The same query is available to AI agents as a paid JSON endpoint — pre-configured for this subject:

GET /api/v1/live/weather?city=Madrid HTTP/1.1
Host: agenttools-hub.vercel.app

→ 402 (x402 payment required)
→ 200 {"tool": "live/weather", "result": { "value": 21.8, "answer": "21.8 °C — Partly cloudy" }}

/llms.txt · OpenAPI · agent guide

Frequently asked questions

Humidity — Weather in Madrid?

Weather in Madrid: Humidity — 51%.

Wind — Weather in Madrid?

Weather in Madrid: Wind — 4.3 km/h.

Coordinates — Weather in Madrid?

Weather in Madrid: Coordinates — 40.4165, -3.70256.

How accurate is the forecast?

Open-Meteo blends national weather models (ICON, GFS, ECMWF…); day-one forecasts are typically within 1–2 °C. Temperature is in Celsius by default.

How fresh is the data?

Model runs update every 1–6 hours; responses are cached 30 minutes. The weather code follows the WMO standard (0 = clear sky, 61 = rain…).

Weather in RotterdamWeather in SantiagoWeather in FlorenceWeather in TorontoWeather in Los AngelesWeather in Antwerp🌤️ All weather (live) options