Skip to main content

Geocoding API Playground

Geocoding v6

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.

Geocoding API Playground
Parameters
Try an example
Reset
Optional parameters
bias around location
response text language
Select languages
filter by country
Select countries
filter by feature types
Select types
from your account page
Type in the search box or click the map
Request URL
GET: https://api.mapbox.com/search/geocode/v6/forward?q={search_text}
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.
Was this playground helpful?