Skip to main content
GET
/
data
/
geo
/
v1
/
places
/
{id}
Get a place with its relations
curl --request GET \
  --url https://api.voyant.travel/data/geo/v1/places/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "unlocode": "<string>",
    "countryIso2": "<string>",
    "parentId": "<string>",
    "coordinates": {
      "lat": 123,
      "lng": 123
    },
    "name": "<string>",
    "nameLang": "<string>",
    "names": {},
    "aliases": [
      "<string>"
    ],
    "attributes": {}
  },
  "relations": {}
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Query Parameters

lang
string
names
boolean

Response

Place with relations

data
object
required
relations
object
required

Camel-cased relation kind (e.g. flowsThrough) -> related place ids.