Reverse geocoding
A point converted to the closest address using the geocoding service.
What is reverse geocoding?
Reverse geocoding is the process of converting a point to an address or place. For example, you can convert -79.3871 longitude and 43.6426 latitude to "CN Tower, 301 Front St W, Toronto, Ontario, M5V, CAN".
You can use reverse geocoding to:
- Get the nearest address to your current location.
- Show an address or place name when you tap on a map.
- Find the address for a geographic location.
How reverse geocoding works
You can find an address for a location by making an HTTPS request to the geocoding service reverse
operation or by using client APIs. Specify the location and optionally, additional parameters to enhance the search.
To refine the search, you can specify a feature type to return a specific type of address such as only POIs or addresses. You can also specify whether to return a street address or rooftop location.
The geocoding service uses the location and all parameters to return a single address that is the closest match. This address contains a number of attributes such as the place name, full address, city, region, and location.
If there are no streets near the input location, then large areal features such as parks, universities, zoos, or airports may be returned.
URL request
Required parameters
Name | Description | Examples |
---|---|---|
f | The format of the data returned. | f=json f=pjson |
token | An API key or OAuth 2.0 access token. Learn how to get an access token in Security and authentication. | token=< token=< |
Key parameters
Name | Description | Example |
---|---|---|
location | The location to search. | location=-79.3871,43.6426 location={x: 103.876722, y: 1.3330736} |
Additional parameters: Refine the search and enhance the return values by using parameters such as feature
, location
, and return
. Use lang
to return results in a specific language.
Code examples
Find an address near a location
This example finds the closest address to a point location when you click on the map.
Reference the geocoding service.
Set the location to a point.
Set the API key.
The response is a street address or a place with an address nearest to the point location. To get the full address use Long
and Place
to get the name if a POI is returned. Most APIs provide a LocatorTask to access the service.
Find the closest address to a point location.
APIs
REST API
Tutorials

Search for an address
Convert an address or place to a location with the geocoding service.

Reverse geocode
Get an address, business, or place from coordinates with the geocoding service.

Find place addresses
Find an address, business, or place with the geocoding service.

Display your location
Find and track your device location on a map.
Services
Geocoding service
Search for an address, reverse geocode, and batch geocode.
API support
Geocoding | Reverse Geocoding | Batch Geocoding | Place/POI Search | Autosuggest | UI Component | |
---|---|---|---|---|---|---|
ArcGIS Maps SDK for JavaScript | ||||||
ArcGIS Maps SDK for .NET | 1 | |||||
ArcGIS Maps SDK for Kotlin | 1 | |||||
ArcGIS Maps SDK for Swift | 1 | |||||
ArcGIS Maps SDK for Java | 1 | |||||
ArcGIS Maps SDK for Qt | 1 | |||||
ArcGIS API for Python | ||||||
ArcGIS REST JS | ||||||
Esri Leaflet | 2 | |||||
MapLibre GL JS | 2 | 2 | 2 | 2 | 2 | |
OpenLayers | 2 | 2 | 2 | 2 | 2 |
- 1. No runtime API. Access via HTTP request.
- 2. Access via ArcGIS REST JS.
Tools
Developer dashboard
Manage API keys, service usage, and data with the ArcGIS Developers website.
ArcGIS Online
Create, manage, and share content and data with cloud-based GIS tools.
Map Viewer
Create, explore, and share web maps for 2D applications.
Scene Viewer
Create, explore, and share web scenes for 3D applications.
ArcGIS Pro
Explore, visualize, and analyze both 2D and 3D data with desktop GIS tools.