Skip to content
Documentation menu
docs / api / get-pointclouds-dataset-file
Tiles, styles and map assets

GET/pointclouds/{dataset}/{file}

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.
PriceNever billed on the hosted gateway: hosted storage is the paid product. Rate-limited on its own bucket. Class: standard. Published as unit_rules.pointcloud_payloads in /pricing.json.

What it does

Key-authenticated and scoped to the dataset's manifest (owning identity, listed keys, or public: anything else 404s). Supports a single bytes= Range (206 with Content-Range). Never billed: the hosted storage is the paid product, so serving draws no units and no credit (a self-hosted operator may opt in to counting chunk units against included volume with SN_POINTCLOUD_METER_DIVISOR).

Call it

bash
curl -fsS -X GET "https://api.mapmap.ai/pointclouds/{dataset}/{file}" \
  -H "Authorization: Bearer $MAPMAP_KEY"

Parameters

NameInTypeRequiredDescription
datasetpathstringyesDataset id, e.g. acme-depot
filepathstringyesPayload or sidecar file, e.g. corridor-a.bin or corridor-a.json

Responses

200The whole file
206The requested byte range
304Not modified (If-None-Match matched the ETag)
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

404Point clouds not configured, unknown dataset/file, or this key is not allowed this dataset

application/problem+json · Problem

416Requested range not satisfiable

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 Tiles, styles and map assets

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