MapScale Docs
•••
MapScale API
GET/tiles/v1/{tileset}/{z}/{x}/{yFile}

Fetch a vector tile

Return one vector tile for the requested tileset and z/x/y coordinate.

LIVE API PLAYGROUND

Sign in or create an account

Continue to run live requests directly from the docs.

Sends this request to the live API and shows the real response.

Parameters

Equivalent request
curl \
  -H "X-MapScale-Key: $MAPSCALE_API_KEY" \
  "https://api.mapscale.io/tiles/v1/world/10/817/479.mvt"
Response
Default response
{
  "status": "200",
  "contentType": "application/vnd.mapbox-vector-tile",
  "description": "A Mapbox Vector Tile from the requested PMTiles archive."
}

Responses

200A Mapbox Vector Tile from the requested PMTiles archive.application/vnd.mapbox-vector-tile
400Invalid tile path.application/json
401mapscale/effect-api/UnauthorizedFailureapplication/json
403mapscale/effect-api/ForbiddenFailureapplication/json
404Tile or tileset not found.application/json
429mapscale/effect-api/RateLimitedFailureapplication/json
500mapscale/effect-api/MiddlewareInternalFailureapplication/json
502PMTiles archive read failed.application/json
503PMTiles archive is not configured. | mapscale/effect-api/UpstreamUnavailableFailureapplication/json

On this page