Geocode places
Place addresses for businesses by category near a point with the geocoding service.
What is place geocoding?
Place geocoding is the process of searching for addresses for businesses, administrative locations, and geographic features. You can search for the name of a place and/or your can provide categories to filter the results. For example, you can use the text Mexican
and the Food
category to search for restaurant addresses.
You can use place search to:
- Search for place addresses around the world (no search location provided).
- Search for place addresses near or within a distance of a point.
- Search for places by category such as restaurants, gas stations, or schools.
- Find and display places on a map.
How place geocoding works
You can search for a place by making an HTTPS request to the geocoding service find
operation or by using client APIs. Specify the place name, output data fields, and optionally, additional parameters to refine the search.
The more complete you can make the input place name, the more likely the geocoding service will find an exact match. For example, "Grand Canyon", "Disneyland in California", or "Starbucks at Newport Beach".
To refine the search or search for POI, you can specify a category such as coffee shop, restaurant, or gas station. See more categories in Category filtering. To refine it further, specify parameters such as the search extent, country code, and city.
The geocoding service parses the place name and uses the all of the parameters to return a set of place candidates. Most candidates contain a place name, full address, location, attributes, and a score of how well it matched.
Types of place search
There are two types of searches you can perform: Local and Global. A local search uses a location to search for places nearby or a search extent to confine the search area. A global search is an open search that typically isn't confined to an extent.
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 |
---|---|---|
address | The address or place name string. Different formats are supported. | address=Disneyland address=Los Angeles Starbucks address=Seattle, Washington address=Mount Everest address=-117.155579,32.703761 |
location | Use to focus the search on a specific location. | location=-117.196,34.056 |
category | Filter places by place type values. | category=food,mexican food category=coffee shop category=gas station |
out | A list of data fields to return. | outFields=PlaceName,Place_addr, outFields=* (return all fields) |
Additional parameters: Refine the search by using parameters such as search
, neighborhood
, city
, and country
. Use lang
to return results in a specific language.
Code examples
Local search (by name)
This example uses the geocoding service to search for Starbucks
near a location in San Francisco. You can use this type of search to find the location of businesses, points of interest, or landmarks. Most APIs provide a LocatorTask to access the service.
Steps
Reference the geocoding service.
Set the place name to search for.
Set the location to search from.
Set the list of data fields to return. e.g. PlaceName,Place_addr
Set the API key.
The response is a set of place candidates with a place name, full address, location, score, and attributes.
Geocoding service to search for Starbucks near a location in San Francisco.
APIs
REST API
Local search (by category)
This example searches for gas stations near a location by setting the Gas Station
category near a location in Paris.
To see a full list of categories, visit Category filtering.
Steps
Reference the geocoding service.
Set location to search from.
Set the category of places to search for.
Set the list of data fields to return. e.g. PlaceName,Place_addr
Set the API key.
The response is a set of place candidates with a place name, full address, location, score, and attributes.
Example search for gas stations near a location in Paris.
APIs
REST API
Global search
This example executes a global search for Grand Canyon
. No location or extent parameters are provided.
Steps
Reference the geocoding service.
Set the place name or address to search.
Set the list of data fields to return.
Set the API key.
The response is a set of candidates with an address, location, score, and many other attributes.
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.