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

POST/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, or premium for truck and ADR work. Published as unit_rules.static_map in /pricing.json.
PremiumWhen the body asks for truck routing: "costing": "truck", a top-level adr object or "hazmat": true

What it does

The same render, with the GeoJSON overlay in the body because a real isochrone does not fit in a URL.

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 POST "https://api.mapmap.ai/v1/static-map" \
  -H "Authorization: Bearer $MAPMAP_KEY" \
  -H "Content-Type: application/json" \
  -d '"string"'

Request body

application/json

The GeoJSON overlay itself; a Feature, FeatureCollection, bare geometry, or an array of those. Not an envelope object. Every other parameter still travels in the query string

Example: A request assembled from this schema's own field examples, enums, defaults and types; not a recorded call

json
"string"

Responses

200The rendered image, with the renderer's own ETag and Cache-Control
400The renderer rejected the parameters or the overlay (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

413The overlay body is over the renderer's cap (problem+json). No image was drawn and the units are returned. Also: The request declares a body larger than 1048576 bytes (plain text, not problem+json)

text/plain

414The query string is over the renderer's cap (problem+json). 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 post_static_map