{"uid":"cap_APTlFc6Kl7t695qEZeUss","slug":"x402-factory-com-weather-window-forecast-afb63ebb","name":"x402-factory.com Weather Window Forecast","description":"One-call answer for a specific time window: rain odds, temps, comfort, verdict — Summarizes a ≤12-hour window at a coordinate into decision-ready numbers (rain probability, expected precip, temp range in °C, max gust, comfort index) plus a one-sentence plain-English verdict. Built for agents planning events, deliveries, and travel.","url":"https://x402-factory.com/v1/forecast/window","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":{"end":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Window end (ISO-8601), ≤12h after start. Default: start + 6h."},"lat":{"type":"number","maximum":90,"minimum":-90},"lon":{"type":"number","maximum":180,"minimum":-180},"start":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Window start (ISO-8601). Default: the top of the next hour."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","required":["rain_probability","expected_precip_mm","temp_range","wind_max","comfort_index","severity_flags","verdict"],"properties":{"verdict":{"type":"string"},"wind_max":{"type":"number"},"temp_range":{"type":"object","required":["low","high"],"properties":{"low":{"type":"number"},"high":{"type":"number"}},"additionalProperties":false},"comfort_index":{"type":"number","maximum":1,"minimum":0},"severity_flags":{"type":"array","items":{"type":"string"}},"rain_probability":{"type":"number","maximum":1,"minimum":0},"expected_precip_mm":{"type":"number"}},"additionalProperties":false},"meta":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"data":{"verdict":"Looks good: mild, highs near 69.1°F, low rain risk.","wind_max":29.3,"temp_range":{"low":18.1,"high":20.6},"comfort_index":0.86,"severity_flags":[],"rain_probability":0.12,"expected_precip_mm":0},"meta":{"docs":"https://x402-factory.com/docs/weather.forecast-window","sources":["stub-model"],"version":"1.0.0","endpoint":"/v1/forecast/window","data_mode":"live","freshness":"realtime","request_id":"req_00000000","generated_at":"2026-08-21T03:58:58.168Z"}}},"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_TbwnkVi48EYaONZKb6uhd","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":"Summarizes a ≤12-hour time window at a coordinate into decision-ready weather numbers (rain probability, precipitation, temp range, max gust, comfort index) plus a plain-English verdict.","exampleAgentPrompt":"What's the rain probability, temperature range, comfort score, and overall verdict for the area around 47.6062° N, 122.3321° W this Sunday from 10:00am to 4:00pm Pacific time — I need to decide whether to hold an outdoor market there.","exampleUseCases":null,"resultDescription":"Returns a JSON object with rain_probability (0–1), expected_precip_mm, temp_range with low and high in °C, wind_max in km/h or m/s, comfort_index (0–1), an array of severity_flags (e.g. 'high wind', 'heavy rain'), and a one-sentence plain-English verdict summarizing the window, plus meta information about the forecast.","failureModes":["Window exceeds 12 hours — endpoint may reject or truncate","Invalid or out-of-range lat/lon coordinates return a 400 error","start datetime after end datetime causes validation failure","Datetime format not ISO 8601 with timezone returns schema error","Payment of 0.02 USDC not completed via x402 returns 402 Payment Required","Location over ocean or polar region may have reduced forecast quality","Future window beyond forecast horizon (e.g. >10 days out) may return low-confidence results"],"whenToPreferThis":"Use this endpoint when you need a compact, decision-ready weather summary for a specific short time window (≤12 hours) at a precise coordinate, and want a pre-computed comfort index and plain-English verdict rather than raw hourly data. Prefer this over general weather APIs when building event, delivery, or travel planning agents that need a binary go/no-go signal with supporting numbers in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:02:46.192Z","isFirstParty":false}