{"uid":"cap_AiPx0klk2T2eDY2A5xHqD","slug":"x402-weather-api-hub-datanest-forecast-endpoint-d794bb5e","name":"x402 Weather API Hub – Datanest Forecast Endpoint","description":"21 paid weather API endpoints powered by x402 micropayments","url":"https://x402-weather.vercel.app/api/datanest-forecast/%7Bpath%7D?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"Location query for forecast data"},"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__fDtTudwvV80BLYUx2wDi","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":"Returns weather forecast data for a given location via the Datanest provider, billed at $0.10 USDC per call through x402 micropayments","exampleAgentPrompt":"Can you get me the weather forecast for Chicago using the Datanest forecast API — I need to know what conditions to expect over the next few days?","exampleUseCases":[{"title":"Travel planning weather check","prompt":"What's the forecast for Tokyo over the next 5 days? I'm trying to decide what to pack."},{"title":"Event planning outdoor conditions","prompt":"Can you pull the weather forecast for Austin, Texas for this coming Saturday? We have an outdoor event and need to know if rain is expected."},{"title":"Agricultural logistics forecast","prompt":"Get me the forecast data for coordinates 41.8781° N, 87.6298° W — I need temperature and precipitation predictions for the next week for crop planning."}],"resultDescription":"A JSON object containing forecast data sourced from the Datanest/RapidAPI provider, including weather conditions, temperature, and precipitation details for the queried location and time period.","failureModes":["Invalid or unrecognized location query returns an error or empty data object","Payment failure via x402 micropayment protocol results in 402 response and no data","RapidAPI/Datanest upstream unavailability causes service errors","Missing required 'query' field returns a validation error","Ambiguous location names may return data for the wrong place"],"whenToPreferThis":"Choose this endpoint when you need programmatic weather forecast data and want to pay per-call with USDC micropayments via x402 rather than subscribing to a monthly API plan. It is particularly useful for agents that make infrequent or variable-volume forecast requests where a subscription would be wasteful, and when the Datanest provider's forecast data quality meets your needs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T00:47:57.525Z","isFirstParty":false,"canonicalSlug":"x402-weather-api-hub-datanest-forecast-endpoint-d794bb5e"}