Documentation menu
GET/v1/weather/frames
Access and price
| Auth | An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Metered. A browser (maps) key may call it. |
|---|---|
| Price | 1 call per request. Class: standard. Published as unit_rules.default in /pricing.json. |
What it does
The NOAA GFS forecast frames MapMap processes for the map: kept runs (newest first), each frame's valid time and file paths, how each field's PNG bytes decode (encodings), a base URL the paths resolve against and a tiles template for the pressure-line and rain/temperature tile ids. A forecast, not an observation; derived from NOAA GFS and modified by MapMap; no endorsement by or affiliation with NOAA is implied. Freshness is a field (ok, stale, unknown), never an error. When the key is sent as ?api_key=, the same key is stamped onto base and tiles. One Standard unit per request; a browser (maps) key may call it.
Call it
curl -fsS -X GET "https://api.mapmap.ai/v1/weather/frames" \
-H "Authorization: Bearer $MAPMAP_KEY"Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| run | query | string | no | One kept run, YYYYMMDDHH. 404 run-not-found if it is not kept; 400 invalid-run if malformed |
| latest | query | integer | no | 1: only the newest run. Default: every kept run Limits: at least 0. |
Responses
| Field | Type | Required | Description |
|---|---|---|---|
| age_s | integer | no | Seconds since generated_at. null with no manifest. |
| attribution | object | yes | The credit, verbatim from the manifest. |
| base | string | yes | Frame paths below resolve against this URL. |
| encodings | object | yes | How each field's PNG bytes decode, verbatim from the manifest. |
| generated_at | string | no | The manifest's own generation time (RFC 3339). null with no manifest. |
| label | string | yes | Forecast, not an observation. |
| model | WeatherModel | yes | The model. |
| note | string | yes | The modification and no-endorsement note. |
| processed_by | string | yes | Always MapMap. |
| runs | WeatherRun[] | yes | Kept runs, newest first. |
| status | string | yes | ok, stale or unknown. |
| threshold_s | integer | yes | The age after which the manifest reads stale, seconds. |
| tiles | string | yes | Tile URL template for the gateway ids on each frame
(rain, temp: png; isobars: mvt). |
Example: A response assembled from this schema's own field examples, enums, defaults and types; not a recorded call
{
"attribution": {},
"base": "string",
"encodings": {},
"label": "string",
"model": {
"horizon_h": 0,
"id": "string",
"step_h": 0
},
"note": "string",
"processed_by": "string",
"runs": [
{
"frames": [
{}
],
"run": "string",
"run_id": "string"
}
],
"status": "string",
"threshold_s": 0,
"tiles": "string"
}invalid-run or invalid-latest. Not billedapplication/problem+json · Problem
unauthorized); the body carries signup, docs and a one-call hint for a free keyapplication/problem+json · Problem
X-PAYMENT). Not problem+jsonapplication/json · X402PaymentRequired
scope-insufficient), a request from an origin the key does not allow (origin-not-allowed), or an account restriction (forbidden)application/problem+json · Problem
run-not-found. Not billedapplication/problem+json · Problem
rate-limited, with Retry-After), or monthly quota exhausted with no payment path (quota-exceeded)application/problem+json · Problem
SN_WEATHER_DIR unset). Not billedapplication/problem+json · Problem
request-timeout)application/problem+json · Problem
Error bodies follow the shared problem model documented on API conventions.
Also under Weather
Generated from https://api.mapmap.ai/openapi.json on 2026-11-12 · operationId get_weather_frames