{"uid":"cap_AjcxibBZAx3ADYUDy2xwC","slug":"x402-weather-api-hub-foreca-endpoint-3d4c7510","name":"x402 Weather API Hub – Foreca Endpoint","description":"21 paid weather API endpoints powered by x402 micropayments","url":"https://x402-weather.vercel.app/api/foreca/%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 name 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_MH-JpKVVngVMkI8f_IE6j","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":"Proxies Foreca weather data requests through x402 micropayment-gated API, returning weather information for a queried location","exampleAgentPrompt":"What's the current weather in Berlin according to Foreca? Query it for 'Berlin, Germany'.","exampleUseCases":[{"title":"Real-time city weather check","prompt":"Can you pull the current weather conditions for Tokyo from the Foreca data source?"},{"title":"Coordinate-based weather lookup","prompt":"Get me Foreca weather data for the coordinates 48.8566, 2.3522 — that's Paris."},{"title":"Automated weather enrichment pipeline","prompt":"I need the Foreca weather forecast for 'London, UK' to enrich my daily logistics report — can you fetch that now?"}],"resultDescription":"Returns a JSON object with a 'data' field containing the Foreca weather API response, including weather conditions and forecast details for the queried location as provided by the underlying RapidAPI Foreca provider.","failureModes":["Payment failure if USDC balance is insufficient or x402 payment header is malformed","Invalid or unrecognized location query returning empty or error data","RapidAPI/Foreca upstream outage returning no data","Missing required 'query' field returning a validation error","Rate limiting or quota exhaustion on the underlying Foreca RapidAPI subscription"],"whenToPreferThis":"Choose this endpoint when you need Foreca-sourced weather data specifically, want to pay per-call via USDC micropayments without a subscription, or are building an agent that requires programmatic weather lookups gated by x402 payment protocol. Prefer over subscription-based weather APIs when cost-per-call flexibility matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T00:43:19.199Z","isFirstParty":false,"canonicalSlug":"x402-weather-api-hub-foreca-endpoint-3d4c7510"}