hotel direct rates API

Hotel direct rates API for prices on the hotel’s own website

Send a hotel’s homepage and a stay. The API finds the booking link, works out which booking engine runs it and returns every room and rate plan the hotel sells direct, with public and member prices kept apart.

$8.00 per 1,000 calls with a credit pack, down to $2.39 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/officialfrom 4 credits
{
  "search_parameters": {
    "engine": "/v1/official",
    "source_url": "https://www.ihg.com/intercontinental/hotels/us/en/new-york/nychc/hoteldetail",
    "booking_url": "https://www.ihg.com/intercontinental/hotels/us/en/new-york/nychc/hoteldetail",
    "check_in_date": "2027-04-09",
    "check_out_date": "2027-04-10",
    "adults": 2,
    "currency": "USD"
  },
  "source_url": "https://www.ihg.com/intercontinental/hotels/us/en/new-york/nychc/hoteldetail",
  "booking_url": "https://www.ihg.com/intercontinental/hotels/us/en/new-york/nychc/hoteldetail",
  "collection_id": "ratecol_0123456789abcdef0123456789abcdef",
  "observed_at": "2026-08-07T01:23:45.678Z",
  "property_ref": "NYCHC",
  …

Rate parity starts with the direct price: what the hotel charges on its own website, the figure every OTA is measured against. Getting it is hard because there is no common format. A hotel’s site hands bookings to a booking-engine vendor or to its chain’s own site, and each one answers differently. This API reads the engine the hotel actually uses and returns its rooms and rates in one shape, whichever engine answered.

You never name the vendor. The API follows the booking link from the homepage, through tracking redirects, and works out which booking engine runs it. It supports over 50 booking engines, with more added regularly, chain sites included. Member and loyalty prices are labelled with access_type and kept out of cheapest_rate, so the headline stays comparable with what a signed-out guest sees on an OTA.

What you get

booking_url
the booking page the rates were read from
rooms[]
each room with its name, code, maximum occupancy, availability and cheapest rate
rooms[].rates[]
price, stay total, currency, rate plan name and whether tax is included
rates[].access_type
public, member, points or points and cash, from the hotel’s own labels
cheapest_rate, cheapest_member_rate
the lowest public price, for parity, and the lowest member price beside it
loyalty
the loyalty program, the best public, member and points rates, and the member discount against public
comparison
on the OTA comparison: lowest price, spread and whether the sources can be compared

One call, structured JSON

POST /v1/official, from 4 credits per successful call.

One POST /v1/official call from start to finish: the inputs you send, a failed attempt retried on our side and charged nothing, and typed JSON back with nights, currency, cheapest_rate and name, for from 4 credits. Values from the API's own example.
curl -X POST "https://api.scrapercompany.com/v1/official" \
  -H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://www.ihg.com/intercontinental/hotels/us/en/new-york/nychc/hoteldetail",
    "check_in": "2027-01-24",
    "nights": 1,
    "currency": "USD"
  }'
Response (trimmed)
{
  "search_parameters": {
    "engine": "/v1/official",
    "source_url": "https://www.ihg.com/intercontinental/hotels/us/en/new-york/nychc/hoteldetail",
    "booking_url": "https://www.ihg.com/intercontinental/hotels/us/en/new-york/nychc/hoteldetail",
    "check_in_date": "2027-04-09",
    "check_out_date": "2027-04-10",
    "adults": 2,
    "currency": "USD"
  },
  "source_url": "https://www.ihg.com/intercontinental/hotels/us/en/new-york/nychc/hoteldetail",
  "booking_url": "https://www.ihg.com/intercontinental/hotels/us/en/new-york/nychc/hoteldetail",
  "collection_id": "ratecol_0123456789abcdef0123456789abcdef",
  "observed_at": "2026-08-07T01:23:45.678Z",
  "property_ref": "NYCHC",
  "check_in": "2027-04-09",
  "check_out": "2027-04-10",
  "nights": 1,
  "currency": "USD",
  "sold_out": false,
  "cheapest_rate": 631,
  "cheapest_member_rate": 612.07,
  "member_rates_returned": 2,
  "rooms_returned": 1,
  "elapsed_s": 1,
  "rooms": [
    {
      "name": "Premium Room",
      "code": "CDXG",
      "max_occupancy": 2,
      "quantity": 9,
      "available": true,
      "cheapest_rate": 631,
      "rates": [
        {
          "currency": "USD",
          "rate_plan": "Reward Nights",
          "rate_code": "IVANI",
          "rate_category": "points",
          "rate_category_source": "brand_flag",
          "refundable": true,
          "access_type": "points",
          "loyalty_points": 123000,
          "loyalty_program": "IHG One Rewards",
          "points": 123000,
          "points_basis": "stay",
          "is_discounted": false
        },
        {
          "price": 79,
          "currency": "USD",
          "rate_plan": "Reward Nights (points + cash)",
          "rate_code": "IVANI",
          "rate_category": "points",
          "rate_category_source": "brand_flag",
          "refundable": true,
          "access_type": "points_and_cash",
          "loyalty_points": 113000,
          "loyalty_cash": 79,
          "loyalty_program": "IHG One Rewards",
          "points": 113000,
          "points_basis": "stay",
          "cash_component": 79,
          "is_discounted": false
        }
      ]
    }
  ],
  "loyalty": {
    "program": "IHG One Rewards",
    "exposed_unauthenticated": {
      "program": "IHG One Rewards",
      "member": true,
      "points": true,
      "points_and_cash": true,
      "login_required_for": []
    },
    "rates_by_access_type": {
      "public": 2,
      "member": 2,
      "points": 1,
      "points_and_cash": 2,
      "corporate": 0,
      "qualified": 0
    },
    "public_best": {
      "room": "Premium Room",
      "room_code": "CDXG",
      "rate_plan": "Early Saver Rate",
      "price": 631,
      "currency": "USD"
    },
    "member_best": {
      "room": "Premium Room",
      "room_code": "CDXG",
      "rate_plan": "Early Saver Member Exclusive",
      "price": 612.07,
      "currency": "USD",
      "discount_vs_public": {
        "amount": 18.93,
        "percent": 3,
        "public_price": 631,
        "public_rate_plan": "Early Saver Rate",
        "currency": "USD",
        "basis": "room_cheapest_public"
      }
    },
    "points_best": {
      "room": "Premium Room",
      "room_code": "CDXG",
      "rate_plan": "Reward Nights",
      "access_type": "points",
      "points": 123000,
      "points_basis": "stay"
    },
    "points_plus_cash_best": {
      "room": "Premium Room",
      "room_code": "CDXG",
      "rate_plan": "Reward Nights (points + cash)",
      "access_type": "points_and_cash",
      "points": 103000,
      "points_basis": "stay",
      "cash_component": 149,
      "currency": "USD"
    },
    "points_value_cents_per_point": {
      "value": 0.513,
      "unit": "cents_per_point",
      "derivation": "derived",
      "formula": "(public_cash - cash_component) / points * 100",
      "currency": "USD",
      "room": "Premium Room",
      "public_cash": 631,
      "public_rate_plan": "Early Saver Rate",
      "cash_component": 0,
      "points": 123000,
      "points_rate_plan": "Reward Nights",
      "points_access_type": "points",
      "public_price_basis": "stay"
    }
  }
}

Every field, documented before you buy

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

In the response

FieldTypeExampleWhat it is
source_urlstring"https://www.ihg.com/intercontinental/ho…"
booking_urlstring"https://www.ihg.com/intercontinental/ho…"The booking page the rates were read from
collection_idstring"ratecol_0123456789abcdef0123456789abcdef"One id shared by every price collected in this response, for joining rows later.
observed_atstring"2026-08-07T01:23:45.678Z"When the data was read, in UTC (ISO 8601).
property_refstring"NYCHC"The booking page's own property id (may be empty).
check_instring (date)"2027-04-09"Check-in date (YYYY-MM-DD).
check_outstring (date)"2027-04-10"Check-out date (YYYY-MM-DD).
nightsinteger1Nights in the stay.
currencystring"USD"ISO 4217 currency code of the prices.
sold_outbooleanfalseTrue when nothing can be booked for these dates.
cheapest_ratenumber | null631Cheapest public rate across available rooms.
cheapest_member_ratenumber | null612.07The lowest public price, for parity, and the lowest member price beside it

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

In the request

InputTypeRequiredWhat it does
urlstringRequiredThe hotel's public homepage or property page.Min length 8.
check_instring (date)RequiredFirst night of the stay, YYYY-MM-DD.
check_outstring (date) | nullOptionalDeparture date.
nightsintegerOptionalLength of stay.Default 1. Min 1, max 30.
adultsintegerOptionalAdults in the room.Default 2. Min 1, max 8.
roomsintegerOptionalRooms requested.Default 1. Min 1, max 8.
currencystringOptionalISO 4217 code for the returned prices.Default USD.
qualified_ratesarray of stringOptionalAlso shop these eligibility-restricted rates where the hotel's engine offers them (Hilton, Marriott, Radisson): aaa, senior, government.Max items 3.

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
Direct rates
POST /v1/official
Rooms and rate plans from the hotel’s own booking engine for one stayfrom 4 creditsfrom $8.00 – $2.39
OTA comparison
POST /v1/ota/compare
The same stay on Booking.com, Expedia, Hotels.com and Agoda, side by side30 credits$60.00 – $17.94

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/official

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

  3. 03

    Read the JSON

    The answer is one JSON object with source_url, booking_url, collection_id, observed_at and property_ref, typed and named the same way on every call. A failed call costs 0 credits, so retrying is free.

Limits and coverage

Official hotel websites: where it works
Worldwide, wherever a supported booking engine runs
OTA rate comparison: where it works
Booking.com, Hotels.com, Agoda and Expedia
  • Up to 30 nights per stay (nights)
  • Up to 8 adults per call (adults)
  • Up to 8 rooms per call (rooms)
  • Official hotel websites: Most calls answer in a few seconds; a call can take up to a minute.
  • Official hotel websites: Pair it with the OTA sources for rate parity monitoring.
  • OTA rate comparison: comparison.comparable is false for a single priced source, mixed currencies or mixed price bases; minima and spreads are then left out rather than guessed.
  • OTA rate comparison: GET /v1/ota/sources lists what each OTA can answer and what it costs, for free.
Is this an official API from hotels or booking engines?

No. It is independent of the hotels and of the booking-engine vendors. It reads the public booking page a guest would use, without signing in, so it returns the rates any visitor can book.

Which booking engines are supported?

The API supports over 50 booking engines, with more added regularly, from independent booking-engine vendors to hotel-chain sites. You never name the vendor: it is detected from the hotel’s website. Most calls answer in a few seconds; a call can take up to a minute.

What happens if the hotel’s engine is not supported?

The call returns a 422 saying no supported booking engine was found. If the hotel’s website refuses the request for now, as some firewalls do, it returns a 503 with Retry-After instead. Neither costs anything, because failed calls are free.

How do I check rate parity with this API?

Get the direct price from POST /v1/official and the OTA prices for the same stay from POST /v1/ota/compare, then compare cheapest_rate with each OTA. Check the price basis first: each direct rate says whether tax is included, and the comparison flags OTA prices quoted on different bases and groups them by basis.

Are member and loyalty rates included?

Yes, when the hotel shows them to a signed-out guest. Each rate carries access_type, and member rates show their discount against the public rate. cheapest_rate stays public-only, so parity checks are not skewed by members-only prices.

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.