{"uid":"cap_kioYkfuw_UXJ1OlGQp7h4","slug":"x402-hub-weather-api-1146b5c9","name":"X402 Hub Weather API","description":"63 paid API endpoints protected by x402 micropayments on Base","url":"https://x402-hub.vercel.app/api/weather-api","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"Query parameter for the API"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object","description":"Response data from upstream API"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.075","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.075/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.075","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.075","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PxxyF9e7iWaEbk4wQNHXa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.075","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches weather data for a given query via a micropayment-protected proxy endpoint on Base","exampleAgentPrompt":"What's the current weather in London right now? Use the X402 Hub weather API with the query 'London'.","exampleUseCases":[{"title":"Pre-trip weather check","prompt":"Can you look up the current weather conditions in Tokyo? I want to know what it's like there right now."},{"title":"Event planning weather lookup","prompt":"I'm organizing an outdoor event in Chicago this weekend — can you pull the current weather data for Chicago so I can plan accordingly?"},{"title":"Automated weather data enrichment","prompt":"For each city in my list starting with Miami, fetch the current weather data so I can include it in my daily report."}],"resultDescription":"Returns a JSON object with a 'data' field containing weather information from the upstream API, including current conditions, temperature, and related meteorological data for the queried location.","failureModes":["Payment not included or insufficient — returns 402 Payment Required","Invalid or empty query string — may return upstream API error","Location not recognized by upstream weather service — returns error or empty data","Network timeout or upstream API unavailable — returns 5xx error","Rate limiting from upstream provider — returns error in data field"],"whenToPreferThis":"Choose this endpoint when you need weather data and are operating in a Web3/x402 micropayment context on Base, paying per-call in USDC at $0.075 per request without requiring a subscription or API key. Prefer it for lightweight, on-demand weather lookups in agent workflows that already handle x402 payment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:49:46.956Z","isFirstParty":false}