Data API

Using the API from JavaScript?

GeoJSON

GET https://api.maptiler.com/data/{dataId}/features.json

GeoJSON containing the vector features.

Request

You must include an API Key with every API request

Path Parameters

Parameters Type Description
dataId
string
Identifier of the data. See MapTiler Cloud Datasets.
Request example

  https://api.maptiler.com/data/{dataId}/features.json?key=YOUR_MAPTILER_API_KEY

Get your FREE API key in the MapTiler Cloud.

Responses

Code Content Description
200 application/json https://tools.ietf.org/html/rfc7946 GeoJSON Object