{"uid":"cap_LCsSEg8eVTKASTGEq4Tow","slug":"agent-data-api-live-weather-8f3031cd","name":"Agent Data API – Live Weather","description":"Pay-per-call data services for AI agents: web extraction (text, Markdown, metadata), PDF-to-text, RSS/Atom parsing, FX and crypto prices, weather, DNS and email validation. All paid endpoints use the x402 payment protocol (USDC).","url":"https://agent-data-api-ui1c.onrender.com/live/weather","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"lat":{"type":"string","description":"Latitude"},"lon":{"type":"string","description":"Longitude"},"city":{"type":"string","description":"City name (alternative to lat/lon)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6SYW_lZ_EW4Y0_w6DZr1N","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 for a given location (by coordinates or city name), paid per-call via x402/USDC.","exampleAgentPrompt":"What's the current weather in Tokyo right now? Just give me the live conditions — temperature, description, that sort of thing.","exampleUseCases":[{"title":"Travel planning weather check","prompt":"Before I head out, can you pull the current weather for New York City so I know what to expect?"},{"title":"Coordinates-based field agent briefing","prompt":"Fetch me the live weather at latitude 48.8566 and longitude 2.3522 — I need current conditions for that location."},{"title":"Automated weather enrichment for logistics","prompt":"What's the current weather in Berlin? I need real-time conditions to decide if today's outdoor delivery schedule needs adjustment."}],"resultDescription":"Returns current weather data for the requested location, including temperature, weather description/conditions, and associated location metadata. Response is delivered as structured JSON and billed at $0.005 USDC per call via the x402 payment protocol.","failureModes":["Missing or invalid location parameters (no lat/lon and no city provided) — likely returns 400 or error JSON","Unrecognized city name — may return an empty result or error","Payment failure or insufficient USDC balance — x402 payment protocol rejects the call","Upstream weather data source unavailable — may return 503 or timeout","Rate limiting or server-side overload on the Render-hosted instance — may return 429 or 503"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-call weather lookup without subscription overhead, particularly inside an AI agent pipeline that already supports x402/USDC micropayments. It is well-suited for one-off or low-frequency queries by coordinates or city name. Prefer alternatives if you need forecasts (multi-day), historical data, or high-volume weather polling.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:42.423Z","isFirstParty":false}