Skip to content
Documentation menu
docs / api / get-v1-static-map
Tiles, styles and map assets

GET/v1/static-map

Access and price

AuthAn API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Metered. A browser (maps) key may call it.
PriceA flat 15 calls per image, on either verb; a render that times out (504) is still billed. Class: standard. Published as unit_rules.static_map in /pricing.json.

What it does

Render a map view to an image.

An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Metered. Price: A flat 15 calls per image, on either verb; a render that times out (504) is still billed.

Call it

bash
curl -fsS -X GET "https://api.mapmap.ai/v1/static-map" \
  -H "Authorization: Bearer $MAPMAP_KEY"

Parameters

NameInTypeRequiredDescription
centerquerystringnoCamera centre as lon,lat; requires zoom
zoomquerynumbernoZoom level 0-20, required with center
bboxquerystringnoFit the camera to west,south,east,north instead of center/zoom
sizequerystringnoWxH in pixels, up to 1280 on either side; append @2x for double pixel density
bearingquerynumbernoCamera bearing in degrees
pitchquerynumbernoCamera pitch in degrees, capped at 85
stylequerystringnoA first-party base id: light (default), dark, streets, midnight, navigator-day, navigator-night, fleet, outdoor, dataviz, backdrop or print. fleet is the palette only: its vehicle-restriction overlay is a mapmap.ai runtime layer and no rendered image carries it. Or a hosted style id (optionally @version; resolved before the render, so an id this deployment does not host is a fast 404 and is not billed), or an https:// style URL on an allowlisted MapMap host
formatquerystringnopng (default), webp or jpeg
qualityqueryintegerno1-100 for the lossy formats Limits: at least 0.
routequerystringnoEncoded polyline overlay (alias polyline)
precisionqueryintegernoPolyline precision: 6 (default, POST /route) or 5 (GET /route/v1) Limits: at least 0.
geojsonquerystringnoGeoJSON overlay; repeatable, or send the value in a POST body
markersquerystringnolon,lat[,label[,colour]] pins, ;-separated, up to 50
satellitequerybooleannoSatellite imagery where the pilot region has coverage
buildings3dquerybooleanno3D building extrusions; pair with a pitch
langquerystringnolocal, or an ISO 639 code, for map labels
poisquerybooleanno0/false hides POI labels, 1/true shows them; omitted, the chosen style decides (the navigator, dataviz and backdrop bases draw none)

Responses

200The rendered image, with the renderer's own ETag and Cache-Control
304Not modified (the request carried a matching If-None-Match)
400The renderer rejected the parameters (problem+json); no image was drawn and the units are returned

application/problem+json · Problem

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

404style named a hosted style id this deployment does not host (problem+json); refused before any render, so the units are returned

application/problem+json · Problem

414The query string is over the renderer's cap (problem+json); send the overlay as a POST body instead. No image was drawn and the units are returned

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 renderer produced no image within the deadline, after its own retry on a fresh browser (problem+json). Billed as a render. Also: The 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_static_map