{"uid":"cap__LZVNyCgHnNMucUtS4RJ4","slug":"x402-apis-weather-data-pay-per-request-491e0591","name":"x402 APIs - Weather Data (Pay-Per-Request)","description":"AI-agent-friendly APIs with instant micropayments via x402 protocol. No API keys, no accounts - just pay and access.","url":"https://x402-apis-eta.vercel.app/api/data/weather","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"lat":{"type":"string","description":"Latitude (optional)"},"lon":{"type":"string","description":"Longitude (optional)"},"city":{"type":"string","description":"City name"}}},"responseSchema":null,"example":{"request":{"city":"London"},"response":{"current":{"condition":"Overcast","feels_like_c":14,"weather_code":3,"temperature_c":15.6,"wind_speed_kmh":18.4,"humidity_percent":86,"precipitation_mm":0,"wind_direction_deg":265},"location":"London, United Kingdom","timezone":"Europe/London","fetched_at":"2026-06-12T04:58:18.845Z","coordinates":{"lat":51.50853,"lon":-0.12574}}},"exampleRequest":{"city":"London"},"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ii96iTtZxP_UlOgO3hqRe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current weather data for a given city or lat/lon coordinate via a single micropayment, no API key required.","exampleAgentPrompt":"What's the current weather in Austin, Texas? Just pay the per-request fee and give me temperature and conditions — no API key setup.","exampleUseCases":null,"resultDescription":"Returns current weather information for the requested location, including temperature, weather conditions, and related meteorological data. Payment of $0.005 USDC is deducted per call via the x402 protocol.","failureModes":["Payment not included or insufficient — returns HTTP 402 with payment requirements","Invalid or unrecognized city name — may return empty or error response","Missing both city and lat/lon parameters — likely returns a 400 bad request","Network or Vercel hosting downtime — 503 or timeout","Invalid coordinate values — may produce unexpected results or errors"],"whenToPreferThis":"Choose this endpoint when your AI agent needs weather data without going through API key registration or account setup, and you are comfortable with small per-call USDC micropayments via the x402 protocol. Ideal for low-frequency, on-demand weather lookups in agent workflows where frictionless access matters more than bulk pricing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:36:45.996Z","isFirstParty":false}