Geocoding API Playground
This is the documentation for the latest version of Mapbox Geocoding, v6. If you are looking for the previous version, see the Geocoding v5 API playground
The Mapbox Geocoding API allows you to search for addresses and places by name (forward search) or coordinates (reverse search).
To generate a forward Geocoding API request, select "forward" search type
and search for an address like 30 Rockefeller Plaza
, or a place like Orlando
, Florida
. Select "structured" search type
if you want to define each search element independently.
To generate a reverse Geocoding API request, select "reverse" search type
and enter longitude
and latitude
values. You can also generate a reverse geocode request by clicking anywhere on the map.
For improved results, tune your search settings with optional parameters like proximity
, language
, and country
. Use the types
parameter filter to restrict returned features to a desired place type.