All docsPlaygroundStatic Images API

Static Images API

The Static Images API produces standalone map images that can be displayed on web and mobile devices without the aid of a mapping library or API. They look like an embedded map without interactivity or controls.

To generate a Static Images API request, enter values for each parameter or position the map below.

Parameters
from your account page
in pixels
in pixels
zoom level
Optional parameters
rotate map
tilt map
add a marker, path, or GeoJSON
render map at 2x scale
style parameters change map style at render time
Request URL
https://api.mapbox.com/styles/v1/{username}/{style_id}/static/{overlay}/{lon},{lat},{zoom},{bearing},{pitch}|{auto}|{bbox}/{width}x{height}{padding}{@2x}