Last updated

Integration types

Use the Demand API to implement the integration that best fits your business scenario.


The following sections describe the basic flows you can implement with the Demand API and the endpoints required.

While these flows were initially focused on accommodation, they now also apply partially to cars and, in the upcoming Beta version, also to attractions.

Content only

Share our content with your audience and redirect them to our platform to plan and book.

Search and look

Let your audience start their search on your website and redirect them to our platform to complete their booking.

Entire booking journey

Allow your audience to search, find and book directly on your website. For this integration use the full set of endpoints, including those for orders.

Post-booking, report and loyalty

Create a complete travel experience with search, booking, payments, reporting and loyalty programmes.

Content only

Let travellers browse relevant content about Booking.com offerings directly from your application. Redirect them to Booking.com to check availability, prices, and make bookings.

Content is static data that changes infrequently—or not at all—such as addresses or photos. This flow works for all travel services.

Content only flow

In your application:

  • Use the static data endpoints to build a local cache with data relevant to your business scenario.
  • Display the content to travellers.
  • Redirect travellers to Booking.com when they want to explore further and book.

Static data and caching

Static data comprises two types:

  • Content: Data about a property, car, or attraction that may change infrequently, if at all - such as its address, or photos.

  • Reference: Data that provides identifiers (IDs or codes) and names (in multiple languages) for location, currencies, payment cards, and languages. Other Demand API endpoints use these IDs or codes in requests and responses.

Using a local cache of static data reduces endpoint traffic and improves response times.

Recommendations

We strongly recommend using a local cache of static data in any production application.

  • Without caching, your application must call the relevant static data endpoints whenever the data is needed by other endpoints.
  • For example, without a cache, using the /search endpoint may require additional calls to fetch static data.

Static data and caching endpoints

Do not cache prices or availability as these change frequently
  • Using cached prices or availability may result in failed requests due to stale data.
  • Current prices and availability are returned via the /search and /availability endpoints.

Search and look

Allow travellers to search for offerings that match their requirements, view full details—including current prices and availability—and redirect them to Booking.com to book.

This flow applies to all travel services.

Search and look flow

In your application:

EndpointUse it to ...
/search✓ To provide a search experience for your business scenario.
/availability✓ To let travellers see full pricing and availability.
Local cache of static data✓ To provide additional content for your search results and product pages.
URL✓ Redirect travellers to Booking.com to complete bookings.

Search, look, and book

Let travellers search for offerings, view full details, and book directly from your application.

This flow is currently supported for accommodations.

Support for cars and attractions will be included in upcoming Beta versions.

Search, look, book and post-booking flow

In your application:

StepEndpointUse it to
Search/search
  • Find available products based on user preferences.
Look/availability
  • Retrieve real-time information on travel products like cars or accommodation availability and rates.
Book
  1. order/preview

  1. order/create
  • Get a detailed summary of the order, including pricing disclosure before confirming the booking.
  • Complete the booking process - Ensure that the payment method and timing are set correctly.

Post-booking

Perform management and reporting tasks for placed orders.

Post-booking flow

In your application:

TaskEndpointUse it to
See order details/orders/details/*
  • Access detailed booking information for commission reporting, loyalty programmes, and other post-booking management tasks.
Modify an order/orders/modify
  • Update existing booking details, such as payment information or check-in/check-out dates.
Cancel an order/orders/cancel
  • Cancel an existing booking when required.

Next steps

Once you’ve identified the integration flow that best fits your business scenario:

  1. Explore the relevant endpoints
    Review the OpenAPI reference to understand the request and response structures for each endpoint in your chosen flow.

  2. Set up your test environment

  3. Implement caching and error handling
    Follow best practices for static data caching and error handling to ensure a stable and efficient integration.

  4. Expand to additional services
    If you start with accommodations, you can later extend your integration to cars and attractions as these services become available in the Demand API.

  5. Go live
    Once your implementation has been validated in sandbox, follow the production readiness checklist before switching to production.

Need help choosing the right flow or combining endpoints across travel services? Contact your Booking.com Account manager for more information.