My App
Api

Styles

Published MapLibre style JSON routes.

Styles API

Published styles return the stored published style snapshot.

Routes

GET /styles/v1/{owner}/{style}
GET /styles/v1/{owner}/{style}@{version}

{version} must be a positive integer. Stable URLs use the publication alias latest; version URLs resolve the matching v{version} publication.

Auth

Public styles can be read anonymously. Private styles require the style owner context from a valid API key or session.

Caching

Public styles return Cache-Control: public, max-age=300 and an ETag. Private styles return private, no-cache.

On this page