Current weather + forecast for any place. Built for AI agents.
$0.005 per call, paid in USDC on Base via x402. No account, no API key.
POST /api/weather
Content-Type: application/json
{ "location": "Tokyo, Japan", "days": 3 }
Or send coordinates: { "latitude": 35.68, "longitude": 139.69 }.
Optional days (1–7, default 3).
Unpaid requests get HTTP 402 with the x402 payment challenge. Sign the USDC
authorization and retry with the X-PAYMENT header.
Place (name, country, coordinates), current conditions (temperature, feels-like, humidity, precipitation, weather code + description, wind), and a daily forecast. Data: Open-Meteo + Nominatim.