Documentation menu
GET/v1/space-weather/aurora.png
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 aurora probability grid: a 360 by 181 8-bit grey PNG, one byte per cell holding the probability in percent, column 0 at 180 W, row 0 at 90 N. A forecast, not an observation. Never served stale: a forecast older than an hour, or no file, is 404 aurora-unavailable. Carries an ETag; If-None-Match answers 304. One Standard unit per request.
Call it
curl -fsS -X GET "https://api.mapmap.ai/v1/space-weather/aurora.png" \
-H "Authorization: Bearer $MAPMAP_KEY"Responses
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
aurora-unavailable: the forecast is older than an hour or missing. 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_LIVE_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 Events and live layers
Generated from https://api.mapmap.ai/openapi.json on 2026-11-12 · operationId get_aurora_png