Every destination, named in six languages
The Catalog holds the geography behind ApiXV. Countries, areas, cities and accommodations each have a stable id, and place names come in six languages (or in their native language if you don't ask for one).
Geography
Each level points to the one above it
Every record includes its parents, so a single lookup gives you the full destination path for a search box or a breadcrumb.
NLISO 3166-1 alpha-2 code
AGD-NL1234Region or destination area
AGC-NL19203With its parent area and country
AGI-NL4827153With its city, area and country
Languages
Choosing a language
Country, area and city names are available in six languages. Ask for one with the standard Accept-Language header. Without it, you get names in their native language.
- Standard header. Weighted preferences such as
nl-NL, en;q=0.5work as you'd expect, and the highest-weighted language wins. - Cache-friendly. Responses carry
Vary: Accept-Languageand say which language was used inContent-Language. - Same ids in every language. Only the names change, so your stored ids and mappings stay valid.
curl --header "Authorization: ApiKey <your API key>" \
--header "Accept-Language: en" \
".../catalogxv/api/v1/cities/AGC-NL19203"{
"data": {
"country_id": "NL",
"country": "Netherlands",
"country_isocode": "NL",
"area_id": "AGD-NL1234",
"area": "Veluwe",
"city_id": "AGC-NL19203",
"city": "Apeldoorn"
}
}Reference data
Searching and looking up reference data
These are read-only GET calls, using the same Authorization header as the rest of ApiXV.
Search by name or id
Search countries, areas, cities and accommodations by name or id, narrowed to a country, area or city. Filters combine, and results come in pages of up to 1,000 with a total hit count.
Hierarchy checked for you
Nested lookups such as a city within an area within a country return 404 when the ids don't belong together, so a mismatched destination won't reach your search.
Board codes
The platform's two-letter board codes (RO, BR, HB and the rest) with readable labels, the same codes every hotel option uses.
Your suppliers
The hotel suppliers connected to your account, with their codes, status and the countries you use them for.
Make your first call in the sandbox
Request a key and you can make your first availability call this week.
