US Weather API (National Weather Service) avatar

US Weather API (National Weather Service)

Pricing

$2.00 / 1,000 weather row delivereds

Go to Apify Store
US Weather API (National Weather Service)

US Weather API (National Weather Service)

US weather from the National Weather Service API: the forecast and the hourly forecast of a point, the latest or recent observations of a station, and active alerts by point or state. Values as the NWS publishes them.

Pricing

$2.00 / 1,000 weather row delivereds

Rating

0.0

(0)

Developer

DARIKAMI GmbH

DARIKAMI GmbH

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Features

Limited permissions

Share

US weather from the National Weather Service API: the forecast and the hourly forecast of a point, the latest or recent observations of a station, and the active alerts of a point or a state. The main fields are the period, the temperature, the chance of rain, the wind, the short forecast, the station's reading and the alert's event and severity. The data comes from the NWS's own API. USD 0.002 per row (USD 2 per 1,000). One row is one forecast period, one hourly period, one observation or one alert. Errors and the note "no active alert" are free.

PeriodStartsTemperatureRain chanceWindForecast
Today2026-11-08 07:0060 F1 %7 to 10 mphSunny
Tonight2026-11-08 18:0048 F2 %9 mphMostly Clear
Monday2026-11-09 06:0058 F4 %7 to 13 mphMostly Sunny
Monday Night2026-11-09 18:0046 F0 %6 to 10 mphMostly Clear
Tuesday2026-11-10 06:0060 F0 %8 mphMostly Sunny

The rows come from a real cloud run of 2026-11-08: the forecast of the point 40.7829,-73.9654 (New York), at most 5 rows. The full item is under Output.

Who uses it

  • Apps and dashboards: put the forecast or the latest reading of a US place into your own product.
  • Operations and logistics: watch the active alerts of a state or of your sites.
  • Data work: collect a station's observations of the last hours (up to 168) next to your own records.

What it does not do

  • It covers the United States and its territories. A point outside returns a free not-found item.
  • It does not predict anything itself. It returns what the NWS publishes. The actor adds temperatureF (converted from degrees C), rounds observation values to 0.1, and cuts alert texts at 4,000 characters. A forecast is the NWS's forecast, not ours.
  • An observation is a station's reading. It can differ from the weather at your point, and a station can report a value late or not at all (the field is then null).
  • The actor does not settle, grade or predict any market, bet or contract. Use the station and rules of your own contract.
  • It sends one request at a time. A point needs 2 to 3 requests, so a run of 100 points takes a few minutes.

Input

{
"points": ["40.7829,-73.9654"],
"stations": ["KNYC"],
"states": ["TX"],
"products": ["forecast", "hourly", "observation", "alerts"],
"hours": 24,
"observationHours": 0,
"maxResults": 1000
}
FieldWhat it does
pointsUS locations as "latitude,longitude". Rounded to 4 decimals. Forecast and hourly need one.
stationsStation codes, for example KNYC, for the product observation.
statesTwo-letter codes, for the product alerts.
productsforecast, hourly, observation, alerts. Default: forecast.
hoursHourly periods per point, 1 to 156. Default 24.
observationHours0: the latest observation. 1 to 168: the observations of the last hours (the actor follows the API's next pages, at most 10 pages of 500).
maxResultsThe run stops after this number of rows. Default 1,000.

An observation for a point uses the nearest station of the point's grid.

Output

One item per row. A forecast row:

{
"kind": "forecast",
"query": "40.7829,-73.9654",
"place": "New York, NY",
"timeZone": "America/New_York",
"gridpoint": "OKX/34,45",
"name": "Today",
"startTime": "2026-11-08T07:00:00-05:00",
"endTime": "2026-11-08T18:00:00-05:00",
"isDaytime": true,
"temperature": 60,
"temperatureUnit": "F",
"precipitationChancePercent": 1,
"windSpeed": "7 to 10 mph",
"windDirection": "W",
"shortForecast": "Sunny",
"detailedForecast": "...",
"forecastUpdated": "2026-11-08T...",
"source": "National Weather Service API (api.weather.gov)"
}
  • An observation row (kind: "observation") holds station, timestamp, temperatureC, temperatureF, dewpointC, humidityPercent, windSpeedKmh, windGustKmh, pressurePa, visibilityM, textDescription and rawMetar.
  • An alert row (kind: "alert") holds event, severity, urgency, certainty, headline, areaDesc, sent, onset, expires, senderName, description and instruction.
  • Free items have type: not-found, error or info.

Pricing (pay per event)

EventPriceWhen
rowUSD 0.002one forecast period, hourly period, observation or alert pushed to the dataset

Free: error items, not-found items, the note "no active alert" and the note that maxResults stopped the run. 1,000 rows cost USD 2. You pay no more than the maximum charge that you set for a run.

Data source and terms

  • Source: the National Weather Service API, https://api.weather.gov (documentation: https://www.weather.gov/documentation/services-web-api). No key.
  • Terms (read 2026-11-08): the NWS describes the API as "intended to be open data, free to use for any purpose". Its disclaimer page says NWS information is in the public domain. You may use it for any lawful purpose if you do not claim it as your own, imply an endorsement, or modify it and present it as official.
  • The NWS asks every client to send a User-Agent with a contact. The actor does. The NWS does not publish its rate limit and says a blocked request can be retried after about 5 seconds. The actor sends one request at a time, 300 ms apart, and waits and retries when the NWS asks.
  • This actor is not affiliated with or endorsed by NOAA or the NWS. It is provided without warranty.

Reliability

A run fails with exit code 1 and an ERROR line in the log in these cases:

  • more than half of the steps fail, or 4 steps in a row fail, after the retries;
  • many answers are not JSON or lack the forecast data (each counts as a failed step; one such answer alone is a free error item).

The rows found until then stay in the dataset. The run summary is in the default key-value store under SUMMARY, the counts under STATS.

More official-data actors by darikami: European company registers · SEC company fundamentals · Swiss UID validator · French company search. In an AI agent: ask the Apify MCP server (mcp.apify.com) for darikami/us-weather-nws.