ScraperCompany · APIs · Pricing · Docs · llms.txt · Get an API key

Expedia API Expedia

Expedia API for hotel rates, rooms and reviews

Look a hotel up by name, then read what Expedia shows a guest for one stay: every room type and rate plan with its total, nightly price and cancellation terms, and the guest reviews with the property’s replies.

$4.00 per 1,000 calls with a credit pack, down to $1.20 on the Scale plan 500 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/expedia 12 credits
{
  "search_parameters": {
    "engine": "expedia_property",
    "property_id": "12570",
    "check_in_date": "2027-04-16",
    "check_out_date": "2027-04-17",
    "adults": 2,
    "market": "US",
    "currency": "USD",
    "rooms": true
  },
  "property": {
    "property_id": "12570",
    "total": 475,
    "price_per_night": 374,
  …

Revenue teams check Expedia to see how a hotel sells through Expedia Group: which room types are open, how each rate plan is priced, whether it is refundable, and whether the guest pays now or at the property. Expedia Group’s own APIs are for approved partners that sell or link to its inventory. This API reads the same answer an Expedia.com visitor gets: send a property id and a stay, and get back every room type and rate plan, or only the headline price.

Expedia shows two prices for each offer, and which one leads depends on the market: the US site leads with the stay total including taxes and fees, the Canadian site with the nightly price. The API returns both figures for every offer, plus the taxes and fees between them, marked as derived. Prices come from expedia.com in USD or expedia.ca in CAD. There is no price calendar, so each call prices one stay of up to 28 nights, and a stay Expedia will not sell comes back with Expedia’s reason, such as a minimum stay.

What you get

recommended_match.property_id
Expedia’s numeric hotel id from a name and city search, with a confidence level
property.total, price_per_night
the headline stay total and nightly price for the stay you asked for
rooms[].offers[]
one row per rate plan and payment model, with total, nightly and taxes_and_fees
refundable, cancellation_text
whether the plan can be cancelled for free, and Expedia’s wording
payment_model, hotel_collect
pay now or pay later, and whether the property collects the payment
strikeout_price
the crossed-out price when Expedia shows a discount
availability
available, sold out or a minimum stay, so an empty answer is never a silent gap
reviews[]
rating out of 10, text, date, length of stay, labels such as Verified review, and the property’s reply

One call, structured JSON

POST /v1/ota/expedia, 12 credits per successful call.

One POST /v1/ota/expedia call from start to finish: the inputs you send, a failed attempt retried on our side and charged nothing, and typed JSON back with total, currency, available and name, for 12 credits. Values from the API's own example.
curl -X POST "https://api.scrapercompany.com/v1/ota/expedia" \
  -H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "property_id": "12570",
    "check_in": "2027-01-24",
    "nights": 1,
    "adults": 2,
    "market": "US"
  }'
Response (trimmed)
{
  "search_parameters": {
    "engine": "expedia_property",
    "property_id": "12570",
    "check_in_date": "2027-04-16",
    "check_out_date": "2027-04-17",
    "adults": 2,
    "market": "US",
    "currency": "USD",
    "rooms": true
  },
  "property": {
    "property_id": "12570",
    "total": 475,
    "price_per_night": 374,
    "basis": "sticky_bar",
    "total_text": "$475",
    "nightly_text": "$374 nightly",
    "currency": "USD",
    "currency_verified": true,
    "available": true,
    "availability": "available",
    "is_soldout": false,
    "cheapest_total": 475,
    "provenance": {
      "schema_version": 1,
      "observation_id": "rateobs_0123456789abcdef0123456789abcdef",
      "collection_id": "ratecol_0123456789abcdef0123456789abcdef",
      "observed_at": "2026-08-07T01:23:45.678Z",
      "source": "expedia_com",
      "source_kind": "ota_offer",
      "source_property_id": "12570",
      "requested_market": "US",
      "requested_currency": "USD",
      "returned_currency": "USD",
      "price_basis": "stay_headline",
      "derivation": "upstream"
    }
  },
  "rooms": [
    {
      "unit_id": "403873",
      "name": "Room, 1 King Bed",
      "cheapest_total": 635,
      "offers": [
        {
          "plan_id": "266071241",
          "room_type_id": "403873",
          "total": 635,
          "nightly": 509,
          "taxes_and_fees": 126,
          "currency": "USD",
          "total_text": "$635 total",
          "nightly_text": "$509 nightly",
          "taxes_and_fees_included": true,
          "payment_model": "PAY_NOW",
          "hotel_collect": false,
          "member_only": false,
          "refundable": false,
          "cancellation_text": "Non-Refundable",
          "extras_text": "No extras",
          "strikeout_text": "$745 total",
          "rate_code": "266071241",
          "rate_category": "advance_purchase",
          "rate_category_source": "brand_flag",
          "rate_code_scope": "room",
          "strikeout_price": 745,
          "strikeout_basis": "stay_total",
          "inventory_type": "MERCHANT",
          "business_model": "EXPEDIA_COLLECT",
          "messages": [],
          "provenance": {
            "schema_version": 1,
            "observation_id": "rateobs_0123456789abcdef0123456789abcdef",
            "collection_id": "ratecol_0123456789abcdef0123456789abcdef",
            "observed_at": "2026-08-07T01:23:45.678Z",
            "source": "expedia_com",
            "source_kind": "ota_rate_plan",
            "source_property_id": "12570",
            "requested_market": "US",
            "requested_currency": "USD",
            "returned_currency": "USD",
            "price_basis": "stay_total_including_taxes_and_fees",
            "derivation": "upstream",
            "upstream_rate_id": "266071241"
          },
          "taxes_and_fees_provenance": {
            "schema_version": 1,
            "observation_id": "rateobs_0123456789abcdef0123456789abcdef",
            "collection_id": "ratecol_0123456789abcdef0123456789abcdef",
            "observed_at": "2026-08-07T01:23:45.678Z",
            "source": "expedia_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": "266071241"
          }
        },
        {
          "plan_id": "266071239",
          "room_type_id": "403873",
          "total": 742,
          "nightly": 599,
          "taxes_and_fees": 143,
          "currency": "USD",
          "total_text": "$742 total",
          "nightly_text": "$599 nightly",
          "taxes_and_fees_included": true,
          "payment_model": "PAY_LATER",
          "hotel_collect": true,
          "member_only": false,
          "refundable": true,
          "cancellation_text": "Fully refundable before Nov 14",
          "extras_text": "No extras",
          "strikeout_text": "",
          "inventory_type": "DIRECT_AGENCY",
          "business_model": "HOTEL_COLLECT",
          "messages": [],
          "provenance": {
            "schema_version": 1,
            "observation_id": "rateobs_0123456789abcdef0123456789abcdef",
            "collection_id": "ratecol_0123456789abcdef0123456789abcdef",
            "observed_at": "2026-08-07T01:23:45.678Z",
            "source": "expedia_com",
            "source_kind": "ota_rate_plan",
            "source_property_id": "12570",
            "requested_market": "US",
            "requested_currency": "USD",
            "returned_currency": "USD",
            "price_basis": "stay_total_including_taxes_and_fees",
            "derivation": "upstream",
            "upstream_rate_id": "266071239"
          }
        }
      ]
    }
  ],
  "meta": {
    "source": "expedia",
    "nights": 1,
    "elapsed_s": 0.62,
    "room_types": 37,
    "offers": 149,
    "comparable_across_markets": false,
    "collection_id": "ratecol_0123456789abcdef0123456789abcdef",
    "observed_at": "2026-08-07T01:23:45.678Z"
  }
}

Every field, documented before you buy

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

In the response

FieldTypeExampleWhat it is
propertyobject
property.property_idstring"12570"
property.totalnumber | null475Headline stay total for all nights; see basis and taxes_and_fees_included.
property.price_per_nightnumber | null374Headline nightly price, before taxes and fees (Expedia rounds it to whole units).
property.basisstring | null"sticky_bar"Where the headline comes from: sticky_bar (the page's own headline price, read by its labels) or cheapest_offer (the cheapest priced offer).
property.total_textstring"$475"Headline total as displayed; empty when not shown.
property.nightly_textstring"$374 nightly"Headline nightly price as displayed; empty when not shown.
property.currencystring"USD"Currency the point-of-sale actually priced in.
property.currency_verifiedbooleantrueWhether currency equals the market's currency.
property.availablebooleantrueFalse when nothing is bookable for this stay as asked.
property.availabilitystring"available"
property.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/expedia/search.Min length 1, pattern ^\d+$.
check_instring (date)RequiredFirst night of the stay, YYYY-MM-DD.
check_outstring (date) | nullOptionalDeparture date.
nightsintegerOptionalLength of stay.Default 1. Min 1, max 28.
adultsintegerOptionalAdults in the room.Default 2. Min 1, max 8.
marketstringOptionalExpedia point-of-sale, which is how currency is selected - there is no currency field.Default US.
roomsbooleanOptionalReturn every room type and rate plan.Default true.
country_marketstring | nullOptionalStayAPI-style alias for market (the point-of-sale).
retry_min_staybooleanOptionalWhen the source answers availability: min_stay, price that minimum stay once more and return it as property.min_stay_quote (its own dates, nights and provenance).Default false.

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/expedia/search
Expedia property id for a hotel name and city, with match confidence2 credits$4.00 – $1.20
Rooms and rates
POST /v1/ota/expedia
Every room type and rate plan for one stay, or the headline price only12 credits$24.00 – $7.18
Reviews
POST /v1/ota/expedia/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/expedia

    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, rooms and meta, 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
US and CA points of sale; the point of sale decides the currency
  • Up to 28 nights per stay (nights)
  • Up to 8 adults per call (adults)

Is it legal to scrape Expedia?

It depends on what you collect and what you do with it. Here is what the API does, and what stays with you once the data is yours.

Public pages only

The API reads what Expedia shows anyone who opens the page without signing in. It uses no account and opens nothing behind a paywall.

Facts are not the same as content

A price on a date, a rating or a count is a fact, and copyright does not protect facts. Review text, photos, descriptions and transcripts belong to their authors or the site. Counting, scoring or summarising them is a different use from republishing them, and republishing usually needs permission.

Databases have their own right in the EU and UK

Whoever invested in building a database there can stop others taking a substantial part of it, and repeated extraction of small parts can add up to a substantial part. Collect the fields and dates you need, not a copy of Expedia.

Personal data is yours to handle

Guest reviews carry reviewer names, home countries and sometimes photos; host names appear on rental listings. If you keep it, the GDPR and UK GDPR apply to people in Europe and the UK, and other places have their own privacy laws: you need a lawful basis, must tell people you hold their data unless an exemption applies, should collect no more than you need, and should delete it on a schedule. The simplest route is not to keep it: drop names and handles before you store anything. A hashed name is still personal data.

The site’s terms, and ours

The terms of use of Expedia may limit automated access to it or reuse of its data. Our Terms make you responsible for how you use the data you collect, for following the terms of the sites it comes from, for data protection law, and for having the rights you need.

This is general information, not legal advice. For a specific use, ask a lawyer where you operate. Expedia is a trademark of its owner. ScraperCompany is independent: not affiliated with or endorsed by Expedia, and this is not an official Expedia API.

Frequently asked questions

Read next

Guides

Does Expedia have a public API?

Expedia Group has partner APIs, but access is by application. Rapid and the Travel Redirect API are for businesses that sell or advertise its travel inventory, and its connectivity APIs are for properties and their technology providers. ScraperCompany is independent of Expedia Group: this API reads the prices, rooms and reviews the public Expedia site shows.

How do I find a hotel’s Expedia property id?

Send the hotel name and city to the hotel search endpoint and store recommended_match.property_id. You can also read it from the hotel’s Expedia URL: for expedia.com/Chicago-Hotels-Hilton-Chicago.h12570.Hotel-Information it is 12570. Older properties have a different id on Hotels.com, so do not reuse one brand’s id for the other.

Which Expedia markets and currencies can I price?

The US site (expedia.com, USD) and the Canadian site (expedia.ca, CAD), chosen with market. The market sets the currency; there is no separate currency field. The two sites lead with different figures, so compare prices within one market.

Are taxes and fees included in Expedia prices?

Each offer returns Expedia’s stay total with taxes and fees and its nightly price before taxes. The API also returns taxes_and_fees, worked out as the total minus the nightly price times the nights, and its provenance says it is derived. Expedia does not split taxes from fees on these pages, so they come back as one figure.

What happens when a stay cannot be booked on Expedia?

The response says available: false, and availability says why: sold out, or a minimum stay with the number of nights required. Set retry_min_stay to price that minimum stay as well; it comes back as min_stay_quote and never replaces the stay you asked for.

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.

More APIs on the same key

All APIs
Booking.com API

Look a hotel up by name, then read what Booking.com shows a guest: a nightly price calendar, each room type with its rate plans, and the reviews with the property’s replies. Structured JSON, priced per call.

Hotels.com API

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.

Agoda API

Look a hotel up by name, then read every room type and rate plan Agoda shows a guest for one stay, with the stay total, discounts, meal plan and cancellation terms, in any of 23 currencies.

Tripadvisor API

Send a hotel’s Tripadvisor id and a stay, and get the offers Tripadvisor lists from Booking.com, Expedia, Hotels.com and other sites, each with what its price means. Read the hotel’s guest reviews and management replies from the same id.

Airbnb API

Search Airbnb by destination or map area and get each listing with its trip price and breakdown. Then read a listing’s calendar: availability, stay rules and the price Airbnb itself quotes for the nights you choose. Structured JSON, priced per call.

Vrbo API

Search Vrbo for a destination and stay, then quote any rental for exact dates: Vrbo’s nightly figure, its fee-inclusive total, the payment model and whether the dates can be booked. Structured JSON, priced per call.

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.