Weather & climate / weather.nws.forecast
US NWS location forecast with periods, units and source receipts
NWS land forecast for latitude/longitude, with us or si units, forecast periods, grid location, source timestamps and SHA-256 receipts. US coverage only. Original NOAA/NWS data are free at api.weather.gov; the fee is for Grid904 validated delivery. Not current observations or emergency alerts. Unsupported, stale or failed forecasts do not settle payment.
API CONTRACTGET / x402
/v1/weather/forecastParameters
| Parameter | Location | Description | Example |
|---|---|---|---|
latitude | query | Latitude in decimal degrees from -90 to 90, at most six decimal places; canonical NWS point rounds to four decimals. | 41.8781 |
longitude | query | Longitude in decimal degrees from -180 to 180, at most six decimal places; canonical NWS point rounds to four decimals. | -87.6298 |
units | query | Source unit mode: us (Fahrenheit and mph; default) or si (Celsius and km/h). Values are not converted by Grid904. | us |
Limited response preview
Illustrative, deliberately bounded sample. The complete response requires payment.
{
"data": {
"source": "NOAA/National Weather Service",
"notice": "Source: NOAA/National Weather Service. NWS forecast material is public domain and not subject to copyright protection. The original source is free at api.weathe…",
"normalizer_version": "nws-location-v1",
"requested_coordinates": {
"latitude": "41.8781",
"longitude": "-87.6298"
},
"canonical_coordinates": {
"latitude": 41.8781,
"longitude": -87.6298
},
"location": {
"grid_id": "LOT",
"grid_x": 76,
"grid_y": 73,
"time_zone": "America/Chicago",
"nearby_city": "Chicago",
"nearby_state": "IL"
},
"units": "us",
"generated_at": "2026-12-05T03:49:12+00:00",
"source_update_time": "2026-12-05T03:41:05+00:00",
"valid_times": "2026-12-04T21:00:00+00:00/P7DT4H"
},
"meta": {
"preview": true,
"endpoint": "weather.nws.forecast"
}
}Response schema
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"notice": {
"type": "string"
},
"normalizer_version": {
"type": "string",
"const": "nws-location-v1"
},
"requested_coordinates": {
"type": "object",
"properties": {
"latitude": {
"type": "string"
},
"longitude": {
"type": "string"
}
},
"required": [
"latitude",
"longitude"
],
"additionalProperties": false
},
"canonical_coordinates": {
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180
}
},
"required": [
"latitude",
"longitude"
],
"additionalProperties": false
},
"location": {
"type": "object",
"properties": {
"grid_id": {
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"grid_x": {
"type": "integer",
"minimum": 0,
"maximum": 9999
},
"grid_y": {
"type": "integer",
"minimum": 0,
"maximum": 9999
},
"time_zone": {
"type": "string"
},
"nearby_city": {
"type": [
"string",
"null"
]
},
"nearby_state": {
"type": [
"string",
"null"
]
}
},
"required": [
"grid_id",
"grid_x",
"grid_y",
"time_zone",
"nearby_city",
"nearby_state"
],
"additionalProperties": false
},
"units": {
"type": "string",
"enum": [
"us",
"si"
]
},
"generated_at": {
"type": "string",
"format": "date-time"
},
"source_update_time": {
"type": "string",
"format": "date-time"
},
"valid_times": {
"type": "string",
"description": "Source ISO8601 validity interval; preserved without replacing it with capture time."
},
"source_period_count": {
"type": "integer",
"minimum": 1,
"maximum": 16
},
"returned_period_count": {
"type": "integer",
"minimum": 1,
"maximum": 16
},
"omitted_expired_periods": {
"type": "integer",
"minimum": 0,
"maximum": 15
},
"periods": {
"type": "array",
"minItems": 1,
"maxItems": 16,
"items": {
"type": "object",
"properties": {
"number": {
"type": "integer",
"minimum": 1
},
"name": {
"type": "string"
},
"startTime": {
"type": "string",
"format": "date-time"
},
"endTime": {
"type": "string",
"format": "date-time"
},
"isDaytime": {
"type": "boolean"
},
"temperature": {
"type": "number",
"minimum": -200,
"maximum": 200
},
"temperatureUnit": {
"type": "string",
"enum": [
"F",
"C"
]
},
"temperatureTrend": {
"type": [
"string",
"null"
]
},
"probabilityOfPrecipitation": {
"type": "object",
"properties": {
"unitCode": {
"type": "string",
"const": "wmoUnit:percent"
},
"value": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 100
}
},
"required": [
"unitCode",
"value"
],
"additionalProperties": false
},
"windSpeed": {
"type": "string",
"description": "Unconverted source representation including ranges and unit (mph or km/h), or Calm."
},
"windDirection": {
"type": "string"
},
"shortForecast": {
"type": "string"
},
"detailedForecast": {
"type": "string"
}
},
"required": [
"number",
"name",
"startTime",
"endTime",
"isDaytime",
"temperature",
"temperatureUnit",
"temperatureTrend",
"probabilityOfPrecipitation",
"windSpeed",
"windDirection",
"shortForecast",
"detailedForecast"
],
"additionalProperties": false
}
},
"fetched_at": {
"type": "string",
"format": "date-time"
},
"served_at": {
"type": "string",
"format": "date-time"
},
"source_receipts": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"raw_sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"bytes": {
"type": "integer",
"minimum": 1,
"maximum": 262144
},
"fetched_at": {
"type": "string",
"format": "date-time"
},
"last_validated_at": {
"type": "string",
"format": "date-time"
},
"validation_status": {
"type": "integer",
"enum": [
200,
304
]
},
"etag": {
"type": [
"string",
"null"
]
},
"last_modified": {
"type": [
"string",
"null"
]
},
"cache_expires_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"url",
"raw_sha256",
"bytes",
"fetched_at",
"last_validated_at",
"validation_status",
"etag",
"last_modified",
"cache_expires_at"
],
"additionalProperties": false
}
},
"forecast_geometry": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "Polygon"
},
"coordinates": {
"type": "array",
"minItems": 1,
"maxItems": 4,
"items": {
"type": "array",
"minItems": 4,
"maxItems": 64,
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number"
}
}
}
}
},
"required": [
"type",
"coordinates"
],
"additionalProperties": false
}
},
"required": [
"source",
"notice",
"normalizer_version",
"requested_coordinates",
"canonical_coordinates",
"location",
"units",
"generated_at",
"source_update_time",
"valid_times",
"source_period_count",
"returned_period_count",
"omitted_expired_periods",
"periods",
"fetched_at",
"served_at",
"source_receipts",
"forecast_geometry"
],
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"endpoint": {
"type": "string"
},
"as_of": {
"type": [
"string",
"null"
],
"description": "Date the underlying data is current to."
},
"updated_at": {
"type": [
"string",
"null"
],
"description": "When the stored record was last refreshed. Null in illustrative previews, which make no freshness claim."
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"preview": {
"type": "boolean",
"description": "True only for illustrative discovery examples. Paid responses carry actual record metadata."
}
},
"required": [
"endpoint",
"updated_at",
"sources"
]
}
},
"required": [
"data",
"meta"
]
}