B

Booking.com Demand API

REST discovered

Details
URL
https://demandapi.booking.com/3.2
Docs
https://developers.booking.com/demand/docs/open-api/3.2/demand-api
Authentication
Demand API key token Authorization: Bearer <credential> + Demand API affiliate ID (`X-Affiliate-Id`) X-Affiliate-Id: <credential> discovered
Demand API key token bearer Get token ↗

Sign in to the Affiliate Partner Centre with your managed affiliate partner account, then generate an API key token for your API user as described in the Demand API authentication guide. Copy it when shown; Booking.com only displays the full key once.

Demand API affiliate ID (`X-Affiliate-Id`) api_key Get key ↗

After your Booking.com managed affiliate partner account is enabled, open the Affiliate Partner Centre. The Demand API prerequisites say you generate or obtain your X-Affiliate-Id in Partner Centre alongside the API key token.