---
title: "Render a custom style as a raster tile"
method: GET
path: "/tiles/styles/{style}/{z}/{x}/{y}.png"
tags: ["delivery"]
---

# Render a custom style as a raster tile

`GET /tiles/styles/{style}/{z}/{x}/{y}.png`

## Request

- Base URL: `https://api.mapsource.io`
- URL: `https://api.mapsource.io/tiles/styles/{style}/{z}/{x}/{y}.png`
- Auth: HTTP bearer

Renders a 256-pixel XYZ PNG from any shipped vector preset or an owned saved style profile. A profile can be pinned to a revision.

When to use: Display a Mapsource vector preset or fully customized saved style in a raster-only map client.

## Path parameters

- `style` string, required
- `z` integer, required
- `x` integer, required
- `y` integer, required

## Query parameters

- `revision` integer

## Response `200`

Render a custom style as a raster tile

## Other responses

- `400`: Error with a stable machine code.
- `401`: Error with a stable machine code.
- `429`: Error with a stable machine code.
- `500`: Error with a stable machine code.

---

[API](https://skmtc.dev/mapsource/apis/mapsource-overpass-api.md) · [All operations](https://skmtc.dev/mapsource/apis/mapsource-overpass-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mapsource/apis/mapsource-overpass-api/revisions/8af8c2769e7b?raw)
