Weather Layers API

NOAA forecast map layers and point forecasts, decoded, reprojected and ready to drop into MapLibre or Leaflet. Paste a URL and it works. No key needed to start.

Loading forecast…

Layer

Time

–

Legend

Under the cursor

Hover the map. Values come from the value tiles, decoded in your browser.

Opacity

Click anywhere in the colored area for a point forecast.

Forecast

Use it

These snippets follow the map above. Pick a layer or move the time slider and they update.

Playground

Edit the code and press Run. It runs in your browser against the live API, with map and API already set.

Endpoints

EndpointWhat it returns
GET /v1/statusCurrent model run, its age, and whether the data is stale.
GET /v1/layersEvery layer with tile URL templates, legend, units, how to decode values, and the list of valid times.
GET /v1/tiles/{layer}/{time}/{z}/{x}/{y}.pngA 256 px map tile. {time} is now or a time from /v1/layers, such as 2026-12-01T15:00Z. Add ?style=values for value-encoded tiles. Add ?run= to pin a model run; those URLs never change and cache forever.
GET /v1/point?lat=&lon=Hourly forecast for a location from now on. Options: units=us|si (default us), hours=24, from=<time>.

Keys, limits and freshness

No key: up to 300 requests a minute per IP, enough to build and demo. With a key (?key= or an X-API-Key header): higher limits and usage tied to your app. Every response carries X-Model-Run, X-Model-Cycle, X-Data-Age-Minutes and X-Data-Stale, and JSON responses repeat them in the body, so your app can tell when the forecast is old.

Value tiles store the real number in each pixel: value = (R × 256 + G) × scale + offset, where alpha 0 means no data. The wind tiles also hold direction in blue: degrees = B × 360 / 256. Scale, offset and units for each layer are in /v1/layers.