NOAA Weather Forecast & Alerts (Official API) avatar

NOAA Weather Forecast & Alerts (Official API)

Pricing

from $2.20 / 1,000 result items

Go to Apify Store
NOAA Weather Forecast & Alerts (Official API)

NOAA Weather Forecast & Alerts (Official API)

US weather forecasts and active severe weather alerts from the official National Weather Service API. Daily or hourly forecasts for any US coordinates, and alerts filtered by state, severity, urgency or event type. No API key needed. Public domain U.S. government data.

Pricing

from $2.20 / 1,000 result items

Rating

0.0

(0)

Developer

Doohan Kim

Doohan Kim

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

US weather forecasts and active severe weather alerts, straight from the National Weather Service API. No scraping, no API key.

Two modes

Forecast by coordinates — give one or more US points and get the official NWS forecast: daily periods (about 14) or hourly (about 156), with temperature, wind, precipitation probability and the forecaster's own wording.

Active alerts — every alert currently in effect, filtered by state, severity, urgency or event type: flood warnings, tornado watches, winter storm warnings, heat advisories.

Why this Actor

  • Official API only. Calls api.weather.gov. No HTML scraping, no third-party weather site.
  • No API key. NWS publishes this openly.
  • Public domain. U.S. government works, free to use and redistribute.
  • Flat rows. Nested values such as precipitation probability are unwrapped into plain columns.
  • Correct by construction. NWS needs a two-step lookup (coordinates → grid → forecast); this Actor does it for you.

Required: your contact

NWS asks automated clients to identify themselves. Put your name and email in the Your contact input, for example Jane Doe jane@example.com. It is sent in the User-Agent header, as NWS requests. The Actor refuses to run without it.

Output — forecast mode

FieldDescription
latitude, longitude, city, stateThe point, and the place NWS matched it to
gridId, timeZoneNWS forecast office and local time zone
periodNumber, periodNamee.g. 1, "Tonight", "Saturday"
startTime, endTimeISO timestamps with local offset
isDaytimeDay or night period
temperature, temperatureUnit, temperatureTrende.g. 59, "F", "falling"
precipitationProbabilityPercent, unwrapped to a plain number
windSpeed, windDirectione.g. "13 mph", "NW"
shortForecast, detailedForecastNWS wording, short and long

Output — alerts mode

FieldDescription
alertId, eventIdentifier and event name, e.g. "Flood Warning"
severity, urgency, certainty, statusNWS classification
areaDescCounties or zones covered
headline, description, instructionThe alert text and what to do
senderNameIssuing office
effective, onset, expires, endsTiming

Examples

Hourly forecast for two cities, 24 periods each:

{
"mode": "forecast",
"coordinates": ["38.8894,-77.0352", "47.6062,-122.3321"],
"hourly": true,
"periods_per_point": 24
}

Severe alerts in Texas:

{
"mode": "alerts",
"area": "TX",
"severity": "Severe"
}

Use cases

  • Operations and logistics — reroute around storms, plan crews around forecast windows
  • Insurance and claims — capture what was forecast and warned before an event
  • Agriculture and energy — temperature and precipitation series for specific sites
  • Media and alerting — feed active warnings into your own notification system
  • Research — build a forecast history by running on a schedule

Limits worth knowing

  • US only. NWS covers the United States and its territories. Coordinates outside that range return a clear error rather than empty data.
  • Alerts are currently active ones. Historical alerts are a different NWS endpoint.
  • NWS does not support a server-side row limit on active alerts, so this Actor fetches the filtered set and trims it. Narrow with area or severity to keep runs small.

Running locally

pip install -r requirements.txt
NWS_USER_AGENT="Your Name you@example.com" python -m tests.test_noaa

Attribution

Data from the National Weather Service, NOAA, U.S. Department of Commerce. This Actor is not affiliated with or endorsed by NOAA or the NWS. For life-safety decisions, always consult the official NWS sources directly.