Skip to main content
POST
Lists the weather watches, warnings and advisories the US National Weather Service has in force at a latitude and longitude in the United States, most severe first, then soonest to expire. An alert issued for an event that has not begun is included: check urgency and onset_at to tell what is under way from what is coming.

Authentication

Requires x402 payment in the payment-signature header.

Request Body

number
required
Latitude in decimal degrees, for example 29.7604. From 17 to 72.
number
required
Longitude in decimal degrees (west is negative), for example -95.3698. From -180 to -64.

Response (200 OK)

Top-level envelope: success (boolean) and data (object). All fields below are nested under data.
string
Durable job ID for audit and lookup
string
Job status: completed
string
Always place_weather_alerts
object
The answer, described under Result below
object
Where the answer came from and when
string
The public body the data comes from. Always US National Weather Service.
string
public when the data comes from a public body, commercial otherwise
string
When the lookup was made, as an ISO 8601 UTC time
string | null
When the source says the fact was last updated, or null when the source gives no date

Result

Nested under data.result.
number
Number of alerts returned: those active at the point, including issued alerts whose event has not begun.
object[]
Alerts.
string | null
The alert type, for example Flood Warning or Winter Weather Advisory. null when the source gives no value.
string | null
Extreme, Severe, Moderate, Minor or Unknown. null when the source gives no value.
string | null
Observed, Likely, Possible, Unlikely or Unknown. null when the source gives no value.
string | null
Immediate, Expected, Future, Past or Unknown. null when the source gives no value.
string | null
Headline. null when the source gives no value.
string | null
Description. null when the source gives no value.
string | null
What the issuer advises people to do; null when none is given.
string | null
The area the alert covers, as the issuer names it. null when the source gives no value.
string | null
The issuing forecast office, for example NWS Lake Charles LA. null when the source gives no value.
string | null
ISO 8601, as the source gives it. null when the source gives no value.
string | null
ISO 8601, as the source gives it. null when the source gives no value.
string | null
ISO 8601, as the source gives it. null when the source gives no value.
string | null
ISO 8601, as the source gives it; null when the event has no set end.
See Pricing for this tool’s price. A wallet (x402) call receives it in the 402 quote before anything is charged; a call paid from prepaid credits is charged when the API accepts the request and answers 200.

Notes

  • Use it to check whether a storm, flood, heat, fire-weather or winter-weather alert covers a property, a route stop or a claim location today.
  • Severity runs Extreme, Severe, Moderate, Minor, Unknown.
  • The source’s active list is returned as it gives it: a watch for tomorrow (urgency Future, onset_at in the future) is included.
  • total is the number of alerts returned. Expired and past alerts are not returned.
  • A point with nothing active is a completed result with total 0.
  • Results return inline. The finished job stays available at /v1/requests/{request_id}