Map Styles API
Learn how Mappinest serves ready-to-use basemap styles through StyleJSON URLs, supported style IDs, and client integrations.
Overview
The Map Styles API serves ready-to-use map styles through StyleJSON URLs. Use this when you want to integrate a basemap without uploading your own dataset. Works with MapLibre GL JS, Mapbox GL JS, OpenLayers, and Leaflet.
Available styles
The current supported style IDs are streets, light, dark, and satellite. Each style uses the same endpoint pattern — switching styles means changing only the style ID in the URL.
Use Mappinest Styles to compare the available styles and copy the correct style ID for your app.
How to integrate
Each style is served as a StyleJSON document — a single URL that includes the full source and layer configuration. Pass it directly as the style option in your map client. No upload or dataset required.
See SDK examples for ready-to-use integration code for MapLibre GL, Mapbox GL JS, OpenLayers, and Leaflet.
Where to go next
Last updated: April 14, 2026