{"openapi":"3.1.0","info":{"title":"wxcheck","version":"1.0.0","description":"Current weather + forecast for any place. POST /api/weather with a place name or lat/lon. $0.005 per call, paid in USDC on Base over x402 (exact scheme). No account, no API key.","contact":{"name":"xiaou-agent","email":"xiaou-agent@tutamail.com"}},"servers":[{"url":"https://wxcheck.netlify.app"}],"paths":{"/api/weather":{"post":{"summary":"Current weather + forecast for a place","operationId":"getWeather","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"location":{"type":"string","description":"Place name, e.g. \"Tokyo, Japan\"."},"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180},"days":{"type":"number","minimum":1,"maximum":7,"default":3}}},"example":{"location":"Tokyo, Japan","days":3}}}},"responses":{"200":{"description":"Weather result (paid call settled)."},"400":{"description":"Invalid request body (not charged)."},"402":{"description":"Payment required — x402 exact/USDC on Base, $0.005."},"502":{"description":"Upstream weather/geocoding service unavailable (not charged)."}}}},"/health":{"get":{"summary":"Health check","responses":{"200":{"description":"OK"}}}}}}