{"uid":"cap_X4lAWP2ncuOWOwCbfpvAW","slug":"x402-weather-api-hub-e84f59bd","name":"x402 Weather API Hub","description":"21 paid weather API endpoints powered by x402 micropayments","url":"https://x402-weather.vercel.app/api/ai-weather/%7Bpath%7D?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"Location query string"},"location":{"type":"string","description":"City or coordinates"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object","description":"Response data from the underlying RapidAPI provider"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LGUKVVXKTbVRAy0AfCa-E","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches weather data for a given location through a micropayment-gated hub of 21 RapidAPI weather endpoints, paid per-call via x402 USDC micropayments","exampleAgentPrompt":"What's the current weather in San Francisco? Use the x402 weather hub to look it up — query it with 'San Francisco' as the location.","exampleUseCases":[{"title":"Real-time city weather check","prompt":"What's the weather like in Chicago right now? Pull current conditions including temperature and sky conditions."},{"title":"Travel planning weather lookup","prompt":"I'm heading to Tokyo next week — can you grab the current weather conditions there so I know what to expect?"},{"title":"Coordinates-based weather fetch","prompt":"Get the current weather for coordinates 48.8566, 2.3522 — that's Paris — and tell me the temperature and conditions."}],"resultDescription":"A JSON object containing a 'data' field with weather information returned by the underlying RapidAPI provider, including conditions such as temperature, sky state, humidity, and related forecast data for the queried location.","failureModes":["Payment failure or insufficient USDC balance causing 402 rejection","Invalid or unrecognized location string returning empty or error response","Underlying RapidAPI provider downtime causing upstream fetch failure","Malformed query input causing validation error","Rate limiting or quota exhaustion on the underlying provider"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call weather data with no subscription commitment, using USDC micropayments via the x402 protocol. Ideal for AI agents that need on-demand weather lookups without managing API keys for individual weather providers, leveraging the hub's access to 21 different RapidAPI weather endpoints.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:30:18.319Z","isFirstParty":false,"canonicalSlug":"x402-weather-api-hub-e84f59bd"}