{"uid":"cap_IDwh-Sjmml_n8SPAeiAOD","slug":"x402-factory-nyc-weather-window-forecast-a32afc65","name":"x402-factory NYC Weather Window Forecast","description":"Will it rain in New York City during your event window — Event-window weather odds for New York City: 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 New York City coordinates built in.","url":"https://x402-factory.com/v1/forecast/nyc/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_LBq0EVv8_YDwPvjcizjMY","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 and weather conditions for a specific time window in New York City, optimized for scheduling decisions.","exampleAgentPrompt":"Will it rain during my outdoor event in NYC this Saturday from 3pm to 9pm? I need the rain probability and overall conditions to decide whether to keep it outside.","exampleUseCases":[{"title":"Outdoor wedding ceremony weather check","prompt":"Can you check the rain probability and overall weather comfort for an outdoor wedding ceremony in New York City this Saturday from 4pm to 7pm?"},{"title":"Rooftop party scheduling decision","prompt":"I'm planning a rooftop party in NYC tomorrow evening from 6pm to 11pm — what are the odds of rain and how uncomfortable will it be weather-wise?"},{"title":"Morning farmers market setup assessment","prompt":"What will the weather be like in New York City this Sunday from 7am to 1pm? I need to know if there's rain risk and how strong the winds will be before I set up my market stall."}],"resultDescription":"Returns a JSON object with rain probability (0–1 float), expected precipitation in millimeters, temperature range (low/high in °C or °F), maximum wind speed, a comfort index (0–1), an array of severity flags (e.g. 'high_wind', 'heavy_rain'), and a plain-language verdict summarizing conditions — all scoped to the requested time window at NYC coordinates.","failureModes":["Invalid or malformed ISO-8601 datetime returns a 400 error","Window exceeds 12 hours returns a validation error","End time before start time returns a 400 error","Weather provider upstream unavailability returns a 503 or timeout","Payment not included or invalid returns a 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you specifically need event-window weather odds for New York City and want a pre-geocoded, scheduling-optimized response without supplying lat/lon. Prefer this over the generic /v1/forecast/window endpoint when the user's location is NYC, to save a parameter and reduce error surface. Ideal for event planning, outdoor scheduling, and time-bounded weather risk decisions in New York City.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T13:04:17.598Z","isFirstParty":false}