Documentation menu
tiles
GET/tiles/{territory}/style.json
API key required, sent as Authorization: Bearer snk_… or ?api_key=snk_….
What it does
A MapLibre style for the archive. A basemap territory gets the built-in light style; a custom archive built with mapmap-tile gets a minimal style that draws its points, lines and polygons, with the archive's own attribution.
Call it
bash
curl -fsS -X GET "https://api.mapmap.ai/tiles/{territory}/style.json" \
-H "Authorization: Bearer $MAPMAP_KEY"Parameters
| Name | In | Required | Description |
|---|---|---|---|
| territory | path | yes | Territory id, e.g. uk |
Responses
200MapLibre GL style JSON
404Tiles not configured or unknown territory
Error bodies follow the shared problem model documented on API conventions.
Also under tiles
Generated from https://api.mapmap.ai/openapi.json on 2026-11-01 · operationId get_style