{"uid":"cap_C86uJ_hUM9X1qZhw2drIU","slug":"global-weather-forecast-api-hourly-pay-per-call-20f33b11","name":"Global Weather Forecast API (Hourly, Pay-Per-Call)","description":"Global current weather, hourly forecasts, foreign-exchange rates, EVM reads, and deterministic utilities for AI agents. Pay per call with MPP or x402; no API key.","url":"https://built-with-productos-xszv.vercel.app/v1/weather-forecast?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["lat","lon"],"properties":{"lat":{"type":"number"},"lon":{"type":"number"},"hours":{"type":"integer","maximum":24,"minimum":1}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"hours":12,"forecast":[],"latitude":51.5074,"longitude":-0.1278}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5n3-MUIJA1NOxALOIHREQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns an hourly weather forecast for a given latitude/longitude coordinate, covering up to 24 hours ahead, payable per call via x402/MPP with no API key required.","exampleAgentPrompt":"What's the hourly weather forecast for the next 12 hours at latitude 51.5074, longitude -0.1278 (London)?","exampleUseCases":[{"title":"Outdoor event planning weather check","prompt":"I'm planning an outdoor picnic in Paris tomorrow — can you get me the hourly weather forecast for the next 8 hours at latitude 48.8566, longitude 2.3522 so I know what to expect?"},{"title":"Drone flight safety assessment","prompt":"Before I launch my drone at coordinates 40.7128, -74.0060 in New York, can you pull the hourly weather forecast for the next 3 hours so I can check if conditions are safe?"},{"title":"Agricultural field monitoring","prompt":"Can you fetch a 24-hour hourly weather forecast for my farm at latitude 35.6762, longitude 139.6503 so I can decide whether to irrigate tomorrow?"}],"resultDescription":"A JSON object containing the requested latitude, longitude, the number of forecast hours, and a 'forecast' array with hourly weather data points for each hour requested up to 24 hours ahead.","failureModes":["Missing lat or lon parameters returns a 400-level error","Hours value outside 1–24 range rejected by schema validation","Payment not provided or insufficient triggers a 402 Payment Required response","Invalid coordinate values (e.g. out-of-range lat/lon) may return empty or error response","Network or upstream weather data unavailability may cause 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-call hourly weather forecasts by GPS coordinate without needing a long-term API key subscription. Ideal for AI agents that need infrequent or ad-hoc weather lookups and can pay per call via x402 or MPP micropayments. Not suited for historical weather data, multi-day extended forecasts beyond 24 hours, or non-coordinate-based location lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T18:31:06.973Z","isFirstParty":false,"canonicalSlug":"global-weather-forecast-api-hourly-pay-per-call-20f33b11"}