Travel
Booking.com logo

Booking.com API

booking.com

Booking.com — search hotels by destination and dates, resolve locations to destination IDs.

Actions
2
Category
Travel
Login
Not required
Output
JSON

Call the Booking.com API

Submit a task, then poll the job until it settles. This example runs bk_location_search.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "bk_location_search",
    "params": {
      "query": "<query>"
    }
  }'

2 actions on booking.com

Read

  • Hotel Location Search

    bk_location_searchread1 credit / call

    Resolves free-text location (city, country, airport, landmark) to dest_id and dest_type for use with bk_search_hotels.

    query
    string · required
    nb_suggestions
    integer
    language
    string
  • Hotel Search

    bk_search_hotelsread1 credit / call

    Searches properties (hotels, apartments, villas) by destination, dates, and guests — paginated with prices, ratings, and policies.

    dest_id
    string · required
    dest_type
    string · required
    checkin
    string · required
    checkout
    string · required
    adults
    integer
    rooms
    integer
    children_ages
    array
    offset
    integer
    rows_per_page
    integer
    sort
    string
    language
    string

Booking.com API questions

Is there an API for Booking.com?
Booking.com does not offer a public data API for this, but Anakin Wire provides 2 maintained endpoints for booking.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Booking.com data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when booking.com changes its markup, Anakin updates the action.
Do I need a Booking.com account?
No. Every Booking.com action listed here runs anonymously — no account and no credentials required.
What does the Booking.com API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Travel APIs

All Travel sites