🌤️Weather in Shanghai
Current weather in Shanghai — 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
Humidity77%
Wind7.4 km/h
Coordinates31.22222, 121.45806
Data
| Day | Min–Max | Conditions |
|---|---|---|
| 2026-10-12 | 18.7–25.8 °C | Overcast |
| 2026-10-13 | 19.1–26 °C | Overcast |
| 2026-10-14 | 17.4–24 °C | Overcast |
Machine API (x402)
$0.005 / callThe same query is available to AI agents as a paid JSON endpoint — pre-configured for this subject:
GET /api/v1/live/weather?city=Shanghai HTTP/1.1
Host: localhost:3000
→ 402 (x402 payment required)
→ 200 {"tool": "live/weather", "result": { "value": 21, "answer": "21 °C — Clear sky" }}Frequently asked questions
Humidity — Weather in Shanghai?
Weather in Shanghai: Humidity — 77%.
Wind — Weather in Shanghai?
Weather in Shanghai: Wind — 7.4 km/h.
Coordinates — Weather in Shanghai?
Weather in Shanghai: Coordinates — 31.22222, 121.45806.
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…).