> For the complete documentation index, see [llms.txt](https://docs.mapbox.com/playground/llms.txt)

# Geocoding API Playground

> **Note: 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](https://docs.mapbox.com/playground/playground/geocoding-v5/)

> **Note (beta): Building entrance locations in public preview**
> 
> The `entrances` parameter is in public preview. This parameter allows you to access building entrances in the responses of your geocoding queries - both with permanent and temporary geocoding. To learn more about this parameter, see the [Forward geocoding optional parameters table](https://docs.mapbox.com/api/search/geocoding/#forward-geocoding-with-search-text-input) in the Geocoding API documentation.

The [**Mapbox Geocoding API**](https://docs.mapbox.com/api/search/geocoding-v6/) allows you to search for addresses and places by name (forward search) or coordinates (reverse search).

To generate a [forward](https://docs.mapbox.com/api/search/geocoding-v6/#forward-geocoding) 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](https://docs.mapbox.com/api/search/geocoding-v6/#reverse-geocoding) 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.

Related resources:

-   [Geocoding API documentation](https://docs.mapbox.com/api/search/geocoding-v6/)
-   [Improve this map](https://www.mapbox.com/contribute/)

Loading...