Documentation menu
styles
GET/styles/{spec}
Public. No key, and no quota deducted.
What it does
spec is <id>@<version>.json for an immutable version (cached
forever) or <id>.json for the latest (60 s TTL).
Call it
bash
curl -fsS -X GET "https://api.mapmap.ai/styles/{spec}"Parameters
| Name | In | Required | Description |
|---|---|---|---|
| spec | path | yes | <id>@<version>.json (immutable) or <id>.json (latest) |
Responses
200The compiled MapLibre style (spec v8)
404Hosted styles not configured, unknown style or version
Error bodies follow the shared problem model documented on API conventions.
Also under styles
Generated from https://api.mapmap.ai/openapi.json on 2026-09-17 · operationId get_style_json