latestOpenAPI 3.0.12026-08-101058136.3 KB

0fbdc2f4423a

demand-api-v2-compatible

Get details of accommodations

This call returns the hotel and room data. By default, only hotel_id is returned in the output.

One of the argument: hotel_ids, city_ids, country_ids, region_ids, district_ids, chain_ids is mandatory.

Additional data needs to be requested via extras parameter.

The data is returned in English by default.

get/demand-api-v2-compatible/hotels

Query parameters

hotel_idsinteger[]

A list of up to 1000 hotel ids.

language'ar' | 'bg' | 'ca' | 'cs' | 'da' | 'de' | 'el' | 'en' | 'en-gb' | 'en-us' | 'es' | 'es-ar' | 'es-mx' | 'et' | 'fi' | 'fr' | 'he' | 'hi' | 'hr' | 'hu' | 'id' | 'is' | 'it' | 'ja' | 'ka' | 'ko' | 'lt' | 'lv' | 'ms' | 'nl' | 'no' | 'pl' | 'pt-br' | 'pt-pt' | 'pt' | 'ro' | 'ru' | 'sk' | 'sl' | 'sr' | 'sv' | 'th' | 'tl' | 'tr' | 'uk' | 'vi' | 'zh' | 'zh-cn' | 'zh-tw'

The language code to return the results in. Please check the "Possible Values" section of the documentation for the accepted language codes.

extrasstring[]

Returns extra bits of information about hotels.

offsetinteger

The number of rows to offset the results by. NOTE: this needs to be 0 or a multiple of 100.

rowsinteger

The maximum number of rows to return. NOTE: this needs to be a multiple of 100.

Headers

Accept'application/json, application/xml'

Response

OK