{"openapi":"3.1.0","info":{"title":"Global Weather","version":"1.0.0","x-guidance":"Every path is payable per request over HTTP 402 in USDG on eip155:4663. GET or POST without credentials to receive the challenge (WWW-Authenticate Payment header, plus the x402 payment-required header). Sign PermitWitnessTransferFrom for the advertised offer (spender is the canonical x402ExactPermit2Proxy) and retry with the payment-signature header. Buyers only need USDG: a one-time sponsored Permit2 approval is available at POST /api/gas/sponsor {\"address\"}."},"x-service-info":{"description":"Worldwide weather for agents: forecasts, current conditions, air quality, and place-name geocoding. Powered by Open-Meteo models, machine-payable per request."},"paths":{"/air-quality":{"get":{"summary":"Pollutants and AQI for any coordinate: PM2.5, PM10, ozone, NO2, and european_aqi/us_aqi. Pass ?latitude=52.5&longitude=13.4&current=pm2_5,us_aqi.","responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"mpp":{"method":"evm","intent":"charge","currency":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168"}},{"x402":{}}],"amount":"5000","currency":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168","description":"Global Weather: Air quality","intent":"charge","method":"evm","recipient":"0xbB818E97E2260904B1D502E154488392ba2Ab5C9","scheme":"exact","network":"eip155:4663","extra":{"assetTransferMethod":"permit2","spender":"0x402085c248EeA27D92E8b30b2C58ed07f9E20001","name":"USDG"}}}},"/forecast":{"get":{"summary":"Current conditions and up to 16-day forecasts for any coordinate. Pass ?latitude=52.5&longitude=13.4 plus variables like &current=temperature_2m,wind_speed_10m or &daily=temperature_2m_max,precipitation_sum.","responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"mpp":{"method":"evm","intent":"charge","currency":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168"}},{"x402":{}}],"amount":"5000","currency":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168","description":"Global Weather: Weather forecast","intent":"charge","method":"evm","recipient":"0xbB818E97E2260904B1D502E154488392ba2Ab5C9","scheme":"exact","network":"eip155:4663","extra":{"assetTransferMethod":"permit2","spender":"0x402085c248EeA27D92E8b30b2C58ed07f9E20001","name":"USDG"}}}},"/geocode":{"get":{"summary":"Resolve a city or place name to coordinates, country, population, and timezone. Pass ?name=Berlin&count=5. Use the returned latitude/longitude with the forecast endpoint.","responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"mpp":{"method":"evm","intent":"charge","currency":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168"}},{"x402":{}}],"amount":"5000","currency":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168","description":"Global Weather: Geocode a place name","intent":"charge","method":"evm","recipient":"0xbB818E97E2260904B1D502E154488392ba2Ab5C9","scheme":"exact","network":"eip155:4663","extra":{"assetTransferMethod":"permit2","spender":"0x402085c248EeA27D92E8b30b2C58ed07f9E20001","name":"USDG"}}}}}}