US Weather Forecast by Location API

Official US National Weather Service forecast for any latitude and longitude: day and night or hourly periods with temperature, rain chance, wind and the written forecast, plus the nearest city, state and forecast grid point.

$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, 18 fieldsv1.0

Data from api.weather.gov/points/%7Blat%7D,%7Blon%7D

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

Locations
Places as latitude,longitude text, such as ["40.7128,-74.006"]. One per line.
Example: 40.7128,-74.006
Hourlyoptional
True for hourly periods instead of day and night periods.
Unitsoptional
us (Fahrenheit, mph) or si (Celsius, 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/us-weather-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/us-weather-forecast/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"locations":["40.7128,-74.006"]},"max_items":50}'

Inputs

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

locationslistrequired
Places as latitude,longitude text, such as ["40.7128,-74.006"].
example: 40.7128,-74.006
hourlyyes/no
True for hourly periods instead of day and night periods.
default: falseexample: false
unitstext
us (Fahrenheit, mph) or si (Celsius, km/h).
default: usexample: usone of: us, si

What's in each record

18 fields.

Basics

  • Office

    Code of the weather office that issues the forecast.

    Example OKX

  • Grid x

    X position on the office's forecast grid.

    Example 33

  • Grid y

    Y position on the office's forecast grid.

    Example 42

  • Period number

    Order of the period, starting at 1.

    Example 1

  • Period name

    Name of the period, such as Tonight or Monday.

    Example Tonight

  • Daytime

    True for a daytime period.

    Example No

  • Temperature

    Forecast temperature in the unit named in temperature_unit.

    Example 47

  • Temperature unit

    F or C.

    Example F

  • Precipitation probability

    Chance of precipitation in percent.

    Example 0%

  • Wind speed

    Wind speed as the service writes it, such as 10 to 15 mph.

    Example 10 to 14 mph

  • Wind direction

    Wind direction, such as NW.

    Example N

  • Short forecast

    Short summary, such as Mostly Cloudy.

    Example Mostly Cloudy

  • Detailed forecast

    The full written forecast for the period.

    Example Mostly cloudy, with a low around 47. North wind 10 to 14 mph.

Location

  • Location

    The latitude,longitude you asked for.

    Example 40.7128,-74.006

  • City

    Nearest city the weather service names for the point.

    Example New York

  • State

    Two-letter state of that city.

    Example NY

Dates

  • Start time

    When the period starts (UTC).

    Example Dec 6, 2026

  • End time

    When the period ends (UTC).

    Example Dec 6, 2026

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
locationtextLocation3 of 3
citytextCity3 of 3
statetextState3 of 3
officetextOffice3 of 3
grid_xnumberGrid x3 of 3
grid_ynumberGrid y3 of 3
period_numbernumberPeriod number3 of 3
period_nametextPeriod name3 of 3
start_timedate and timeStart time3 of 3
end_timedate and timeEnd time3 of 3
is_daytimeyes or noDaytime3 of 3
temperaturenumberTemperature3 of 3
temperature_unittextTemperature unit3 of 3
precipitation_probabilitynumberPrecipitation probability3 of 3
wind_speedtextWind speed3 of 3
wind_directiontextWind direction3 of 3
short_forecasttextShort forecast3 of 3
detailed_forecasttextDetailed forecast3 of 3

How it reads the site

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

Sample records

Sample records
RecordOfficeGrid xGrid yPeriod numberPeriod nameDaytimeTemperatureTemperature unitPrecipitation probabilityWind speedWind directionShort forecastDetailed forecastLocationCityStateStart timeEnd time
1OKX33421TonightNo47F0%10 to 14 mphNMostly CloudyMostly cloudy, with a low around 47. North wind 10 to 14 mph.40.7128,-74.006New YorkNYDec 6, 2026Dec 6, 2026
2OKX33422SundayYes57F7%10 to 14 mphEMostly CloudyMostly cloudy. High near 57, with temperatures falling to around 54 in the afternoon. East wind 10 to 14 mph.40.7128,-74.006New YorkNYDec 6, 2026Dec 6, 2026
3OKX33423Sunday NightNo56F100%15 to 25 mphSERainRain after 10pm. Cloudy. Low around 56, with temperatures rising to around 63 overnight. Southeast wind 15 to 25 mph. Chance of precipitation is 100%. New rainfall amounts between a half and three quarters of an inch possible.40.7128,-74.006New YorkNYDec 6, 2026Dec 7, 2026

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
  • United States and territories only; a point outside the weather service's coverage is skipped.
  • Each location needs two requests (grid lookup, then forecast), so a long list of locations takes proportionally longer.
  • Day and night mode gives about 14 periods (7 days); hourly mode gives up to 156 periods per location.
  • The service sometimes answers with a temporary server error; those are retried, and a location that keeps failing is skipped.
  • precipitation_probability is empty for periods where the service gives no value.
  • Forecasts are updated by the weather offices a few times a day.
  • 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.