Booking.com Demand API (3.2-Beta)

These endpoints are only available in Beta.
- Limited access: This API is currently offered to a limited number of pilot affiliate partners.
For inquiries regarding participation, please contact your dedicated Booking.com Account manager.
- Active development: These are under active development and subject to change.
- Frequent updates: These API specifications will be regularly updated throughout the pilot. We recommend checking the changelog periodically for the latest changes.


Note: Authentication is required using your Affiliate ID and token credentials.

Download OpenAPI description
Languages
Servers
Production environment – use for live integrations.
https://demandapi.booking.com/3.2/
Sandbox environment – use for testing and validation.
https://demandapi-sandbox.booking.com/3.2/

Accommodation

This collection includes endpoints related to stays within the connected trip experience.
Use these endpoints to:
- Search for hotels, apartments, and other accommodation types.
- Check real-time availability and pricing.
- Retrieve property details and guest reviews.

Operations

Attractions

Operations

Car rentals

This collection includes endpoints related to car rental services within the connected trip experience.
Use these endpoints to:
- Search and retrieve car details.
- Retrieve car specifications, depot locations, and supplier information.

Operations

Locations

This collection provides standardised location identifiers for geographical entities such as airports, countries, cities, and regions.
Use the returned identifiers when constructing requests across all travel services API collections, including both accommodation and car rental endpoints.

Operations

Payments

Provides generic payment-related identifiers, including supported currency codes, payment cards, and relevant metadata for booking flows.
- Use the returned identifiers when constructing requests across all travel services API collections, including both accommodation and car rental endpoints.

Operations

Languages

Use this endpoint to retrieve a list of supported IETF language tag codes.
- You can use these codes when constructing requests across all travel services API collections, including both accommodation and car rental endpoints.

Operations

Orders

This API collection enables management of booking orders within the Demand API.
Use these endpoints to:
- Preview and create new orders.
- Check order details.
- Cancel or modify existing orders.
This collection is required to integrate booking and order management functionality.

Operations

Messages

This API collection enables two-way communication between guests and properties. Use these endpoints to send and receive messages, include attachments, follow conversations, and more.

Operations

Conversations

Operations

Retrieve a conversion.

Request

Use this endpoint to retrieve a conversation available to the authenticated user.

Bodyapplication/jsonrequired
One of:
accommodationstringrequired

The unique identifier of the property

conversationstring(conversation)required

Uniquely identifies the conversation.

reservationstring(common_reservation)

Unique identifier of the reservation associated with this conversation.

curl -i -X POST \
  https://demandapi.booking.com/3.2/messages/conversations \
  -H 'Authorization: Bearer <YOUR_string_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "accommodation": "string",
    "conversation": "string",
    "reservation": "string"
  }'

Responses

Conversation retrieved successfully.

Bodyapplication/json
request_idstring(requestId)required

Uniquely identifies the request. Please provide this identifier when contacting support.

dataobjectrequired
data.​conversationobject(conversations_conversation)required
data.​conversation.​idstringrequired

Unique identifier of the conversation.

data.​conversation.​reservationstring(common_reservation)

The unique identifier of the reservation

data.​conversation.​messagesArray of objects(conversations_message)required

Chronological list of messages in the conversation.

data.​conversation.​messages[].​idstringrequired

Unique identifier of the message.

data.​conversation.​messages[].​senderstringrequired

Unique identifier of the sender (either property or guest).

data.​conversation.​messages[].​contentstringrequired

Message content in plain text.

data.​conversation.​messages[].​attachmentsArray of strings

List of attachment IDs included with the message (if any).

data.​conversation.​messages[].​timestampstring(date-time)(timestamp)required

The timestamp in ISO-8601 format from which the message is sent. Format: YYYY-MM-DDTHH:mm:ss+00:00

data.​conversation.​participantsArray of objects(participants)required

List of participants in the conversation, including guest and property.

data.​conversation.​participants[].​idstringrequired

Unique identifier of the participant.

data.​conversation.​participants[].​metadataobject(conversations_metadata)required
data.​conversation.​participants[].​metadata.​typestring

Type of the metadata

Enum"guest""property"
data.​conversation.​participants[].​metadata.​namestring

Uniquely identifies the metadata.

Response
application/json
{ "request_id": "7889a8c0-aa43-494c-863d-72d2306849c1", "data": { "conversation": {} } }

Attachments

Operations