Skip to main content
POST
/
data
/
geo
/
v1
/
places
/
resolve
Resolve provider labels to canonical places
curl --request POST \
  --url https://api.voyant.travel/data/geo/v1/places/resolve \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "label": "<string>",
      "providerCode": "<string>",
      "countryHint": "<string>",
      "previousPlaceId": "<string>"
    }
  ]
}
'
{
  "results": [
    {
      "place": {
        "id": "<string>",
        "unlocode": "<string>",
        "countryIso2": "<string>",
        "parentId": "<string>",
        "coordinates": {
          "lat": 123,
          "lng": 123
        },
        "name": "<string>",
        "nameLang": "<string>",
        "names": {},
        "aliases": [
          "<string>"
        ],
        "attributes": {}
      },
      "confidence": 123,
      "atSea": true
    }
  ]
}

Authorizations

Authorization
string
header
required

Voyant Data API token, scoped per sub-product (data:{product}:read). Sent as Authorization: Bearer <token>.

Body

application/json
items
object[]
required

Response

Resolution results

results
object[]
required