Pushbuild

US Weather API - Forecast, Hourly, Current & Alerts

National Weather Service data for any US ZIP code, city or coordinates: 7-day forecast, hourly forecast, latest observed conditions and active severe-weather alerts. Official public-domain source.

$1.60 per 1,000 locations

Get an API key

What it returns

Official National Weather Service data for any US location, as clean JSON.

7-day forecast**: day and night periods with temperature, precipitation chance, wind and text forecast. Hourly forecast**: up to 156 hours. Current conditions**: latest reading from the nearest station (temperature, humidity, wind, pressure, visibility). Active alerts**: watches, warnings and advisories with severity, timing and instructions.

Request

POST https://api.pushbuild.com/us-weather/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
locations requiredlist of stringsUS ZIP codes, "City, ST" or "lat,lon".
forecastbooleanDay and night periods for the next 7 days. Default: true.
hourlybooleanHour-by-hour forecast. Default: false.
hourlyHoursintegerHow many hours to return (max 156). Default: 48.
currentbooleanLatest observation from the nearest weather station. Default: true.
alertsbooleanWatches, warnings and advisories in effect at the location. Default: true.
unitsstring: us, metricUnits for the forecasts. Current conditions are always metric. Default: "us".
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/us-weather/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"locations": ["10001", "Austin, TX", "47.6062,-122.3321"], "maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $1.60 per 1,000 locations. No charge for errors or empty searches.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.