On this page

    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 Datasets.
    Request example
    
      https://api.maptiler.com/data/{dataId}/features.json?key=YOUR_MAPTILER_API_KEY

    Get your FREE API key in your MapTiler account.

    Responses

    Code Content Description
    200 application/json https://tools.ietf.org/html/rfc7946 GeoJSON
    Using the OpenAPI Specification?
    Get the openapi.yaml

    Was this helpful?

    MapTiler API
    Data API
    Data API