MapTiler Cloud API
API reference for the MapTiler Cloud services. The MapTiler Cloud API allows you to programmatically access all the data, maps, and resources in the MapTiler Cloud. Through the API, you can add a map directly to your website, request map tiles, create an image with a location map for your business, search for addresses, and more. You need an API key to use the services. Your MapTiler account…
MapTiler Cloud API endpoints
| Method | Endpoint | Description |
|---|---|---|
| Maps API | ||
| GET |
Embeddable HTML viewer /maps/{mapId}/ |
Embeddable HTML viewer |
| GET |
Style JSON of the map /maps/{mapId}/style.json |
Style JSON describing the map cartography. Can be used with various libraries to display a vector map (e.g. Mapbox GL JS, OpenLayers, ...). |
| GET |
Map symbols (sprites) /maps/{mapId}/sprite{scale}.{format} |
Map symbols (sprites) required to display the vector map. |
| GET |
Raster XYZ tiles /maps/{mapId}/{tileSize/}/{z}/{x}/{y}{scale}.{format} |
Rasterized tiles (XYZ) of the map. Can be used with various libraries to display a raster map (e.g. Leaflet, OpenLayers, ...). It's usually better (if possible) to use the… |
| GET |
TileJSON /maps/{mapId}/{tileSize/}/tiles.json |
TileJSON describing the metadata of the map as well as link to the XYZ tiles. Can be used with various libraries to display a raster map (e.g. Leaflet, OpenLayers, ...). |
| GET |
WMTS Capabilities /maps/{mapId}/WMTSCapabilities.xml |
WMTS Capabilities XML document describing the metadata of the map as well as link to the XYZ tiles. Can be used with various GIS software (e.g. QGIS) to display the map. |
| Static Maps API | ||
| GET |
Center-based image /maps/{mapId}/static/{lon},{lat},{zoom}/{width}x{height}{scale}.{format} |
Generates a raster image based on the specified center and zoom level. |
| GET |
Bounds-based image /maps/{mapId}/static/{minx},{miny},{maxx},{maxy}/{width}x{height}{scale}.{format} |
Generates a raster image based on the given bounds. |
| GET |
Auto-fitted image /maps/{mapId}/static/auto/{width}x{height}{scale}.{format} |
Generates a raster image based on the given features. The area is calculated so that all the paths and markers given in query are visible. |
| Tiles API | ||
| GET |
Tiles - Embeddable HTML viewer /tiles/{tilesId}/ |
Embeddable HTML viewer |
| GET |
XYZ tiles /tiles/{tilesId}/{z}/{x}/{y}.{format} |
The individual tiles. Can be used with various libraries to display the tiles (e.g. Leaflet, OpenLayers, ...). It's usually better (if possible) to use the TileJSON rather than… |
| GET |
Tiles - TileJSON /tiles/{tilesId}/tiles.json |
TileJSON describing the metadata of the tiles as well as link to the XYZ tiles. Can be used with various libraries to display the tiles (e.g. Leaflet, OpenLayers, ...). |
| GET |
Tiles - WMTS Capabilities /tiles/{tilesId}/WMTSCapabilities.xml |
WMTS Capabilities XML document describing the metadata of the tiles as well as link to the XYZ tiles. Can be used with various GIS software (e.g. QGIS) to display the tiles. |
| Data API | ||
| GET |
GeoJSON /data/{dataId}/features.json |
GeoJSON containing the vector features. |
| Geocoding API | ||
| GET |
Search by name (forward) /geocoding/{query}.json |
Forward geocoding (search by place name). |
| GET |
Search by coordinates (reverse) /geocoding/{longitude},{latitude}.json |
Reverse geocoding (search by coordinates). |
| Geolocation API | ||
| GET |
IP Geolocation /geolocation/ip.json |
Obtain information about visitor's location based on IP address of the incoming request. |
| Coordinates API | ||
| GET |
Search coordinate systems /coordinates/search/{query}.json |
Search coordinate systems |
| GET |
Transform coordinates /coordinates/transform/{coordinates}.json |
Transform coordinates |
| Other | ||
| GET |
Font glyphs /fonts/{fontstack}/{start}-{end}.pbf |
Generates the glyphs for the requested fonts. Used when displaying vector maps. |
MapTiler Cloud API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|