US Weather Forecast

The National Weather Service forecast for any US place by latitude and longitude: the 7-day day and night periods or hour by hour, with temperature, chance of rain or snow, wind speed, gusts and direction and the forecast text, for one place or up to 50 places per run.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 25 fieldsv1.0

Data from api.weather.gov

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Latitudeoptional
Latitude of a US place, such as 43.0481. Give it with longitude, or list places in locations.
Example: 43.0481
Longitudeoptional
Longitude of the place, such as -76.1474 (west is negative).
Example: -76.1474
Locationsoptional
Several places in one run, each as "latitude,longitude" text such as 40.7128,-74.006. Up to 50, read after the latitude and longitude above. One per line.
Example: 40.7128,-74.006 · 41.8781,-87.6298
Hourlyoptional
true for hour-by-hour periods (about 156 hours ahead); false for the 14 day and night periods of the 7-day forecast.
Unitsoptional
us for degrees Fahrenheit and mph, si for degrees Celsius and km/h.

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/nws-forecast/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/nws-forecast/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"latitude":43.0481},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

latitudenumber
Latitude of a US place, such as 43.0481. Give it with longitude, or list places in locations.
example: 43.0481
longitudenumber
Longitude of the place, such as -76.1474 (west is negative).
example: -76.1474
locationslist
Several places in one run, each as "latitude,longitude" text such as 40.7128,-74.006. Up to 50, read after the latitude and longitude above.
example: 40.7128,-74.006, 41.8781,-87.6298
hourlyyes/no
true for hour-by-hour periods (about 156 hours ahead); false for the 14 day and night periods of the 7-day forecast.
default: falseexample: false
unitstext
us for degrees Fahrenheit and mph, si for degrees Celsius and km/h.
default: usexample: usone of: us, si

What's in each record

25 fields.

Basics

  • Forecast office

    Weather Forecast Office that writes the forecast, such as BGM (Binghamton, NY).

    Example BGM

  • Elevation m

    Elevation of the forecast area in meters.

    Example 121.9

  • Period number

    Order of the period in the forecast, from 1.

    Example 1

  • Period name

    Name of the period, such as Tonight or Sunday Night; empty for hourly periods.

    Example Tonight

  • Local start

    Start of the period in the place's local time with its UTC offset, such as 2026-12-05T18:00:00-05:00.

    Example Dec 6, 2026

  • Daytime

    True for a daytime period, false for a night period.

    Example No

  • Temperature

    Forecast temperature: the high for a day period, the low for a night period, the expected value for an hour.

    Example 34

  • Temperature unit

    Unit of temperature: F or C.

    Example F

  • Precipitation chance

    Chance of rain, snow or other precipitation, in percent.

    Example 0%

  • Wind speed

    Wind speed as forecast, such as 5 to 10 mph.

    Example 3 mph

  • Maximum wind speed

    Highest wind speed in wind_speed as a number, in mph (or km/h with units si).

    Example 3

  • Wind gust

    Wind gust in mph (or km/h with units si): the highest gust the detailed text names for a 7-day period (empty when it names none), the forecast grid's gust for an hour.

    Example 30

  • Wind direction

    Compass direction the wind blows from, such as NE.

    Example NE

  • Short forecast

    Short summary, such as Rain Showers or Mostly Sunny.

    Example Cloudy

  • Detailed forecast

    Full forecast text of the period; empty for hourly periods.

    Example Cloudy, with a low around 34. Northeast wind around 3 mph.

Location

  • Latitude

    Latitude of the forecast point (rounded to 4 decimals).

    Example 43.0481

  • Longitude

    Longitude of the forecast point (rounded to 4 decimals).

    Example -76.1474

  • City

    Nearest city the weather service names for the point.

    Example Syracuse

  • State

    Two-letter state or territory of that city.

    Example NY

Dates

  • Time zone

    Time zone of the place, such as America/New_York.

    Example America/New_York

  • Start at

    When the period starts (UTC).

    Example Dec 6, 2026

  • End at

    When the period ends (UTC).

    Example Dec 6, 2026

  • Updated

    When forecasters last updated this forecast (UTC).

    Example Dec 5, 2026

Pictures and media

Technical detailsField names and types for developers

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
latitudenumberLatitude3 of 3
longitudenumberLongitude3 of 3
citytextCity3 of 3
statetextState3 of 3
forecast_officetextForecast office3 of 3
time_zonetextTime zone3 of 3
elevation_mnumberElevation m3 of 3
period_numbernumberPeriod number3 of 3
period_nametextPeriod name3 of 3
start_atdate and timeStart at3 of 3
end_atdate and timeEnd at3 of 3
local_starttextLocal start3 of 3
is_daytimeyes or noDaytime3 of 3
temperaturenumberTemperature3 of 3
temperature_unittextTemperature unit3 of 3
precipitation_chancenumberPrecipitation chance3 of 3
wind_speedtextWind speed3 of 3
wind_speed_maxnumberMaximum wind speed3 of 3
wind_gustnumberWind gust2 of 3
wind_directiontextWind direction3 of 3
short_forecasttextShort forecast3 of 3
detailed_forecasttextDetailed forecast3 of 3
iconimage linkIcon3 of 3
updated_atdate and timeUpdated3 of 3
urllinkLink3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordForecast officeElevation mPeriod numberPeriod nameLocal startDaytimeTemperatureTemperature unitPrecipitation chanceWind speedMaximum wind speedWind gustWind directionShort forecastDetailed forecastLatitudeLongitudeCityStateTime zoneStart atEnd atUpdatedLinkIcon
1BGM121.91TonightDec 6, 2026No34F0%3 mph3—NECloudyCloudy, with a low around 34. Northeast wind around 3 mph.43.0481-76.1474SyracuseNYAmerica/New_YorkDec 6, 2026Dec 6, 2026Dec 5, 2026forecast.weather.gov/MapClick.php?lat=43.0481&lon=-76.1474api.weather.gov/icons/land/night/ovc?size=medium
2BGM121.92SundayDec 6, 2026Yes54F11%2 to 15 mph1530SEMostly CloudyMostly cloudy, with a high near 54. Southeast wind 2 to 15 mph, with gusts as high as 30 mph.43.0481-76.1474SyracuseNYAmerica/New_YorkDec 6, 2026Dec 6, 2026Dec 5, 2026forecast.weather.gov/MapClick.php?lat=43.0481&lon=-76.1474api.weather.gov/icons/land/day/bkn?size=medium
3BGM121.93Sunday NightDec 6, 2026No45F97%15 to 21 mph2140SRain ShowersRain showers. Cloudy. Low around 45, with temperatures rising to around 56 overnight. South wind 15 to 21 mph, with gusts as high as 40 mph. Chance of precipitation is 100%. New rainfall amounts between a tenth and quarter of an inch possible.43.0481-76.1474SyracuseNYAmerica/New_YorkDec 6, 2026Dec 7, 2026Dec 5, 2026forecast.weather.gov/MapClick.php?lat=43.0481&lon=-76.1474api.weather.gov/icons/land/night/rain_showers,100/rain_showers,90?size=medium

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • US places only (the 50 states, DC, Puerto Rico, Guam and the other US territories). Places outside the weather service's area, and most points out at sea, have no forecast.
  • The 7-day forecast has 14 day and night periods; the hourly forecast reaches about 156 hours (six and a half days) ahead. Period names and the detailed text come with the 7-day periods only.
  • For 7-day periods wind_gust is read from the forecast text, which names gusts only when they are notable, so it is often empty. Hourly gusts come from the forecast grid and can be empty for the last hours.
  • Local forecast offices update forecasts several times a day. The weather service now and then serves an older forecast for a while, so check updated_at.
  • At most 50 places per run, read one after another. A place the weather service cannot serve is skipped and the other places still come back.
  • Data from the US National Weather Service (NOAA), in the public domain. The National Weather Service does not endorse this API.

Version history

A run uses the live version unless the request names another one with version.