Tripadvisor APITripadvisor

Tripadvisor API for hotel prices and reviews

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.

$2.00 per 1,000 calls with a credit pack, down to $0.60 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/tripadvisor12 credits
{
  "search_parameters": {
    "engine": "tripadvisor_property",
    "location_id": "17768161",
    "check_in_date": "2027-03-26",
    "check_out_date": "2027-03-30",
    "nights": 4,
    "adults": 2,
    "rooms": 1,
    "currency": "USD"
  },
  "property": {
    "location_id": "17768161",
    "hotel_id": "17768161",
    "price_per_night": 337,
  …

Tripadvisor is both a review site and a hotel metasearch: one hotel page lists offers from several booking sites next to the hotel’s traveller reviews. Teams read it to see which site shows the lowest price for a stay and to follow what guests write on a 5-point scale. Tripadvisor’s official API is a content API for locations, photos and reviews; this API returns the offers and reviews on the hotel’s public page.

Prices on Tripadvisor are not all the same kind. Tripadvisor picks a pricing mode for each hotel, so the lead price can be nightly or for the whole stay, before or after taxes. Every offer comes back with its mode and an all-in stay total, so offers can be compared. Offers can arrive over several seconds; the API waits for them and says whether the list is complete, and it refuses a reply for a different stay rather than return it. Each call prices one stay of up to 30 nights, without room types or cancellation terms.

What you get

offers[].provider
the booking site behind each offer, such as Booking.com or Expedia
price, pricing_mode
the lead price and what it means: nightly or whole stay, before or after taxes
total
the all-in stay total for the offer
nightly, taxes_included
the nightly price before taxes, and whether the lead price includes them
is_member_rate
whether the offer is a member price
property.price_per_night
the cheapest offer’s nightly price before taxes
complete, provider_statuses
whether every provider answered, and how many had a price
reviews[]
rating out of 5, title, text, trip type, month of stay, language and the management reply

One call, structured JSON

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

curl -X POST "https://api.scrapercompany.com/v1/ota/tripadvisor" \
  -H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "check_in": "2027-01-24",
    "nights": 1,
    "currency": "USD"
  }'
Response (trimmed)
{
  "search_parameters": {
    "engine": "tripadvisor_property",
    "location_id": "17768161",
    "check_in_date": "2027-03-26",
    "check_out_date": "2027-03-30",
    "nights": 4,
    "adults": 2,
    "rooms": 1,
    "currency": "USD"
  },
  "property": {
    "location_id": "17768161",
    "hotel_id": "17768161",
    "price_per_night": 337,
    "total": 1348,
    "lead_price": 1348,
    "lead_price_is": "stay",
    "pricing_mode": "BASE_PLUS_FEES_FULL_STAY",
    "currency": "USD",
    "requested_currency": "USD",
    "currency_verified": true,
    "complete": true,
    "availability": "available",
    "is_soldout": false,
    "provider_statuses": {
      "AVAILABLE": 3,
      "UNAVAILABLE": 1
    },
    "provenance": {
      "schema_version": 1,
      "observation_id": "rateobs_0123456789abcdef0123456789abcdef",
      "collection_id": "ratecol_0123456789abcdef0123456789abcdef",
      "observed_at": "2026-08-07T01:23:45.678Z",
      "source": "tripadvisor",
      "source_kind": "metasearch",
      "source_property_id": "17768161",
      "requested_currency": "USD",
      "returned_currency": "USD",
      "price_basis": "nightly_before_taxes_including_fees",
      "derivation": "stay_price_divided_by_nights"
    }
  },
  "offers": [
    {
      "provider": "Booking.com",
      "provider_name": "Booking.com",
      "location_id": "17768161",
      "check_in": "2027-03-26",
      "check_out": "2027-03-30",
      "price": 1700,
      "price_value": 1700,
      "price_text": "$1,700",
      "price_is": "stay",
      "pricing_mode": "BASE_PLUS_FEES_FULL_STAY",
      "taxes_included": false,
      "nightly": 425,
      "nightly_derived": true,
      "total": 1980,
      "total_text": "$1,980",
      "currency": "USD",
      "price_currency": "USD",
      "is_member_rate": false,
      "room_plan": "",
      "offer_type": "chevron",
      "provenance": {
        "schema_version": 1,
        "observation_id": "rateobs_0123456789abcdef0123456789abcdef",
        "collection_id": "ratecol_0123456789abcdef0123456789abcdef",
        "observed_at": "2026-08-07T01:23:45.678Z",
        "source": "tripadvisor",
        "source_kind": "metasearch",
        "source_property_id": "17768161",
        "requested_currency": "USD",
        "returned_currency": "USD",
        "price_basis": "stay_before_taxes_including_fees",
        "derivation": "parsed_display_price"
      }
    }
  ],
  "meta": {
    "source": "tripadvisor",
    "collection_id": "ratecol_0123456789abcdef0123456789abcdef",
    "observed_at": "2026-08-07T01:23:45.678Z",
    "nights": 4,
    "elapsed_s": 5.836,
    "offers": 11,
    "polls": 6,
    "warnings": []
  },
  "resolved": {
    "location_id": "17768161",
    "input": "Moxy Boston Downtown",
    "input_kind": "name",
    "geo_id": "60745",
    "type": "hotel",
    "name": "Moxy Boston Downtown",
    "url": "https://www.tripadvisor.com/Hotel_Review-g60745-d17768161-Reviews-Moxy_Boston_Downtown-Boston_Massachusetts.html",
    "match": {
      "confidence": "high",
      "match_score": 0.97,
      "city": "Boston, Massachusetts"
    }
  }
}

Every field, documented before you buy

What one POST /v1/ota/tripadvisor call returns: 54 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.location_idstring"17768161"
property.hotel_idstring"17768161"
property.price_per_nightnumber | null337Cheapest provider offer.
property.totalinteger1348Total for the whole stay or request, in currency.
property.lead_priceinteger1348
property.lead_price_isstring"stay"
property.pricing_modestring"BASE_PLUS_FEES_FULL_STAY"
property.currencystring"USD"The requested currency.
property.requested_currencystring"USD"
property.currency_verifiedbooleantrue
property.completebooleantrue

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

In the request

InputTypeRequiredWhat it does
location_idstring | nullOptionalNumeric Tripadvisor id (the digits after -d in a page URL), e.g.Min length 1, max length 2048.
urlstring | nullOptionalAny Tripadvisor page for the location, on any Tripadvisor domain: Hotel_Review, Restaurant_Review, Attraction_Review, ShowUserReviews ...Min length 8, max length 2048.
namestring | nullOptionalPlace name, resolved with Tripadvisor's own search.Min length 2, max length 200.
citystringOptionalWith name: the city, sent with the name and used to rank same-name places elsewhere lower.Default . Max length 200.
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.
currencystringOptionalOne of 30 supported currencies.Default USD.

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
Metasearch prices
POST /v1/ota/tripadvisor
Offers from Booking.com, Expedia, Hotels.com and other sites for one stay12 credits$24.00 – $7.18
Reviews
POST /v1/ota/tripadvisor/reviews
Reviews for hotels, restaurants and attractions, newest first: up to 30 per page, or many pages in one call with max_reviews, with rating, traveler-type, keyword and language filters1 credit$2.00 – $0.60
Details
POST /v1/ota/tripadvisor/details
Rating breakdown, sub-ratings, ranking, hours, amenities and photos for one place2 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/tripadvisor

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

  3. 03

    Read the JSON

    The answer is one JSON object with property, offers, meta and resolved, 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
Worldwide
  • Up to 30 nights per stay (nights)
  • Up to 8 adults per call (adults)
  • Up to 8 rooms per call (rooms)
  • Name search for prices is not available yet: take the location id from the URL, the number after -d in /Hotel_Review-g…-d12345-….
  • Reviews and details also take a name and city; a name with no single confident match answers 404 with candidates, uncharged.
Does Tripadvisor have an official API?

Yes, for content. Tripadvisor’s official API, now its Terra platform, returns location details, photos and a set number of recent reviews for hotels, restaurants and attractions, with usage-based pricing and rules for display and caching. Its documented endpoints do not include the booking-site prices on a hotel page. ScraperCompany is independent of Tripadvisor: this API reads the offers and reviews a visitor sees on the hotel’s Tripadvisor page.

How do I find a hotel’s Tripadvisor locationId?

Take the number after -d in the hotel’s Tripadvisor URL. For tripadvisor.com/Hotel_Review-g60745-d17768161-Reviews-Moxy_Boston_Downtown-Boston_Massachusetts.html, the locationId is 17768161. The same id works for prices and reviews. Search by hotel name is not available yet.

Which booking sites appear in Tripadvisor prices?

Whichever sites Tripadvisor lists for that hotel and stay, often including Booking.com, Expedia and Hotels.com. Each offer names its provider. Metasearch prices can trail the booking site’s own, so for a site’s exact price and rate plans use that site’s own endpoints.

Are Tripadvisor prices per night or per stay?

It depends on the hotel: Tripadvisor chooses whether the lead price is nightly or for the whole stay, and before or after taxes. Each offer returns pricing_mode, price_is and taxes_included next to price, plus total, the all-in stay total. Compare offers on total, or on nightly where it is given.

How many Tripadvisor reviews does one call return?

Up to 30 per page, newest first, with the hotel’s review count in total; page through the rest with offset, adding limit each time. To read many at once, set max_reviews instead: the API fetches Tripadvisor’s pages of 20 in parallel, removes duplicates and bills each page it fetched. Add since_date to stop at reviews older than that date, which for a daily refresh is usually one page. Ratings are on Tripadvisor’s 5-point scale, and stay_date is the month of the stay (YYYY-MM), not a day.

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.