Skip to main content

Geocoding API

The Mapbox Geocoding API allows you to perform forward and reverse geocoding operations.

Forward geocoding converts text into geographic coordinates. For example, forward geocoding turns the address 2 Lincoln Memorial Circle NW into coordinate values of -77.050,38.889.

Reverse geocoding converts geographic coordinates into a text description, for example, turning -77.050,38.889 into the address string 2 Lincoln Memorial Circle NW.

A sample forward Geocoding API request looks like:

https://api.mapbox.com/geocoding/v5/mapbox.places/San%20Francisco.json?access_token=YOUR_MAPBOX_ACCESS_TOKEN

Related resources:

Was this page helpful?