{"uid":"cap_Jm_P-Oo2lsf6eJ08z49Vn","slug":"x402-factory-washington-dc-window-weather-forecast-c0fb0a9b","name":"x402-factory Washington DC Window Weather Forecast","description":"Will it rain in Washington, DC during your event window — Event-window weather odds for Washington, DC: pass a start and end time (or omit them for the next six hours) and get rain probability and expected conditions across the window — built for scheduling decisions. Same shape as /v1/forecast/window with the Washington, DC coordinates built in.","url":"https://x402-factory.com/v1/forecast/washington-dc/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":[],"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."},"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":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_c29d5DGzX5pGxn2Ygs0j3","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 rain probability, precipitation, temperature range, wind, comfort index, and a plain-language verdict for a specified time window in Washington, DC","exampleAgentPrompt":"What are the rain odds and overall conditions in Washington DC this Saturday from 11am to 5pm — I'm planning an outdoor ceremony and need to know if it'll be comfortable or if there are any severe weather flags.","exampleUseCases":[{"title":"Outdoor event scheduling in DC","prompt":"I'm hosting an outdoor fundraiser on the National Mall this Thursday from 3pm to 7pm — what's the rain probability and expected comfort level in Washington DC during that window?"},{"title":"Morning commute weather check","prompt":"Will it rain in Washington DC tomorrow morning between 7am and 9am? I want to know the conditions so I can decide whether to bike to work."},{"title":"Corporate retreat weather briefing","prompt":"Our team is doing an outdoor activity in DC next Friday from 1pm to 4pm — can you check the rain probability, temperature range, and any severity flags for that window so we can plan accordingly?"}],"resultDescription":"A JSON object containing: rain_probability (0–1 float), expected_precip_mm (float), temp_range with low and high values, wind_max (number), comfort_index (0–1 float), severity_flags (array of strings describing notable hazards), and verdict (plain-language summary of expected conditions) — all scoped to the requested time window in Washington, DC.","failureModes":["Invalid ISO-8601 datetime format for start or end — returns validation error","Window exceeds 12-hour maximum — returns error indicating limit","End time before start time — returns validation error","Payment not provided or insufficient — returns 402 Payment Required","Future window too far out — may return low-confidence or unavailable forecast"],"whenToPreferThis":"Use this endpoint when you need weather intelligence specifically for Washington, DC and want a pre-scoped, scheduling-oriented response rather than a raw forecast feed. Ideal when the question is 'should I hold this event?' rather than just 'what is the temperature?' — because the endpoint bundles rain probability, comfort index, severity flags, and a plain-language verdict in one call. The built-in DC coordinates eliminate the need to pass latitude/longitude. Prefer the generic /v1/forecast/window endpoint instead if the location is not Washington, DC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:58:29.715Z","isFirstParty":false}