{"uid":"cap_SJP8PXiVpREfuw6lamjx0","slug":"sitecheck-weather-alerts-0e4ea80b","name":"SiteCheck Weather Alerts","description":"Active US National Weather Service alerts for a state or a point: event, severity, urgency, area, onset, end of the event (ends), expiry of this message (expires), headline and instruction (cut to 400 characters). Attribution: National Weather Service, public domain.","url":"https://api.sitecheck-api.workers.dev/api/weather/alerts?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":[],"properties":{"lat":{"type":"string","description":"Latitude, with lon, instead of state"},"lon":{"type":"string","description":"Longitude"},"state":{"type":"string","description":"Two-letter US state, e.g. CA"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"count":20,"query":"area=CA","alerts":[{"area":"Owens Valley North","event":"Freeze Warning","onset":"2026-10-14T00:00:00-07:00","expires":"2026-10-14T08:00:00-07:00","urgency":"Expected","headline":"Freeze Warning issued October 13 at 11:30PM PDT until October 14 at 8:00AM PDT by NWS Las Vegas NV","severity":"Severe","instruction":"Take steps now to protect tender plants from the cold."},{"area":"Lake Havasu and Fort Mohave; Lake Mohave - AZ side; Eastern Mojave Desert, Including the Mojave National Preserve; Cadiz Basin; San Bernardino County-Upper Colorado River Valley; Southern Clark County; Lake Mohave - NV side","event":"Wind Advisory","onset":"2026-10-15T08:00:00-07:00","expires":"2026-10-14T08:00:00-07:00","urgency":"Expected","headline":"Wind Advisory issued October 13 at 11:30PM PDT until October 16 at 11:00AM PDT by NWS Las Vegas NV","severity":"Moderate","instruction":"Winds this strong can make driving difficult, especially for high\nprofile vehicles. Use extra caution.\n\nStrong winds and rough waves on area lakes will create hazardous\nconditions for small craft."},{"area":"Southwestern Humboldt; Southeastern Interior Humboldt; Southern Trinity; Northwestern Interior Mendocino; Northeastern Interior Mendocino; Northern Lake; Northwestern and Central Trinity; Northeastern Trinity; Eastern Lake","event":"Frost Advisory","onset":"2026-10-14T01:00:00-07:00","expires":"2026-10-14T06:00:00-07:00","urgency":"Expected","headline":"Frost Advisory issued October 13 at 9:57PM PDT until October 14 at 8:00AM PDT by NWS Eureka CA","severity":"Minor","instruction":"Take steps now to protect tender plants from the cold."}],"source":"https://api.weather.gov/alerts/active (NWS, public domain)","checkedAt":"2026-10-14T07:00:45.426Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6wKgBV1y4V_ednB0Fdt1n","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves active NWS weather alerts for a US state or geographic coordinate pair","exampleAgentPrompt":"Can you check if there are any active NWS weather alerts for California right now?","exampleUseCases":[{"title":"Pre-trip weather safety check","prompt":"Before I drive through Nevada this weekend, can you pull up any active weather alerts or advisories for NV so I know what to expect on the road?"},{"title":"Frost warning for gardeners","prompt":"Are there any active freeze or frost advisories in Colorado right now? I need to know whether to cover my plants tonight."},{"title":"Event planning weather risk","prompt":"We're hosting an outdoor event near latitude 34.05, longitude -118.24 tomorrow — can you check if there are any active weather alerts or warnings for that area?"}],"resultDescription":"Returns a list of active NWS weather alerts including event type (e.g. Freeze Warning, Wind Advisory, Frost Advisory), affected geographic area, onset and expiration times, urgency level, severity, a plain-English headline from the issuing NWS office, and recommended safety instructions. Also includes total alert count, the query used, the NWS source URL, and the timestamp when the check was performed.","failureModes":["Missing both state and lat/lon parameters returns an error","Invalid state code (non-US or wrong format) may return zero alerts or an error","NWS upstream outage may cause delayed or empty responses","Coordinates outside the US may return no alerts since NWS only covers US territories","Very recent alerts may have propagation delay from NWS"],"whenToPreferThis":"Use this endpoint when you need real-time, official US National Weather Service active alerts for a specific state or geographic location. Prefer it over general weather APIs when you specifically need emergency/advisory-level alert data (warnings, advisories, watches) rather than forecast conditions. Best for safety-critical or event-planning decisions where knowing about active NWS-issued hazards is essential.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:36:23.110Z","isFirstParty":false,"canonicalSlug":"sitecheck-weather-alerts-0e4ea80b"}