x402AgentTools

🌤️Weather in Barcelona

Current weather in Barcelona — 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

Humidity86%
Wind4.3 km/h
Coordinates41.38879, 2.15899

Data

DayMin–MaxConditions
2026-09-3021.2–25.6 °CRain showers
2026-10-0121.7–23.9 °CRain showers
2026-10-0220.8–25.1 °CLight rain

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=Barcelona HTTP/1.1
Host: agenttools-hub.vercel.app

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

/llms.txt · OpenAPI · agent guide

Frequently asked questions

Humidity — Weather in Barcelona?

Weather in Barcelona: Humidity — 86%.

Wind — Weather in Barcelona?

Weather in Barcelona: Wind — 4.3 km/h.

Coordinates — Weather in Barcelona?

Weather in Barcelona: Coordinates — 41.38879, 2.15899.

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