Skip to content
Documentation menu
docs / api / get-territories-id-version-manifest
Offline territories

GET/territories/{id}/{version}/manifest

Also served at /territories/{id}/{version}/manifest.json: the same operation and price.

Access and price

AuthAn API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Metered. Needs a full key; a browser (maps) key is refused.
Price1 call per request. Class: standard. Published as unit_rules.default in /pricing.json.

What it does

A version's signed package manifest (manifest.json, exact signed bytes).

An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Metered. Price: 1 call per request.

Also served at /territories/{id}/{version}/manifest.json (the manifest_path each channel index entry lists, which the SDKs fetch as written): the same handler, body, answer and price.

Call it

bash
curl -fsS -X GET "https://api.mapmap.ai/territories/{id}/{version}/manifest" \
  -H "Authorization: Bearer $MAPMAP_KEY"

Parameters

NameInTypeRequiredDescription
idpathstringyesTerritory id, e.g. uk
versionpathstringyesPublished package version, e.g. 2.0.0

Responses

200The signed package manifest (exact bytes)
FieldTypeRequiredDescription
attributionobjectnoLicence notices, the OSM attribution, whether ODbL applies and how to recreate the data.
bboxnumber[]no[west, south, east, north].
created_atstringnoWhen the package was built.
data_timestampstringnoTimestamp of the OSM data inside.
display_namestringnoHuman name.
format_versionintegernoManifest format version.
layersobject[]noThe package layers (routing graph, tiles, search and so on): kind, path, bytes and the blake3 hash each is verified against.
territory_idstringnoTerritory id.
versionstringnoPackage version.

Example: Recorded from the hosted gateway on 2026-11-05 with a test key: GET /territories/andorra/2026.1030.2105/manifest; lists trimmed to their first items

json
{
  "attribution": {
    "notices": [
      "Map tile schema © OpenMapTiles (openmaptiles.org), CC-BY 4.0.",
      "Label fonts: MapMap Sans © MapMap AI Ltd (based on Inter © The Inter Project Authors) and Noto Sans © Google, all licensed under the SIL Open Font License 1.1 (packaged styles reference hosted glyphs; the OFL licence text is available at https://openfontlicense.org)."
    ],
    "odbl": true,
    "osm_attribution": "© OpenStreetMap contributors",
    "recreation_recipe": "https://mapmap.ai/open-source#odbl-compliance"
  },
  "bbox": [
    1.3,
    42.4,
    1.9,
    42.7
  ],
  "created_at": "2026-10-30T21:05:20.048447368Z",
  "data_timestamp": "2026-10-28T21:21:02Z",
  "display_name": "Andorra",
  "format_version": 1,
  "layers": [
    {
      "blake3": "7ede7fb5ecb1131fb7b8c152df5790a394fd86446b38d369b90eacca39ef5b34",
      "bytes": 3153848,
      "kind": "valhalla-tiles",
      "path": "valhalla"
    },
    {
      "blake3": "c2f2257a2cc9daec9318d9ee4d8b7b4d9a9ec70a42a6975022236a605e40921c",
      "bytes": 3283214,
      "kind": "pmtiles",
      "path": "render/andorra.pmtiles"
    }
  ],
  "territory_id": "andorra",
  "version": "2026.1030.2105"
}
304Not modified
401No key, or a missing, malformed, unknown, revoked or expired one (unauthorized); the body carries signup, docs and a one-call hint for a free key

application/problem+json · Problem

402Beyond the included volume with no way to pay this call: an x402 body naming how to pay (provisional key past its allowance, prepaid balance below the price, or a rejected X-PAYMENT). Not problem+json

application/json · X402PaymentRequired

403The key may not call this: a browser key outside its scope (scope-insufficient), a request from an origin the key does not allow (origin-not-allowed), or an account restriction (forbidden)

application/problem+json · Problem

404Unknown territory or version

application/problem+json · Problem

429Per-key rate limit (rate-limited, with Retry-After), or monthly quota exhausted with no payment path (quota-exceeded)

application/problem+json · Problem

504The request did not finish within the gateway's request deadline (request-timeout)

application/problem+json · Problem

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

Also under Offline territories

Generated from https://api.mapmap.ai/openapi.json on 2026-11-12 · operationId get_manifest