Tripadvisor API

Tripadvisor Search API

Search Tripadvisor for hotels, restaurants, and attractions in any destination and get rich place records (ratings, review counts, contact details, pricing) as normalized JSON.

$3.00/1k req, pay per request, no subscription.

What the API returneditems[0]
{
"id": "d188742",
"title": "Hotel Plaza Athenee",
"url": "https://www.tripadvisor.com/Hotel_Review-g187147-d188742-Reviews-Hotel_Plaza_Athenee-Paris_Ile_de_France.html",
"website": "https://www.dorchestercollection.com/en/paris/hotel-plaza-athenee/",
"category": "hotel",
"type": "HOTEL",
"rating": 4.5,
"reviewCount": 3218,
... 13 more fields
}
Uptime
94.44%
30d · 18 calls
Requests
18
30d · weekly, last 12 wks
Response
9.7s
median · 30d

Pricing and providers

Tripadvisor Search API pricing: one API, 2 interchangeable providers

The cheapest provider serves first. If it fails, the next one takes over in the same call.

You pay
$30.00
$3.00/1k req, only for what you use. No monthly plan.
Your first 33 requests are free with the $0.10 starting balance.

Try it

Get Tripadvisor search in one request

requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `phone` or `website`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a place that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.

This sample shows 23 of 25 fields. See every field

{
  "found": true,
  "data": {
    "items": [
      {
        "id": "d188742",
        "title": "Hotel Plaza Athenee",
        "url": "https://www.tripadvisor.com/Hotel_Review-g187147-d188742-Reviews-Hotel_Plaza_Athenee-Paris_Ile_de_France.html",
        "website": "https://www.dorchestercollection.com/en/paris/hotel-plaza-athenee/",
        "category": "hotel",
        "type": "HOTEL",
        "rating": 4.5,
        "reviewCount": 3218,
        "ranking": "#12 of 1,885 hotels in Paris",
        "priceLevel": "$$$$",
        "priceRange": "$1,450 - $2,900",
        "hotelClass": "5.0 of 5 stars",
        "address": "25 Avenue Montaigne, 75008 Paris France",
        "city": "Paris",
        "country": "France",
        "postalCode": "75008",
        "phone": "+33 1 53 67 66 65",
        "latitude": 48.8659,
        "longitude": 2.3032,
        "image": "https://media-cdn.tripadvisor.com/media/photo-w/2b/6a/9c/12/hotel-plaza-athenee.jpg"
      },
      {
        "id": "d190430",
        "title": "Le Jules Verne",
        "url": "https://www.tripadvisor.com/Restaurant_Review-g187147-d190430-Reviews-Le_Jules_Verne-Paris_Ile_de_France.html",
        "category": "restaurant",
        "type": "RESTAURANT",
        "rating": 4.5,
        "reviewCount": 4890,
        "ranking": "#340 of 18,220 restaurants in Paris",
        "priceLevel": "$$$$",
        "address": "Avenue Gustave Eiffel, 75007 Paris France",
        "city": "Paris",
        "country": "France",
        "postalCode": "75007",
        "phone": "+33 1 45 55 61 44",
        "latitude": 48.8584,
        "longitude": 2.2945,
        "image": "https://media-cdn.tripadvisor.com/media/photo-w/1e/44/2c/aa/le-jules-verne.jpg"
      },
      {
        "id": "d188151",
        "title": "Musee d'Orsay",
        "url": "https://www.tripadvisor.com/Attraction_Review-g187147-d188151-Reviews-Musee_d_Orsay-Paris_Ile_de_France.html",
        "website": "https://www.musee-orsay.fr/en",
        "category": "attraction",
        "type": "ATTRACTION",
        "rating": 4.5,
        "reviewCount": 41230,
        "ranking": "#8 of 2,144 things to do in Paris",
        "priceRange": "$16 - $16",
        "address": "1 Rue de la Legion d'Honneur, 75007 Paris France",
        "city": "Paris",
        "country": "France",
        "postalCode": "75007",
        "latitude": 48.86,
        "longitude": 2.3266,
        "image": "https://media-cdn.tripadvisor.com/media/photo-w/07/9e/4c/3a/musee-dorsay.jpg"
      }
    ]
  }
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-10-31 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • querystring

    Paris

    Destination or keyword to search for (e.g. Barcelona).

  • currencystring

    ISO currency code for prices (e.g. USD, EUR).

  • includeAttractionsboolean

    Include attractions and things to do in the results; set false to exclude them (e.g. false). Defaults to true.

  • includeHotelsboolean

    Include hotels in the results; set false to exclude them (e.g. false). Defaults to true.

  • includeRestaurantsboolean

    Include restaurants in the results; set false to exclude them (e.g. false). Defaults to true.

  • limitinteger

    3

    Maximum number of results to return (1-20, default 20).

  • requireFieldsarray

    Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `phone` or `website`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a place that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

each itemdata.items[]

Matching Tripadvisor place records (hotels, restaurants, attractions). Populated whenever the provider has data for the entity.

  • addressstringcan require

    25 Avenue Montaigne, 75008 Paris France

    Full formatted street address.

  • categorystring

    hotel

    High-level category (e.g. hotel, restaurant, attraction).

  • citystringcan require

    Paris

    City the place is in.

  • countrystringcan require

    France

    Country the place is in.

  • emailstringcan require

    Business contact email, when listed.

  • hotelClassstringcan require

    5.0 of 5 stars

    Star rating / hotel class, when applicable.

  • idstring

    d188742

    Tripadvisor location id (stable identifier for the place).

  • imagestring

    https://media-cdn.tripadvisor.com/media/photo-w/2b/6a/9c/12/hotel-plaza-athenee.jpg

    Primary place photo URL.

  • latitudenumbercan require

    48.8659

    Latitude of the place in decimal degrees.

  • longitudenumbercan require

    2.3032

    Longitude of the place in decimal degrees.

  • phonestringcan require

    +33 1 53 67 66 65

    Business phone number, when listed.

  • postalCodestringcan require

    75008

    Postal code of the place.

  • priceLevelstringcan require

    $$$$

    Relative price level indicator (e.g. $$, $$$$).

  • priceRangestringcan require

    $1,450 - $2,900

    Nightly or per-visit price range in the requested currency.

  • rankingstringcan require

    #12 of 1,885 hotels in Paris

    Ranking string within its location (e.g. "#2 of 1,885 hotels in Paris").

  • ratingnumber

    4.5

    Average traveler rating out of 5; null for a place Tripadvisor has not rated (such as a city). Populated whenever the provider has data for the entity.

  • reviewCountnumber

    3218

    Total number of traveler reviews; null when the source does not report it.

  • titlestring

    Hotel Plaza Athenee

    Place name. Populated whenever the provider has data for the entity.

  • typestring

    HOTEL

    Tripadvisor place type (e.g. HOTEL, RESTAURANT, ATTRACTION).

  • urlstring

    https://www.tripadvisor.com/Hotel_Review-g187147-d188742-Reviews-Hotel_Plaza_Athenee-Paris_Ile_de_France.html

    Canonical Tripadvisor listing page URL. Populated whenever the provider has data for the entity.

  • websitestringcan require

    https://www.dorchestercollection.com/en/paris/hotel-plaza-athenee/

    The place's own website URL, when listed.

top level
  • foundboolean

    true

    True when the search returned at least one matching place.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the Tripadvisor Search API

The AnyAPI Tripadvisor Search API returns Tripadvisor search data as normalized JSON from one POST call to /v1/run/tripadvisor.search. Search Tripadvisor for hotels, restaurants, and attractions in any destination and get rich place records (ratings, review counts, contact details, pricing) as normalized JSON. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $3 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 94.4% of Tripadvisor search calls through AnyAPI succeeded, with a median response time of 9.7 seconds across 18 measured calls.

It costs from $3 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

Search Tripadvisor for hotels, restaurants, and attractions in any destination and get rich place records (ratings, review counts, contact details, pricing) as normalized JSON. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 94.4% of Tripadvisor search calls through AnyAPI succeeded, with a median response time of 9.7 seconds across 18 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 33 Tripadvisor Search calls at $0.003 each.

AnyAPI asks the next of its 2 sources in the same request, cheapest first, so one source going down does not fail your call.

Send a POST request to https://api.getanyapi.com/v1/run/tripadvisor.search with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.
More to call

Other Tripadvisor endpoints