x402AgentTools

🌤️Weather in Casablanca

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

Humidity92%
Wind1.8 km/h
Coordinates33.58831, -7.61138

Data

DayMin–MaxConditions
2026-10-1219.7–24.4 °COvercast
2026-10-1318.9–24.6 °CPartly cloudy
2026-10-1417.8–27.8 °CMainly clear

Machine API (x402)

$0.005 / 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=Casablanca HTTP/1.1
Host: localhost:3000

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

/llms.txt · OpenAPI · agent guide

Frequently asked questions

Humidity — Weather in Casablanca?

Weather in Casablanca: Humidity — 92%.

Wind — Weather in Casablanca?

Weather in Casablanca: Wind — 1.8 km/h.

Coordinates — Weather in Casablanca?

Weather in Casablanca: Coordinates — 33.58831, -7.61138.

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