Skip to content

Documentation

Maptoolkit provides a set of map APIs for adding geographic features to your applications. You can display interactive maps, calculate routes, geocode addresses, generate static map images, and more — all built on OpenStreetMap data.

Authentication

All API requests require an API key. Pass it as a URL parameter or an HTTP header:

?api_key=YOUR_API_KEY

or via the HTTP header MTK-ApiKey.

Contact maptoolkit.com to get your API key.

Available APIs

APIWhat it does
Vector TilesInteractive vector maps for MapLibre GL and Mapbox GL
Raster TilesRaster map tiles for Leaflet and OpenLayers
Static MapsGenerate map images as JPEG, PNG, or WebP
ElevationGet elevation data for coordinates or a route profile
RoutingCalculate routes for car, bike, foot, or transit
IsochroneCalculate reachable areas within a given travel time
Map MatchingMatch a GPS track to the road network and get turn-by-turn directions
WeatherAdd weather forecasts and overlays to your maps
Data ConnectorsConnect your own data sources and serve them as vector tiles

JavaScript Library

If you are building a web app, you can use the Maptoolkit JavaScript library, which wraps the APIs and provides ready-to-use UI components:

<link rel="stylesheet" href="https://static.maptoolkit.net/mtk/apis/v1.0/mtk.css" />
<script src="https://static.maptoolkit.net/mtk/apis/v1.0/mtk.js"></script>

You can also load only the parts you need:

<!-- Geocoding only -->
<script src="https://static.maptoolkit.net/mtk/apis/v1.0/geocoder.js"></script>

<!-- Routing only -->
<script src="https://static.maptoolkit.net/mtk/apis/v1.0/routing.js"></script>

<!-- Elevation only -->
<script src="https://static.maptoolkit.net/mtk/apis/v1.0/elevation.js"></script>