# wxcheck > Current weather + forecast for any place. $0.005 per call, paid in USDC on Base via x402 (exact scheme). No account, no API key. ## How to call POST https://wxcheck.netlify.app/api/weather Content-Type: application/json ```json { "location": "Tokyo, Japan", "days": 3 } ``` Or send coordinates instead of a place name: `{ "latitude": 35.68, "longitude": 139.69 }`. Optional `days` (1-7, default 3) controls the forecast length. - Unpaid requests get HTTP 402 with the x402 payment challenge; sign the USDC authorization and retry with the X-PAYMENT header. - Response: place (name, country, coordinates), current conditions (temperature, feels-like, humidity, precipitation, weather code + description, wind), and a daily forecast. - If the place name matches nothing, the response is `{found:false}` — a legitimate answer, not an error. - Invalid bodies return 400 before any payment. If an upstream service is down the call returns 502 and is NOT charged. ## Discovery - Machine-readable manifest: https://wxcheck.netlify.app/.well-known/x402 - OpenAPI: https://wxcheck.netlify.app/openapi.json - Health: https://wxcheck.netlify.app/health