Documentation menu
POST/v1/static-map
Access and price
| Auth | An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Metered. A browser (maps) key may call it. |
|---|---|
| Price | A 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. |
| Premium | When 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
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
"string"Responses
application/problem+json · Problem
unauthorized); the body carries signup, docs and a one-call hint for a free keyapplication/problem+json · Problem
X-PAYMENT). Not problem+jsonapplication/json · X402PaymentRequired
scope-insufficient), a request from an origin the key does not allow (origin-not-allowed), or an account restriction (forbidden)application/problem+json · Problem
style named a hosted style id this deployment does not host (problem+json); refused before any render, so the units are returnedapplication/problem+json · Problem
text/plain
application/problem+json · Problem
rate-limited, with Retry-After), or monthly quota exhausted with no payment path (quota-exceeded)application/problem+json · Problem
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