---
title: "`GET /v1/static-map`: render a map view to an image."
method: GET
path: "/v1/static-map"
tags: ["static-maps"]
---

# \`GET /v1/static-map\`: render a map view to an image.

`GET /v1/static-map`

## Request

- Base URL: `https://api.mapmap.ai`
- URL: `https://api.mapmap.ai/v1/static-map`
- Auth: `api_key` (a scheme the document does not define)

## Query parameters

- `center` string
- `zoom` number, double
- `bbox` string
- `size` string
- `bearing` number, double
- `pitch` number, double
- `style` string
- `format` string
- `quality` integer
- `route` string
- `precision` integer
- `geojson` string
- `markers` string
- `satellite` boolean
- `buildings3d` boolean
- `lang` string
- `pois` boolean

## Response `200`

The rendered image, with the renderer's own ETag and Cache-Control

## Other responses

- `304`: Not modified (the request carried a matching If-None-Match)
- `400`: The renderer rejected the parameters (problem+json); no image was drawn and the units are returned
- `404`: `style` named a hosted style id this deployment does not host (problem+json); refused before any render, so the units are returned
- `504`: The renderer produced no image within the deadline, after its own retry on a fresh browser (problem+json). Billed as a render

---

[API](https://skmtc.dev/mapmap/apis/sn-gateway.md) · [All operations](https://skmtc.dev/mapmap/apis/sn-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/mapmap/apis/sn-gateway/revisions/2293be8b4c38?raw)
