How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

booking-com Accommodations API

Endpoints to search for stays such as hotels and apartments, check availability, retrieve reviews, and get detailed property information.

booking-com Accommodations API is one of 24 APIs that Booking Com publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Accommodations. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 7 operations across 7 paths, and defines 26 schemas. It is described by OpenAPI 3.2.0, at version 3.1.

Requests are made against a single base URL, https://demandapi.booking.com/3.1.

7 operations 7 paths 26 schemas 7 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
3.1
Base URL
https://demandapi.booking.com
Authentication
HTTP Bearer, API Key
Terms of Service
Resource Areas
1

Authentication & Security 2

booking-com Accommodations API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). An API key is passed in the header as X-Affiliate-Id (affiliateId). By default, every request must be authenticated.

  • bearerAuth — Bearer token authentication. Include your API key token in the Authorization header.
  • affiliateId — Your Booking.com Affiliate ID, required with every request.

Paths & Operations 7

Across 7 paths, the API surfaces 7 operations — 7 POST. Each is listed below with its method, path, parameters, and response codes.

Accommodations 7

Endpoints to search for stays such as hotels and apartments, check availability, retrieve reviews, and get detailed property information.

POST
/accommodations/search
Search accommodations
searchAccommodations body → 200400401
POST
/accommodations/details
Get accommodation details
getAccommodationDetails body → 200400401
POST
/accommodations/availability
Check accommodation availability
checkAccommodationAvailability body → 200400401
POST
/accommodations/bulk-availability
Check multiple accommodation availability
checkBulkAccommodationAvailability body → 200400401
POST
/accommodations/reviews
Get accommodation reviews
getAccommodationReviews body → 200400401
POST
/accommodations/reviews/scores
Get accommodation review scores
getAccommodationReviewScores body → 200400401
POST
/accommodations/chains
Get accommodation chains
getAccommodationChains body → 200400401

Schemas 26

The contract defines 26 schemas that model the data the API accepts and returns. The most detailed are AccommodationDetail (14 properties), AccommodationSearchRequest (10 properties), Review (8 properties), BulkAvailabilityRequest (7 properties). Each schema is shown below with its type and property counts.

Review
object
Guest review
8 properties
ErrorResponse
object
Standard error response
1 property
Photo
object
Property photo
2 properties
AccommodationReviewScoresRequest
object
2 properties 1 required
AccommodationDetailsResponse
object
1 property
AccommodationDetailsRequest
object
2 properties 1 required
BulkAvailabilityRequest
object
7 properties 5 required
AccommodationChainsResponse
object
1 property
AccommodationReviewScoresResponse
object
1 property
AccommodationReviewsResponse
object
1 property
BulkAvailabilityResponse
object
1 property
AccommodationAvailabilityResponse
object
1 property
AccommodationSearchResponse
object
1 property
AccommodationSearchRequest
object
10 properties 4 required
Price
object
Price information
2 properties
Facility
object
Property facility or amenity
2 properties
AvailabilityResult
object
2 properties
ReviewScores
object
Review score breakdown for an accommodation
4 properties
AccommodationAvailabilityRequest
object
6 properties 5 required
GeoLocation
object
Geographic coordinates
2 properties
AccommodationSearchResult
object
6 properties
AccommodationDetail
object
14 properties
AccommodationReviewsRequest
object
5 properties 1 required
Guests
object
Guest allocation for the search or booking
3 properties 2 required
Booker
object
Information about the person making the booking
2 properties
Product
object
An available room or product at an accommodation
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

booking-com-accommodations-api-openapi.yml Raw ↑

Other APIs Booking Com publishes across the network.

booking-com Availability API
booking-com Cars API
booking-com Constants API
booking-com Conversations API
booking-com Depots API
booking-com Derived Pricing API
booking-com Facilities API
booking-com Inventory API
booking-com Locations API
booking-com Messages API
booking-com Orders API
booking-com OTA Availability API
Where this information came from

This is an independent, third-party profile of booking-com Accommodations API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.