{"uid":"cap_mVcSc2zO4HvRoH3pjck4p","slug":"agent-utils-x402-us-weather-lookup-4f569eb7","name":"agent-utils-x402 US Weather Lookup","description":"Small pay-per-call utility APIs for AI agents. Pay per request in USDC on Base via x402 (v2, exact scheme). No accounts, no API keys.","url":"https://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/weather/us?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["lat","lon"],"properties":{"lat":{"type":"number"},"lon":{"type":"number"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"location":{"city":"Roseburg","state":"OR"},"activeAlerts":[],"latestObservation":{"text":"Cloudy","tempF":54.1}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uvN_DW9Tz5JpyGXpyZVtg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current weather conditions and active alerts for a US location given latitude and longitude coordinates.","exampleAgentPrompt":"What's the current weather at latitude 43.22 and longitude -123.36? I need the temperature and whether there are any active alerts.","exampleUseCases":[{"title":"Real-time field conditions check","prompt":"I'm at coordinates 40.71 latitude and -74.01 longitude — what's the current temperature and weather like right now, and are there any active weather alerts?"},{"title":"Smart home weather-triggered automation","prompt":"Before running my outdoor irrigation schedule, check the current weather at lat 37.77, lon -122.42 and tell me if it's raining or if there are any weather alerts active."},{"title":"Agent trip planning weather briefing","prompt":"What are the current weather conditions at latitude 47.61, longitude -122.33? I want to know the temperature and if anything unusual is happening weather-wise before I head out."}],"resultDescription":"A JSON object containing the city and state of the resolved location, an array of active weather alerts (empty if none), and the latest observation including a text description (e.g. 'Cloudy') and temperature in Fahrenheit.","failureModes":["Coordinates outside the United States return no data or an error (endpoint is US-only)","Invalid or missing lat/lon query parameters return a 400-level error","x402 payment failure or insufficient USDC balance prevents the request from completing","NWS data unavailability or outage may cause empty or error responses","Coordinates in remote US areas may lack nearby observation stations"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-call current US weather conditions without setting up accounts or API keys. Ideal for AI agents that need occasional weather lookups billed in USDC on Base via x402. Best for US-only use cases; not suitable for international weather or historical data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:39:39.351Z","isFirstParty":false,"canonicalSlug":"agent-utils-x402-us-weather-lookup-4f569eb7"}