weather

Live US severe-weather alerts from the National Weather...

Live US severe-weather alerts from the National Weather Service. Pass a point ("lat,lon") to get every active watch, warning, and advisory for that exact location, or an area (2-letter US state or marine zone code) for area-wide alerts. Optionally filter by severity or urgency. Each alert returns the event type, severity, urgency, certainty, headline, affected-area description, issuing office, recommended public response, onset / expiry / end times, and the full hazard description plus protective-action instructions. Results are sorted most-severe first and capped by limit, with the true total reported. Public-domain NOAA / National Weather Service data, refreshed in real time.

get/api/weather/alerts

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/weather/alerts
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

pointstring

Exact location as "lat,lon" in decimal degrees, e.g. "25.7617,-80.1918". Returns alerts covering that point. Provide point OR area, not both.

areastring

2-letter US state / territory or NWS marine area code, e.g. "FL", "TX", "PK". Returns all active alerts for that area. Provide point OR area, not both.

severity'Extreme' | 'Severe' | 'Moderate' | 'Minor' | 'Unknown'

Filter to a single severity level.

urgency'Immediate' | 'Expected' | 'Future' | 'Past' | 'Unknown'

Filter to a single urgency level.

limitinteger

Max alerts to return (1-100, default 20). Most-severe first.

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.