{"uid":"cap_8O53DXY9slKaQX-3JH2U5","slug":"x402-factory-los-angeles-event-window-rain-forecast-d8daf169","name":"x402-factory Los Angeles Event-Window Rain Forecast","description":"Will it rain in Los Angeles during your event window — Event-window weather odds for Los Angeles: 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 Los Angeles coordinates built in.","url":"https://x402-factory.com/v1/forecast/los-angeles/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_9teHzf-QGWyJaAtgSMglb","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, expected precipitation, temperature range, wind, and comfort index for a user-specified time window in Los Angeles, defaulting to the next 6 hours.","exampleAgentPrompt":"What are the rain odds and overall weather conditions in Los Angeles this Saturday from 3pm to 9pm? I'm trying to decide whether to hold an outdoor concert.","exampleUseCases":[{"title":"Outdoor concert weather decision","prompt":"I'm planning an outdoor concert in Los Angeles this Saturday from 4pm to 10pm — what's the rain probability and expected conditions during that window?"},{"title":"Morning farmers market planning","prompt":"Will it rain in Los Angeles tomorrow morning from 7am to 1pm? I need to know the rain chance and comfort level before setting up our outdoor market."},{"title":"Next-six-hours spontaneous event check","prompt":"Is rain expected in LA in the next few hours? Just give me the rain probability and a quick verdict so I can decide whether to head outside."}],"resultDescription":"A JSON object containing rain_probability (0–1), expected_precip_mm, temp_range with low and high values, wind_max, comfort_index (0–1), an array of severity_flags for notable conditions, and a plain-language verdict summarizing the window — plus meta fields such as model source and resolution timestamps.","failureModes":["Invalid or malformed ISO-8601 datetime returns a 400 validation error","Window exceeding 12 hours after start is rejected","Future windows beyond the forecast horizon return a 422 or empty data","Missing payment header or insufficient USDC balance returns 402 Payment Required","Network timeout or upstream weather model unavailability returns 503"],"whenToPreferThis":"Choose this endpoint when you specifically need a probabilistic weather assessment for a defined event time window in Los Angeles without supplying coordinates. It is purpose-built for scheduling decisions and returns a structured verdict and comfort index rather than raw hourly data, making it ideal for go/no-go event planning in LA.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:58:19.095Z","isFirstParty":false}