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:

πŸ—ΊοΈ πŸ‘€ Visualize results on a map

This collection make use of the "[Visualize] feature to display retrieved results on a map.

  1. Search / Geocoding (Addresses & Places) - ➑️ findAddressCandidates-spec GET https://{{geocode-service}}.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates

  2. Batch geocoding-πŸ’‘ Examples - Geocode a set of addresses POST https://{{geocode-service}}.arcgis.com/arcgis/rest/services/World/GeocodeServer/geocodeAddresses

  3. Reverse geocoding - ➑️ reverseGeocode-spec GET https://{{geocode-service}}.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode

  4. Batch geocoding - ➑️ geocodeAddresses-spec POST https://{{geocode-service}}.arcgis.com/arcgis/rest/services/World/GeocodeServer/geocodeAddresses

  5. Structures and definitions - Geocoder service definition GET https://{{geocode-service}}.arcgis.com/arcgis/rest/services/World/GeocodeServer?token={{access_token}}&f=pjson

  6. 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

  7. 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

  8. Autocomplete suggestions - ➑️ suggest-spec GET https://{{geocode-service}}.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest

  9. 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