Last updated

Demand API sandbox

Restricted access to Demand API capabilities to experiment with reservations and cancellations.


With Demand API sandbox, you can experiment with Demand API’s reservations and cancellations capabilities without worrying about making live production hotel reservations. It grants you access to dedicated sandbox hotels designed exclusively for testing reservations.

Getting started with Demand API sandbox

Before you start using the Demand API sandbox make sure that you meet all the requirements needed to have access to our endpoints.

  • The sandbox base URL for API requests is https://demandapi-sandbox.booking.com/3.1
  • The Sandbox Hotel created for testing reservations, cancellations and fetching reservations is Accommodation ID 10507360 - Demand API sandbox Hotel Orion.
  • For other API capabilities, you can also use live production hotels in a sandbox environment.
  • Get familiar with the most common flow, following the steps described in the getting started guide but using the sandbox environment.
Attention
  • The Demand API sandbox is meant for testing and discovery purposes only. It should not be used for production.
  • There are no sandbox specific API Keys. API Keys generated can be used for both Production and Sandbox environments. Refer to the Authentication guide for more details on security measures to safeguard your API Keys and data.

Limitations

The Demand API sandbox is subject to following limits:

  • In the sandbox environment, reservations are limited to sandbox hotels. Currently we only have 1 sandbox hotel. Accommodation ID - 10507360 - Demand API Sandbox Hotel Orion.
  • All reservations made in the sandbox environment are automatically canceled every Monday and refund is initiated for any amount paid.
  • Sandbox API requests are capped at 20 requests per minute.
  • API Keys generated can be used interchangeably between production and sandbox environments, it is imperative to adhere to all necessary security measures to safeguard your API Keys and data.

What’s next