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

  • 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, live production hotels can be used in a sandbox environment.
  • All other steps remain the same as the Try the Demand API getting started guide.
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. Please adhere to all necessary 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