Reverse geocoding

GET https://{{geocode-service}}.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode?token={{access_token}}&f=pjson&location=-79.3871,43.6426

The reverseGeocode operation determines the address at a particular x/y location. You pass the coordinates of a point location to the ArcGIS World Geocoding Service, and the service returns the address or place that is closest to the location.

reverse geocoding

You need a valid access token. To learn more, read the collection's documentation.

API reference: reverseGeocode operation

Request Params

KeyDatatypeRequiredDescription
tokenstring(Required on Platform) You need a valid access token. To learn more, read the collection's documentation.
fstring(Required) Format of the response: json, pjson, html, ...
locationstring(Required) The point from which to search for the closest address. The point can be represented as a simple, comma-separated syntax (long, lat) or as a JSON point object.

RESPONSES

status: OK

{"address":{"Match_addr":"CN Tower","LongLabel":"CN Tower, 301 Front St W, Toronto, Ontario, M5V, CAN","ShortLabel":"CN Tower","Addr_type":"POI","Type":"Tourist Attraction","PlaceName":"CN Tower","AddNum":"301","Address":"301 Front St W","Block":"","Sector":"","Neighborhood":"Waterfront Communities-the Island","District":"Toronto","City":"Toronto","MetroArea":"Greater Toronto Metro Area","Subregion":"Toronto","Region":"Ontario","Territory":"","Postal":"M5V","PostalExt":"","CountryCode":"CAN"},"location":{"x":-79.38714999999996,"y":43.642630000000054,"spatialReference":{"wkid":4326,"latestWkid":4326}}}