Travel
Hotels logo

Hotels API

hotels.com

Search hotels by city and dates with listing cards, prices, ratings, and filters.

Actions
2
Category
Travel
Login
Not required
Output
JSON

Call the Hotels API

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

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": "act_hotels_com_hotel_detail",
    "params": {
      "property_id": "573303",
      "check_in": "2026-11-18",
      "check_out": "2026-11-19"
    }
  }'

2 actions on hotels.com

Read

  • Hotel Detail

    act_hotels_com_hotel_detailread1 credit / call

    Hotels.com property detail with amenities, room types and prices for given dates.

    property_id
    string · required
    check_in
    string · required
    check_out
    string · required
    adults
    integer
    rooms
    integer
    destination
    string
    region_id
    string
  • Hotel Search

    act_hotels_com_hotel_searchread1 credit / call

    Search Hotels.com hotels by destination, dates, guests and rooms; returns hotel id, name, stars, guest rating, review count, area, nightly and total price, URL; supports pagination via starting_index.

    destination
    string · required
    region_id
    string
    check_in
    string · required
    check_out
    string · required
    adults
    integer
    rooms
    integer
    starting_index
    integer
    results_size
    integer
    latitude
    number
    longitude
    number

Hotels API questions

Is there an API for Hotels?
Hotels does not offer a public data API for this, but Anakin Wire provides 2 maintained endpoints for hotels.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 Hotels 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 hotels.com changes its markup, Anakin updates the action.
Do I need a Hotels account?
No. Every Hotels action listed here runs anonymously — no account and no credentials required.
What does the Hotels 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