API reference/Weather/NWS Forecast

NWS Forecast

freeLive data

Official National Weather Service forecast periods for a US point.

GET/api/v1/weather/us-forecast

Data source

Query parameters

ParameterDescriptionTry value
lat
number required
Latitude
lon
number required
Longitude
apikey
string required
Your API key. Can also be sent as the X-API-Key header.demo key used here

Response envelope

Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.