All docsPlaygroundGeocoding API

Geocoding API

The Geocoding API allows you to search for addresses and places by name or coordinates.

Tune your search settings using the parameters below, then begin typing into the search box to see results. For improved results, use the proximity, language, and country parameters.

Search for a name like The White House, an address like 1600 Pennsylvania Ave, or numerical coordinates in longitude,latitude format like -77.036556, 38.8977365.

You can also click anywhere on the map to do a reverse geocode.

Parameters
from your account page
Optional parameters
bias features closer to location
response text language
Select languages
filter by country
Select countries
filter by feature types
Select types
number of items to return
Request URL
https://api.mapbox.com/geocoding/v5/mapbox.places/{search_text}.json
Response
You haven't made a query yet. Type in the search box or click on any point on the map to generate a query.