These are the endpoints and sections specific for the stay part of the connected trip.
Use them to look for accommodation such as hotels, apartments, etc, check their availability, reviews, accommodation details, etc.
These are the endpoints you can use to retrieve the identifiers of a wide range of geographical locations: airports, countries, cities, regions, etc.
Use these identifiers to construct your requests.
Note: These identifiers are available across all travel services and you can use them for both accommodotation and car rentals requests.
The last modified date-time, only returns depots newer than this timestamp.
"2023-11-01T11:05:00+00:00"
The maximum number of results to return.
curl -i -X POST \ https://demandapi.booking.com/3.1/cars/depots \ -H 'Content-Type: application/json' \ -d '{ "last_modified": "2023-11-01T11:05:00+00:00", "maximum_results": 100, "languages": [ "en-gb", "nl" ] }'
{ "request_id": "01fr9ez700exycb98w90w5r9sh", "data": [ { … } ], "metadata": { "next_page": null } }
curl -i -X POST \ https://demandapi.booking.com/3.1/cars/depots/reviews/scores \ -H 'Content-Type: application/json' \ -d '{ "maximum_results": 10 }'
{ "request_id": "01fr9ez700exycb98w90w5r9sh", "data": [ { … } ], "metadata": { "next_page": null } }
The last modified date-time, only returns depots newer than this timestamp. The value should be within last 7 days
"2023-11-01T11:05:00+00:00"
The maximum number of results to return.
curl -i -X POST \ https://demandapi.booking.com/3.1/cars/details \ -H 'Content-Type: application/json' \ -d '{ "last_modified": "2023-11-01T11:05:00+00:00", "maximum_results": 100 }'
{ "request_id": "01fr9ez700exycb98w90w5r9sh", "data": [ { … } ], "metadata": { "next_page": null } }
Defines the booker context.
A three-letter code that uniquely identifies a monetary currency as defined by the ISO 4217 standard. The full list can be obtained by calling common/payments/currencies.
"EUR"
Defines the driver context.
The maximum number of results to return.
Effects on the selected language of the target website after redirection by provided url.
"en-us"
Defines the route context.
Drop off location and time.
Pick up / drop off datetime.
"2023-11-01T11:05:00"
Pick up / drop off location.
Pick up / drop off location.
A three-letter code that uniquely identifies an airport as defined by the International Air Transport Association (IATA). The full list can be obtained by calling common/locations/airports.
"AMS"
Pick up location and time.
Pick up / drop off datetime.
"2023-11-01T11:05:00"
Pick up / drop off location.
Pick up / drop off location.
A three-letter code that uniquely identifies an airport as defined by the International Air Transport Association (IATA). The full list can be obtained by calling common/locations/airports.
"AMS"
curl -i -X POST \ https://demandapi.booking.com/3.1/cars/search \ -H 'Content-Type: application/json' \ -d '{ "booker": { "country": "nl" }, "currency": "EUR", "driver": { "age": 36 }, "route": { "dropoff": { "datetime": "2024-05-03T11:05:00", "location": { "airport": "AMS" } }, "pickup": { "datetime": "2024-05-05T11:05:00", "location": { "airport": "AMS" } } } }'
{ "request_id": "01h00fr9y7qkbxtc6kyv97j49z", "data": [ { … } ], "metadata": { "next_page": "eyJhbGciOiJIUzI1NiJ9.eyJwIjp7Im1heGltdW1fcmVzdWx0cyI6MTAsIm9mZnNldCI6MTB9LCJhdWQiOiJDQVJTX1NVUFBMSUVSUyIsImV4cCI6MTY4MzY0NzMwNX0.y7NmH48mm7lImd2WxsHdotj6n-dVQAzJCGCnIJCKy3A", "total_results": 122 } }
curl -i -X POST \ https://demandapi.booking.com/3.1/cars/suppliers \ -H 'Content-Type: application/json' \ -d '{ "suppliers": [ 62 ] }'
{ "request_id": "01fr9ez700exycb98w90w5r9sh", "data": [ { … } ], "metadata": { "next_page": null, "total_results": 1 } }