# Weather alerts (US)

GET https://horizonpulse.dev/api/weather/alerts

- Price: $0.02 per call. The exact amount is in the 402.
- Pay with: USDC on Base, USDC on Polygon
- Family: Weather and hazards (/catalog/weather-hazards.md)

## What it returns
Active alerts for one point (lat, lon) or one US state (area), passed through from api.weather.gov: event, severity, urgency, headline, expires, areaDesc, instruction, description, status, messageType and id. Not an official warning service; not affiliated with or endorsed by NOAA/NWS. For life-safety decisions use weather.gov and local authorities. Up to 60 s old. Charged per answer, including when no alerts are active; bad input is refused before payment, not charged. USDC on Base or Polygon. On USDC on Base, errors are not charged, apart from the exceptions noted on a route. On USDC on Solana, and RLUSD on the XRP Ledger, a refused or failed request may still be charged. On Polygon (native USDC), a request is settled only when it succeeds (HTTP status below 400). Failed requests are not charged.

## Inputs
See /openapi.json for this path.

## If the call fails
- USDC on Base: errors are not charged, apart from the exceptions noted on a route.
- On Polygon (native USDC), a request is settled only when it succeeds (HTTP status below 400). Failed requests are not charged.

## Try it
- Call it unpaid to read the 402: GET https://horizonpulse.dev/api/weather/alerts
- Setup: /setup.md
