Within the Addressing REST API, a request to the Reverse Service returns a list of results.
Response Structure
Within the Addressing REST API, a request to the Address Geocode Service returns a list of results. Not every field will be returned with a result.
Field | Type | Description |
---|---|---|
errorMessage | String | Error message: The error message returned from the service with an error code. |
status | Status | Status of the response. |
results | <Result array> | List of results based on the specified criteria. |
Addressing API: Reverse Example
In the Sample application, do the following:
- Navigate to .
- Enter 0 as both the Latitude and Longitude.
- Click Submit and review the Response.
{ "responses": [ { "status": "OK", "results": [ { "score": 0, "address": { "formattedAddress": "3 impasse des Romarins, 13113 Lamanon, France", "formattedStreetAddress": "3 impasse des Romarins", "formattedLocationAddress": "13113 Lamanon", "addressNumber": "3", "country": { "name": "France", "isoAlpha2Code": "FR", "isoAlpha3Code": "FRA", "isoNumericCode": "250" }, "admin1": { "longName": "Provence-Alpes-Côte d'Azur", "shortName": "Provence-Alpes-Côte d'Azur" }, "admin2": { "longName": "Bouches-du-Rhône", "shortName": "Bouches-du-Rhône" }, "city": { "longName": "Lamanon", "shortName": "Lamanon" }, "postalCode": "13113", "street": "des Romarins" }, "addressLines": [ "3 impasse des Romarins", "13113 Lamanon", "France" ], "location": { "explanation": { "type": "ADDRESS_POINT" }, "feature": { "type": "Feature", "properties": { "crsName": "epsg:4326" }, "geometry": { "type": "Point", "coordinates": [ 0.00005, 0.00039 ] } } }, "explanation": { "addressMatch": {}, "source": { "label": "ggs" } }, "customFields": { "MAIN_ADDRESS": "des Romarins", "LANGUAGE": "fr", "SEGMENT_ID": "e0c25a7497cc47bba075dedf834dc575", "REVERSE_GEOCODE_DISTANCE": "43.721000000000004", "REVERSE_GEOCODE_DISTANCE_UNIT": "METERS", "RESULT_CODE": "RS8A", "PRECISION_CODE": "RS8A", "PRE_THOROUGHFARE_TYPE": "impasse", "THOROUGHFARE_TYPE": "impasse", "STREETDATATYPE": "15" }, "parsed": [ {} ] } ] } ] }