sites

Geocode Site

get/sites/{site_id}/geocode

Request

  • Base URL
    https://api.verdun.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.verdun.ai/sites/{site_id}/geocode
  • Auth
    HTTP bearer

Path parameters

site_idstring required

Response

Successful Response

latnumber required

Latitude of the geocoded address.

lngnumber required

Longitude of the geocoded address.

labelstring required

The address Amazon Location actually matched — show this so the operator can tell a precise hit from a near miss.

place_typestring required

Amazon Location match granularity (PointAddress, Street, Locality, …).

preciseboolean required

True when the match is exact enough to save as the site pin without confirmation; false means offer it as a suggestion.

Example response

{
  "lat": 42.0304,
  "lng": -87.94818,
  "label": "1601 E Algonquin Rd, Arlington Heights, IL 60005, United States",
  "place_type": "PointAddress",
  "precise": true
}

Changes

No recorded changes to this operation across all 2 revisions of this API.