Hotels.com APIHotels.com

Hotels.com API for hotel prices, rate plans and reviews

Find a hotel’s Hotels.com id by name, then read what a guest on the Hotels.com site for their country sees: the headline price for a stay, every room type and rate plan, and the guest reviews.

$4.00 per 1,000 calls with a credit pack, down to $1.20 on the Scale plan500 free calls, no card. Failed calls are free. Then $20 for 10,000 credits, or plans from $39 a month.Checked Hotel price API: rate shopping and parity
POST /v1/ota/hotels/rooms12 credits
{
  "property_id": "12570",
  "market": "US",
  "check_in": "2027-04-16",
  "check_out": "2027-04-17",
  "nights": 1,
  "currency": "USD",
  "requested_currency": "USD",
  "currency_verified": true,
  "available": true,
  "sold_out": false,
  "availability": "available",
  "is_soldout": false,
  "cheapest_rate": 475,
  "rooms": [
  …

Hotels.com is an Expedia Group brand with separate sites for many countries, so a hotel’s price there can differ from Expedia’s and from one Hotels.com site to the next. Teams that watch rate parity or a competitive set track it as its own channel. Hotels.com has no developer API for reading prices, so this API returns the public Hotels.com result as data.

Two things make Hotels.com easy to get wrong. The number in many hotel page URLs is a legacy id that does not price, and the headline price on the US and German sites is the stay total, not a nightly rate. The search endpoint returns the id that does price, and the headline price comes with a label saying whether it is a stay total or a nightly figure. Each call prices one stay of up to 30 nights on the Hotels.com site you choose: the US, UK, Canada, Ireland, Germany, France and others.

What you get

recommended_match.property_id
the hotel’s numeric Hotels.com id from a name and city search, with a confidence level
price_per_night, price_per_night_is
the headline price, and whether it is the stay total or a nightly figure
total, nightly
the stay total and nightly price, when Hotels.com labels them
rooms[].rate_plans[]
price per rate plan, with total, nightly and taxes_and_fees
refundable, cancellation_text
whether the plan can be cancelled for free, and Hotels.com’s wording
payment_model, pay_now
pay now or pay at the property
availability
available, sold out or a minimum stay
reviews[]
rating out of 10, text, date, length of stay and labels such as Verified review

One call, structured JSON

POST /v1/ota/hotels/rooms, 12 credits per successful call.

curl -X POST "https://api.scrapercompany.com/v1/ota/hotels/rooms" \
  -H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "property_id": "12570",
    "check_in": "2027-01-24",
    "nights": 1,
    "market": "US"
  }'
Response (trimmed)
{
  "property_id": "12570",
  "market": "US",
  "check_in": "2027-04-16",
  "check_out": "2027-04-17",
  "nights": 1,
  "currency": "USD",
  "requested_currency": "USD",
  "currency_verified": true,
  "available": true,
  "sold_out": false,
  "availability": "available",
  "is_soldout": false,
  "cheapest_rate": 475,
  "rooms": [
    {
      "name": "Room, 2 Double Beds",
      "unit_id": "16572",
      "cheapest_rate": 635,
      "rate_plans": [
        {
          "plan_id": "266071193",
          "price": 635,
          "price_text": "$635 total",
          "currency": "USD",
          "refundable": false,
          "refundable_until": "",
          "pay_now": true,
          "rate_code": "266071193",
          "rate_category": "advance_purchase",
          "rate_category_source": "brand_flag",
          "rate_code_scope": "room",
          "provenance": {
            "schema_version": 1,
            "observation_id": "rateobs_0123456789abcdef0123456789abcdef",
            "collection_id": "ratecol_0123456789abcdef0123456789abcdef",
            "observed_at": "2026-08-07T01:23:45.678Z",
            "source": "hotels_com",
            "source_kind": "ota_rate_plan",
            "source_property_id": "12570",
            "requested_market": "US",
            "requested_currency": "USD",
            "returned_currency": "USD",
            "price_basis": "stay_rate_plan",
            "derivation": "upstream",
            "upstream_rate_id": "266071193"
          },
          "room_type_id": "16572",
          "payment_model": "PAY_NOW",
          "hotel_collect": false,
          "total": 635,
          "nightly": 509,
          "taxes_and_fees": 126,
          "taxes_and_fees_provenance": {
            "schema_version": 1,
            "observation_id": "rateobs_0123456789abcdef0123456789abcdef",
            "collection_id": "ratecol_0123456789abcdef0123456789abcdef",
            "observed_at": "2026-08-07T01:23:45.678Z",
            "source": "hotels_com",
            "source_kind": "ota_rate_plan",
            "source_property_id": "12570",
            "requested_market": "US",
            "requested_currency": "USD",
            "returned_currency": "USD",
            "price_basis": "taxes_and_fees_combined",
            "derivation": "total_minus_nightly_times_nights",
            "upstream_rate_id": "266071193"
          },
          "total_text": "$635 total",
          "nightly_text": "$509 nightly",
          "taxes_and_fees_included": true,
          "cancellation_text": "Non-Refundable",
          "extras_text": "No extras",
          "member_only": false,
          "inventory_type": "MERCHANT",
          "business_model": "EXPEDIA_COLLECT"
        },
        {
          "plan_id": "266071191",
          "price": 742,
          "price_text": "$742 total",
          "currency": "USD",
          "refundable": true,
          "refundable_until": "Nov 14",
          "pay_now": false,
          "room_type_id": "16572",
          "payment_model": "PAY_LATER",
          "hotel_collect": true,
          "total": 742,
          "nightly": 599,
          "taxes_and_fees": 143,
          "total_text": "$742 total",
          "nightly_text": "$599 nightly",
          "taxes_and_fees_included": true,
          "cancellation_text": "Fully refundable before Nov 14",
          "extras_text": "No extras",
          "member_only": false,
          "inventory_type": "DIRECT_AGENCY",
          "business_model": "HOTEL_COLLECT"
        }
      ]
    },
    {
      "name": "Suite, Multiple Beds, Non Smoking",
      "unit_id": "325392434",
      "rate_plans": []
    }
  ]
}

Every field, documented before you buy

What one POST /v1/ota/hotels/rooms call returns: 18 fields with their type and a value from the example above, then every input the call takes.

In the response

FieldTypeExampleWhat it is
property_idstring"12570"
marketstring"US"
check_instring (date)"2027-04-16"Check-in date (YYYY-MM-DD).
check_outstring (date)"2027-04-17"Check-out date (YYYY-MM-DD).
nightsinteger1Nights in the stay.
currencystring"USD"ISO 4217 currency code of the prices.
requested_currencystring"USD"
currency_verifiedbooleantrue
availablebooleantrueWhether it can be booked.
sold_outbooleanfalseTrue when nothing can be booked for these dates.
availabilitystring"available"Available, sold out or a minimum stay
is_soldoutbooleanfalseTrue when nothing can be booked for this date.

Arrays show their first item; every item has the same fields. Full schema in the API reference

In the request

InputTypeRequiredWhat it does
property_idstringRequiredNumeric id returned by POST /v1/ota/hotels/search, or from hotels.com/h38766175.Hotel-Information (not the legacy ho… number).Min length 1.
check_instring (date)RequiredFirst night of the stay, YYYY-MM-DD.
nightsintegerOptionalLength of stay.Default 1. Min 1, max 30.
adultsintegerOptionalAdults in the room.Default 2. Min 1, max 8.
marketstringOptionalPoint-of-sale; also selects the currency.Default US.

Endpoints and price per call

Credits per successful call, and what 1,000 calls cost: from a credit pack down to the Scale plan. Failed requests cost nothing.

EndpointWhat it returnsCreditsPer 1,000 calls
Hotel search
POST /v1/ota/hotels/search
Hotels.com property id for a hotel name and city, with match confidence2 credits$4.00 – $1.20
Headline price
POST /v1/ota/hotels
The lead price for one stay, with labelled total and nightly figures12 credits$24.00 – $7.18
Rooms and rate plans
POST /v1/ota/hotels/rooms
Every room type and rate plan for one stay12 credits$24.00 – $7.18
Reviews
POST /v1/ota/hotels/reviews
Guest reviews, newest first, up to 25 per page2 credits$4.00 – $1.20

See all plans

Your first call in three steps

  1. 01

    Get an API key

    Create an account and verify your email, then copy a key from the dashboard. The free trial is 500 free calls, once, no card needed.

  2. 02

    Send POST /v1/ota/hotels/rooms

    Put the key in the x-api-key header and pass property_id and check_in. Every other input is optional and listed above.

  3. 03

    Read the JSON

    The answer is one JSON object with property_id, market, check_in, check_out and nights, typed and named the same way on every call. A failed call costs 0 credits, so retrying is free.

Limits and coverage

Where it works
Point-of-sale specific prices
  • Up to 30 nights per stay (nights)
  • Up to 8 adults per call (adults)
Does Hotels.com have a public API?

Hotels.com does not publish a developer API of its own. It is an Expedia Group brand, and Expedia Group’s partner APIs are open by application to businesses that sell its inventory or supply rooms. ScraperCompany is independent of Expedia Group: this API reads the prices, rooms and reviews the public Hotels.com sites show.

How do I find a hotel’s Hotels.com property id?

Send the hotel name and city to the hotel search endpoint and store recommended_match.property_id. In a URL like hotels.com/h38766175.Hotel-Information, the id is 38766175. Many page URLs carry an older number after /ho instead; the price endpoints read that as an unknown hotel and answer that no rooms are available, so use the search endpoint’s id.

Why is price_per_night sometimes the price of the whole stay?

It is the headline price as Hotels.com shows it, and on the US and German sites that headline is the stay total including taxes and fees. price_per_night_is says whether it is a stay total, a nightly price or unknown. Use total and nightly when you need a figure with a fixed meaning.

Can I compare Hotels.com prices across countries?

Not directly. Each Hotels.com site sets its own currency and shows prices on its own basis, so converting one site’s price into another currency does not give the other site’s price. Pick one market per comparison.

Are Hotels.com reviews the same as Expedia’s?

No. Both are Expedia Group brands, but each site keeps its own guest reviews. Use the Hotels.com reviews endpoint for Hotels.com and the Expedia reviews endpoint for Expedia.

Do failed requests cost credits?

No. A failed or blocked call (any 4xx or 5xx response) costs 0 credits, and so does a search page that comes back empty. You pay only for successful results.

How do I get an API key?

Create an account on the sign-up page and verify your email. You get a free trial of 500 free calls, once, no card needed; for everything else, and after the trial, buy a credit pack (from $20) or pick a plan. You create and rotate keys yourself in the dashboard.

Start with 500 free calls

Create an account and verify your email: your own API keys and 500 free calls, once, no card needed. When you need more, pay $20 as you go or pick a plan from $39 a month.

No card needed. Then $20 for 10,000 credits, or plans from $39 a month.