{"uid":"cap_3vMncCQUxCNcqGNd_jrIM","slug":"global-weather-rain-outlook-85f45aa6","name":"Global Weather Rain Outlook","description":"Rain outlook for the next 6 to 48 hours at any coordinates: when it starts, total millimetres, peak hour and intensity.","url":"https://weather-global.x402tookit.com/rain-next-hours?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"],"type":"string"},"queryParams":{"type":"object","required":["lat","lon"],"properties":{"lat":{"type":"number","description":"Latitude"},"lon":{"type":"number","description":"Longitude"},"hours":{"type":"integer","description":"Window 6 to 48 hours (default 24)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"lat":{"type":["null","number"]},"lon":{"type":["null","number"]},"asOf":{"type":["null","string"]},"hourly":{"type":["array","null"],"items":{"type":"object","properties":{"mm":{"type":["null","number"]},"time":{"type":["null","string"]}}}},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"totalMm":{"type":["null","number"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"peakHour":{},"wetHours":{"type":["null","number"]},"sourceUrl":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"attribution":{"type":["null","string"]},"hoursCovered":{"type":["null","number"]},"firstRainTime":{},"modelUpdatedAt":{"type":["null","string"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kfE9N7sodoxXS0IT1v-2P","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a rain forecast for the next 6–48 hours at any lat/lon coordinates, including start time, total millimetres, peak hour, wet hours count, and intensity summary.","exampleAgentPrompt":"What's the rain outlook for the next 24 hours at latitude 51.51, longitude -0.13 — when does rain start, how many millimetres total, and which hour will be the heaviest?","exampleUseCases":[{"title":"Pre-event outdoor rain check","prompt":"I'm hosting an outdoor BBQ in London — coordinates 51.51, -0.13 — starting in about 6 hours. Will it rain in the next 12 hours, and if so when does it start and how heavy will it get?"},{"title":"Farmer irrigation scheduling","prompt":"I need to decide whether to irrigate my fields tomorrow. Can you check the rain forecast for the next 48 hours at lat 43.72, lon 10.40 and tell me total expected millimetres and the peak rain hour?"},{"title":"Construction site weather planning","prompt":"Our crew is working outdoors at lat 40.71, lon -74.01 — check if any rain is coming in the next 24 hours, how many wet hours there'll be, and what the heaviest hour looks like so we can plan around it."}],"resultDescription":"Returns a JSON object with: total expected rainfall in mm, time the first rain begins, the peak rain hour, number of wet hours, an hourly array of mm-per-hour values with timestamps, a plain-language verdict and summary, the data source and model update time, and optional degraded/disclaimer flags if forecast confidence is reduced.","failureModes":["Missing lat or lon parameters returns a validation error","Coordinates outside supported coverage area may return null or degraded data","Hours value outside 6–48 range defaults to 24 or may return an error","Payment failure (x402) results in a 402 response with no forecast data","Upstream weather model unavailability may trigger degraded=true with partial results"],"whenToPreferThis":"Choose this endpoint when you need a focused, short-range precipitation forecast (6–48 hours) for any global coordinate pair, especially when you need structured hourly rain data, start time, total mm, and peak intensity rather than a general multi-day weather summary. Prefer this over the general forecast endpoint when rain specifics are the primary concern, and over the day-by-day forecast when sub-24-hour resolution and rain start timing matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:20:33.457Z","isFirstParty":false,"canonicalSlug":"global-weather-rain-outlook-85f45aa6"}