Skip to content

Get details of accommodations

Request

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.

Security
BearerAuth
Query
hotelsInputobject(HotelsInputDto)required
Headers
Acceptstring
Value:"application/json, application/xml"
curl -i -X GET \
  'https://metasearch-connect-api.booking.com/demand-api-v2-compatible/hotels?hotelsInput=hotel_ids%3D0%26language%3Dar%26extras%3DHOTEL_INFO%26offset%3D0%26rows%3D0' \
  -H 'Accept: application/json, application/xml' \
  -H 'Authorization: Bearer <YOUR_string_HERE>'

Responses

OK

Bodyapplication/json
metaobject(Meta)
resultArray of objects(HotelsOutputDto)
Response
{ "meta": { "ruid": "string" }, "result": [ { … } ] }