---
title: "GeoJSON"
method: GET
path: "/data/{dataId}/features.json"
tags: ["Data"]
---

# GeoJSON

`GET /data/{dataId}/features.json`

## Request

- Base URL: `https://api.maptiler.com`
- URL: `https://api.maptiler.com/data/{dataId}/features.json`
- Auth: API key in query parameter `key`
- TypeScript: <https://skmtc.dev/maptiler/apis/maptiler-api-reference/docs/data/:dataId/features.json/get.ts> (a function with typed inputs; its response is checked against the schema)

GeoJSON containing the vector features.

## Response `200`

GeoJSON FeatureCollection with the features of the dataset.

- GeoJSON

---

[API](https://skmtc.dev/maptiler/apis/maptiler-api-reference.md) - [All operations](https://skmtc.dev/maptiler/apis/maptiler-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/maptiler/apis/maptiler-api-reference/revisions/68ce3046fc1a?raw)
