Partner Connect API Service
Partner Connect API Service
Gives information about review scores for specified hotel_ids and filter. The information consists of score breakdown per reviewer_type and review questions, and overall score distribution per score value (1 - 10).
The available filter is input parameter reviewer_type=... . It allows generating review score information for just one reviewer type.
Language in which the response is rendered can be controlled with the input parameter language=... (default: 'en'). Setting the language will reflect on the output fields question and review_score_word.
One additional output field can be requested with input parameter extras=review_score_word.
List of hotel ids for which review score information should be displayed.
Can be used to specify the affiliate id that should be used instead of the default one.
Code of the language used to render response. Please check the "Possible Values" section of the documentation for the accepted language codes.
Limits reviews to those written by specific reviewer type.
curl -i -X GET \ 'https://developers.booking.com/_mock/metasearch/connect-api/open-api/demand-api-v2-compatible/reviewScores?affiliate_id=0&hotel_ids=0&language=AR&reviewer_type=SOLO_TRAVELLER' \ -H 'Accept: application/json, application/xml' \ -H 'Authorization: Bearer <YOUR_string_HERE>'
{ "meta": { "ruid": "string" }, "result": [ { … } ] }
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.
The language code to return the results in. Please check the "Possible Values" section of the documentation for the accepted language codes.
Returns extra bits of information about hotels.
The number of rows to offset the results by. NOTE: this needs to be 0 or a multiple of 100.
curl -i -X GET \ 'https://developers.booking.com/_mock/metasearch/connect-api/open-api/demand-api-v2-compatible/hotels?extras=HOTEL_INFO&hotel_ids=0&language=AR&offset=0&rows=0' \ -H 'Accept: application/json, application/xml' \ -H 'Authorization: Bearer <YOUR_string_HERE>'
{ "meta": { "ruid": "string" }, "result": [ { … } ] }
curl -i -X GET \ 'https://developers.booking.com/_mock/metasearch/connect-api/open-api/demand-api-v2-compatible/hotelTypes?hotel_type_ids=0&languages=AR&offset=0&row=0' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <YOUR_string_HERE>'
{ "meta": { "ruid": "string" }, "result": [ { … } ] }
curl -i -X GET \ 'https://developers.booking.com/_mock/metasearch/connect-api/open-api/demand-api-v2-compatible/hotelThemeTypes?offset=0&row=0&theme_ids=0' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <YOUR_string_HERE>'
{ "meta": { "ruid": "string" }, "result": [ { … } ] }
curl -i -X GET \ 'https://developers.booking.com/_mock/metasearch/connect-api/open-api/demand-api-v2-compatible/hotelFacilityTypes?facility_type_ids=0&hotel_facility_type_ids=0&languages=AR' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <YOUR_string_HERE>'
{ "meta": { "ruid": "string" }, "result": [ { … } ] }
This endpoint returns the cheapest available room for each hotel matching your check-in and check-out dates. You can search for hotels in a city, or for a specific list of (upto 300) hotels by hotel_ids. Here you will find whether the price included breakfast or other meals, as well as whether it is possible to cancel for free. It is possible to have a breakdown of the price returned by this endpoint and to filter by property types and/or hotel facilities.
The departure date. Must be later than {checkin}. Must be between 1 and 30 days after {checkin}.
Limit the result list to up to 1000 specified hotels where they have availability for the specified guests and dates.
Guest country code. Used to accurately display the best prices and price details for people from that country.
The only group will be split in the given number of rooms automatically
The user's platform.
curl -i -X GET \ 'https://developers.booking.com/_mock/metasearch/connect-api/open-api/demand-api-v2-compatible/hotelAvailability?checkin=2019-08-24&checkout=2019-08-24¤cy=string&guest_country=string&hotel_ids=0&no_rooms=0&page=string&rows=1000&user_platform=ANDROID' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <YOUR_string_HERE>'