{"uid":"cap_zbZc0r931g24jniCYf9SG","slug":"x402-hub-weather-api-c5871e73","name":"X402 Hub Weather API","description":"63 paid API endpoints protected by x402 micropayments on Base","url":"https://x402-hub.vercel.app/api/weatherapi","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_jjrx8r3rnJJ6WxK61jK9-","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 location or query via a micropayment-gated proxy to WeatherAPI.com","exampleAgentPrompt":"What's the current weather in San Francisco — temperature, conditions, and humidity?","exampleUseCases":[{"title":"Real-time city weather check","prompt":"What are the current weather conditions in Tokyo right now — temperature, wind, and whether it's raining?"},{"title":"Travel planning weather lookup","prompt":"I'm heading to Paris next week — can you pull up the current weather there so I can start thinking about what to pack?"},{"title":"App weather data enrichment","prompt":"Fetch me the current weather data for Chicago so I can display it on my dashboard — I need temperature and general conditions."}],"resultDescription":"A JSON object containing weather data from WeatherAPI.com, including current conditions such as temperature, humidity, wind speed, weather description, and related meteorological fields for the queried location.","failureModes":["Invalid or unrecognized location query returns an error or empty data","Payment failure (402) if x402 micropayment is not properly attached","Upstream WeatherAPI.com outage results in proxy error","Malformed query string causes upstream API rejection","Rate limiting or quota exhaustion on the underlying WeatherAPI.com account"],"whenToPreferThis":"Choose this endpoint when you need programmatic weather data access with per-call micropayment billing on Base (USDC), avoiding subscription API key management. Ideal for AI agents that need on-demand weather lookups without pre-negotiated API keys, or when building on the x402 payment rail for pay-as-you-go access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:45:04.033Z","isFirstParty":false}