---
title: "TileJSON"
method: GET
path: "/tiles/{tilesId}/tiles.json"
tags: ["Tiles"]
---

# TileJSON

`GET /tiles/{tilesId}/tiles.json`

## Request

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

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, ...).

## Response `200`

TileJSON of the tileset.

- TileJSON

---

[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)
