Mapbox
Maps platform with strong emphasis on design and customization — the designer's alternative to Google Maps.
About this API
Mapbox is famous for Mapbox Studio — a tool that lets you deeply style a map (road colors, textures, zoom rules). That makes it the pick for products that invest in design (Strava, Foursquare, Stripe). Their API offers geocoding, navigation, isochrones, and vector tiles you style yourself.
Who it's for
How to use it
- 1Register at mapbox.com and get an access token.
- 2Create a style in Studio or use a preset.
- 3Web: Mapbox GL JS (free up to 50K loads/month).
- 4Backend: plain REST with token in query param.
Installation & setup
`npm install mapbox-gl` → `mapboxgl.accessToken = process.env.NEXT_PUBLIC_MAPBOX_TOKEN`. This token is client-exposed — give it only public scopes.
Code examples
curl "https://api.mapbox.com/geocoding/v5/mapbox.places/Dizengoff.json?access_token=YOUR_TOKEN"Sample response
{
"features": [
{
"place_name": "Dizengoff Street, Tel Aviv",
"center": [
34.775,
32.08
],
"geometry": {
"type": "Point",
"coordinates": [
34.775,
32.08
]
}
}
]
}FAQ
Tips & pitfalls
Guides
Related APIs
Google Maps Platform
The industry-standard maps suite — Directions, Places, Geocoding, Street View and more.
Nominatim (OpenStreetMap)
Completely free geocoding powered by OpenStreetMap — no key, no cost, with a rate limit.
HERE Maps
Commercial maps API focused on logistics, truck routing, and fleet management.