{"uid":"cap_v0jfFpMjAAZWZ0hwmwC0T","slug":"x402-hub-weather-api-89fb4d78","name":"X402 Hub Weather API","description":"63 paid API endpoints protected by x402 micropayments on Base","url":"https://x402-hub.vercel.app/api/weather338","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_yhewfyezuNDZ2a-E2h1LX","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":"Returns weather data for a given query, served as a micropayment-gated endpoint on Base via x402","exampleAgentPrompt":"What's the current weather in San Francisco? Look it up via the X402 Hub weather endpoint and give me the temperature and conditions.","exampleUseCases":[{"title":"Current conditions for travel planning","prompt":"Can you check the current weather in Tokyo? I want to know the temperature and whether it's raining."},{"title":"Weather alert before outdoor event","prompt":"What's the weather like in Chicago right now? I'm trying to decide if an outdoor event today will be affected by bad conditions."},{"title":"Daily weather briefing for a city","prompt":"Pull the current weather for London and tell me today's conditions — temperature, sky cover, anything notable."}],"resultDescription":"Returns a JSON object with a 'data' field containing upstream weather information such as temperature, conditions, and forecast details for the queried location.","failureModes":["Missing or empty 'query' field returns a 400 validation error","Payment not included or insufficient USDC triggers a 402 Payment Required response","Upstream weather provider unavailable returns a 503 or wrapped error in data field","Malformed query (e.g. unrecognized location) may return empty or null data","Network timeout from upstream weather API"],"whenToPreferThis":"Choose this endpoint when you need weather data and are operating in an x402 micropayment-enabled agent environment on Base, where per-call USDC billing is acceptable and no long-term API subscription is desired. Useful for low-frequency, on-demand weather lookups without managing separate weather API credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:36:53.588Z","isFirstParty":false}