---
title: "Get Tile"
method: GET
path: "/api/v1/tiles/{city_id}/{z}/{x}/{y}.pbf"
tags: ["tiles"]
---

# Get Tile

`GET /api/v1/tiles/{city_id}/{z}/{x}/{y}.pbf`

## Request

- Base URL: `https://mcp.fless.io` (the document declares no server; this is the origin it was published from)
- URL: `https://mcp.fless.io/api/v1/tiles/{city_id}/{z}/{x}/{y}.pbf`
- Auth: none declared

Serve vector tiles for a city from MBTiles file.

This endpoint serves vector tiles in Protocol Buffer Binary Format (PBF) for use with MapLibre GL JS.
Tiles are served from pre-generated MBTiles files stored on disk.

Args:
    city_id: ID of the city
    z: Zoom level (0-18)
    x: Tile X coordinate
    y: Tile Y coordinate
    db: Database session

Returns:
    Vector tile data in PBF format

Raises:
    404: If city or tile file not found, or tile doesn't exist in MBTiles

## Path parameters

- `city_id` integer, required
- `z` integer, required
- `x` integer, required
- `y` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fless/apis/apartment-hunting-platform.md) · [All operations](https://skmtc.dev/fless/apis/apartment-hunting-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/fless/apis/apartment-hunting-platform/revisions/f542b37a2fcf?raw)
