3. π Geocoding & Search API (Geolocation)
Number of APIs: 9
π Geocoding API (Geolocation)
The requests on this collection use the environment variables. If you haven't followed the steps in the **How to set your free API key π**
section in the [Qodex ArcGIS Location Service workspace] now is a good time to do it π.
π Guides and API reference
π οΈ Integration
Libraries and wrappers to access this API:
- Backend: ArcGIS REST JS (Node.js) and ArcGIS API for Python.
- Browser: Leaflet, MapLibre GL JS, ArcGIS Maps SDK for JavaScript, OpenLayers and ArcGIS REST JS.
πΊοΈ π Visualize results on a map
This collection make use of the "[Visualize] feature to display retrieved results on a map.
-
Search / Geocoding (Addresses & Places) - β‘οΈ findAddressCandidates-spec GET https://{{geocode-service}}.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates
-
Batch geocoding-π‘ Examples - Geocode a set of addresses POST https://{{geocode-service}}.arcgis.com/arcgis/rest/services/World/GeocodeServer/geocodeAddresses
-
Reverse geocoding - β‘οΈ reverseGeocode-spec GET https://{{geocode-service}}.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode
-
Batch geocoding - β‘οΈ geocodeAddresses-spec POST https://{{geocode-service}}.arcgis.com/arcgis/rest/services/World/GeocodeServer/geocodeAddresses
-
Structures and definitions - Geocoder service definition GET https://{{geocode-service}}.arcgis.com/arcgis/rest/services/World/GeocodeServer?token={{access_token}}&f=pjson
-
Search / Geocoding (Addresses & Places)-π‘ Examples - Search places (POI) by extent GET https://{{geocode-service}}.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?token={{access_token}}&f=json&category=Nightlife Spot&searchExtent=%7B%20%22spatialReference%22%3A%20%7B%20%22wkid%22%3A%204326%20%7D%2C%20%22xmin%22%3A%20-116.58935746093749%2C%20%22ymin%22%3A%2033.78284249053006%2C%20%22xmax%22%3A%20-116.42456253906249%2C%20%22ymax%22%3A%2033.873308036184355%20%7D
-
Reverse geocoding-π‘ Examples - Reverse geocoding GET https://{{geocode-service}}.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode?token={{access_token}}&f=pjson&location=-79.3871,43.6426
-
Autocomplete suggestions - β‘οΈ suggest-spec GET https://{{geocode-service}}.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest
-
Autocomplete suggestions-π‘ Examples - Autocomplete suggestions GET https://{{geocode-service}}.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest?token={{access_token}}&f=pjson&text=New Y