MapScale Docs
•••
MapScale API
GET/styles/v1/{styleId}

Fetch a MapLibre style

Return a MapLibre style document wired to MapScale tiles and glyphs.

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

6 possible values
Equivalent request
curl \
  -H "X-MapScale-Key: $MAPSCALE_API_KEY" \
  "https://api.mapscale.io/styles/v1/streets?lang=th"
Response
Default response
{
  "status": "200",
  "contentType": "application/json",
  "description": "A MapLibre style document."
}

Responses

200A MapLibre style document.application/json
400Invalid style options.application/json
401mapscale/effect-api/UnauthorizedFailureapplication/json
403mapscale/effect-api/ForbiddenFailureapplication/json
404Unknown styleId.application/json
429mapscale/effect-api/RateLimitedFailureapplication/json
500mapscale/effect-api/MiddlewareInternalFailureapplication/json
503mapscale/effect-api/UpstreamUnavailableFailureapplication/json

On this page