Skip to content
Documentation menu
docs / api / get-v1-space-weather-aurora-png
live

GET/v1/space-weather/aurora.png

API key required, sent as Authorization: Bearer snk_… or ?api_key=snk_….

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

bash
curl -fsS -X GET "https://api.mapmap.ai/v1/space-weather/aurora.png" \
  -H "Authorization: Bearer $MAPMAP_KEY"

Responses

200The grid
304Not modified (If-None-Match matched the ETag)
404aurora-unavailable: the forecast is older than an hour or missing. Not billed
501Space weather not enabled (SN_LIVE_DIR unset). Not billed

Error bodies follow the shared problem model documented on API conventions.

Also under live

Generated from https://api.mapmap.ai/openapi.json on 2026-10-17 · operationId get_aurora_png