Skip to content

50,000 free calls a month, card-free. Get an API key →

Documentation menu
docs / api / get-tiles-territory-style-json
tiles

GET/tiles/{territory}/style.json

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

What it does

A compact light style over the territory's vector source (equivalent in spirit to the web SDK's buildStyle), pointing its vector source at this territory's TileJSON. Both required credits are retained.

Call it

bash
curl -fsS -X GET "https://api.mapmap.ai/tiles/{territory}/style.json" \
  -H "Authorization: Bearer $MAPMAP_KEY"

Parameters

NameInRequiredDescription
territorypathyesTerritory 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-09-17 · operationId get_style