{"openapi":"3.1.0","info":{"title":"ArgonautWorks US Weather API","version":"0.1.0","description":"A compact authoritative U.S. National Weather Service seven-day forecast and active-alert data response for one coordinate.","license":{"name":"MIT","identifier":"MIT"},"contact":{"name":"ArgonautWorks","url":"https://github.com/ArgonautWorks/us-weather-api"},"x-guidance":"Weather data only. Do not infer or provide safety, travel, medical, or other recommendations."},"servers":[{"url":"https://argonaut-us-weather-api.vercel.app"}],"paths":{"/api/v1/forecast":{"get":{"operationId":"getUsNwsForecast","summary":"Get a compact U.S. NWS seven-day forecast and active alerts","tags":["Weather"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0012"},"protocols":[{"x402":{}}]},"parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","minimum":-90,"maximum":90},"example":38.8895},{"name":"lon","in":"query","required":true,"schema":{"type":"number","minimum":-180,"maximum":180},"example":-77.0353}],"responses":{"200":{"description":"NWS normalized weather data"},"400":{"description":"Invalid coordinates; no charge"},"402":{"description":"x402 Base-USDC payment challenge"},"422":{"description":"Coordinates are not covered by NWS; no charge"},"429":{"description":"Request rate limit"},"502":{"description":"NWS or facilitator unavailable; no charge when detected before settlement"}}},"post":{"operationId":"postUsNwsForecast","summary":"Relay compact U.S. NWS weather data from a JSON coordinate body","tags":["Weather"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0012"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provide both coordinates, or use an empty object for the documented Washington, D.C. default.","oneOf":[{"maxProperties":0},{"required":["lat","lon"]}],"properties":{"lat":{"oneOf":[{"type":"string"},{"type":"number"}],"example":38.8895},"lon":{"oneOf":[{"type":"string"},{"type":"number"}],"example":-77.0353}},"additionalProperties":false},"example":{"lat":38.8895,"lon":-77.0353}}}},"responses":{"200":{"description":"NWS normalized weather data"},"400":{"description":"Invalid coordinates or JSON; no charge"},"402":{"description":"x402 Base-USDC payment challenge"},"422":{"description":"Coordinates are not covered by NWS; no charge"},"429":{"description":"Request rate limit"},"502":{"description":"NWS or facilitator unavailable; no charge when detected before settlement"}}}},"/a2a":{"post":{"operationId":"sendWeatherDiscoveryA2aMessage","summary":"Return purchase guidance without payment or weather retrieval","security":[],"responses":{"200":{"description":"Free discovery response"}}}}}}