Skip to content

Last updated

Changelog

Tripadvisor API

HealthyRead-only

Trip-planning data from Tripadvisor: geo search plus attractions, restaurants and hotels by location (geo_id), with ratings, reviews, price and coordinates. Resolve a place name with /search, then list with /attractions, /restaurants, /hotels. Generated from www.tripadvisor.com.

Base URL
https://api.maviapi.com/v1/sites/tripadvisor
19
Endpoints
3 min ago
Last verified
100%
Uptime / 7d
816ms
p50 latency
5
Self-repairs / all time
GET/search-v35 credits per call

Search V3

Resolve a place or venue name to every TripAdvisor location the site's search returns for it, up to 20 best matches of each kind, deduplicated and grouped by kind in this order: cities and regions, hotels, attractions, tours, restaurants, airlines, cruise ships, cruise lines. Each has id, name, type, parent, coordinates, URL and a thumbnail; optionally ranked toward a lat/lng point and filtered by kind.

Bearer auth. Pass your key as Authorization: Bearer <key> on every request.
stringOptionalin query

place or venue name, e.g. a city, landmark or hotel

stringOptionalin query

optional latitude to rank results near (give together with lng)

stringOptionalin query

optional longitude to rank results near (give together with lat)

stringOptionalin query

optional comma list of kinds to keep: geo, accommodation, attraction, attraction_product, eatery, airline, ship, cruise_line (e.g. geo for cities and countries only); the filter keeps the ranking of the unfiltered list

querystringe.g."Istanbul"
centernull
resultsobject[]7 fields
geo_idstringe.g."293974"
namestringe.g."Istanbul"
typestringe.g."CITY"
parentstringe.g."Türkiye, Europe"
coordinatesobject2 fields
latitudenumbere.g.41.00986
longitudenumbere.g.28.95707
urlstringe.g."https://www.tripadvisor.com/Tourism-g293974-Istanbul-Vacations.html"
thumbnailobject4 fields
urlstringe.g."https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1e/09/7b/8e/ortakoy-mosque.jpg?w=400&h=-1&s=1"
url_templatestringe.g."https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1e/09/7b/8e/ortakoy-mosque.jpg?w={width}&h={height}&s=1"
max_widthintegere.g.2048
max_heightintegere.g.1299
paginationobject3 fields
countintegere.g.82
has_morebooleane.g.false
next_cursornull
fetched_atstringe.g."2026-11-27T17:55:12.413Z"
ageintegere.g.0
Try itLive
GET
https://api.maviapi.com/v1/sites/tripadvisor/search-v3?q=Istanbul
Request
curl "https://api.maviapi.com/v1/sites/tripadvisor/search-v3?q=Istanbul" \
-H "Authorization: Bearer $MAVI_KEY"
Example846 B
{
  "query": "Istanbul",
  "center": null,
  "results": [
    {
      "geo_id": "293974",
      "name": "Istanbul",
      "type": "CITY",
      "parent": "Türkiye, Europe",
      "coordinates": {
        "latitude": 41.00986,
        "longitude": 28.95707
      },
      "url": "https://www.tripadvisor.com/Tourism-g293974-Istanbul-Vacations.html",
      "thumbnail": {
        "url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1e/09/7b/8e/ortakoy-mosque.jpg?w=400&h=-1&s=1",
        "url_template": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1e/09/7b/8e/ortakoy-mosque.jpg?w={width}&h={height}&s=1",
        "max_width": 2048,
        "max_height": 1299
      }
    }
  ],
  "pagination": {
    "count": 82,
    "has_more": false,
    "next_cursor": null
  },
  "fetched_at": "2026-11-27T17:55:12.413Z",
  "age": 0
}

Get all the data, no code

Collect every page of GET /search-v3 into a dataset, for one request or for a whole list of them, then download it as CSV or JSON. A page costs the same as one call of the endpoint; the download is free.

Use Tripadvisor API from Claude, ChatGPT and your coding tools

Add this URL as a custom connector and sign in to maviapi. Nothing to install.

How to connect
https://mcp.maviapi.com/mcp

Or run it locally, with each endpoint of Tripadvisor API as its own tool:

claude mcp add maviapi -e MAVIAPI_TOOLS=tripadvisor -- npx -y '@maviapi/mcp'

Import Tripadvisor API into Postman and other tools

How to import

Paste a link into Postman, Insomnia, an agent framework or a no-code tool to get every endpoint with its parameters and response fields. The link always serves the current endpoints, so importing it again picks up new ones.

  • OpenAPI 3.1
    https://api.maviapi.com/v1/apis/tripadvisor/openapi.json
  • Postman
    https://api.maviapi.com/v1/apis/tripadvisor/postman.json

The Postman collection sends the shared demo key until you put your own key in its maviapi_key variable.

Build with the Tripadvisor API

Choose a starting endpoint

  • Search V3 GET /search-v3

    Resolve a place or venue name to every TripAdvisor location the site's search returns for it, up to 20 best matches of each kind, deduplicated and grouped by kind in this order: cities and regions, hotels, attractions, tours, restaurants, airlines, cruise ships, cruise lines. Each has id, name, type, parent, coordinates, URL and a thumbnail; optionally ranked toward a lat/lng point and filtered by kind.

    Parameters and response fields for GET /search-v3
    Request parameters
    NameType / locationRequiredDescription
    qstring / queryNoplace or venue name, e.g. a city, landmark or hotel
    latstring / queryNooptional latitude to rank results near (give together with lng)
    lngstring / queryNooptional longitude to rank results near (give together with lat)
    typesstring / queryNooptional comma list of kinds to keep: geo, accommodation, attraction, attraction_product, eatery, airline, ship, cruise_line (e.g. geo for cities and countries only); the filter keeps the ranking of the unfiltered list
    Response fields
    FieldTypeDescription
    querystring
    centernull
    resultsobject[]
    results[].geo_idstring
    results[].namestring
    results[].typestring
    results[].parentstring
    results[].coordinatesobject
    results[].coordinates.latitudenumber
    results[].coordinates.longitudenumber
    results[].urlstring
    results[].thumbnailobject
    results[].thumbnail.urlstring
    results[].thumbnail.url_templatestring
    results[].thumbnail.max_widthinteger
    results[].thumbnail.max_heightinteger
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Place GET /place

    Full detail for one place (hotel, restaurant or attraction): name, rating, review count, ranking in its city, price level, description, photo count, phone, address, coordinates, image, URL, plus amenities (hotels), cuisines (restaurants), opening hours and category. Works for any place id.

    Parameters and response fields for GET /place
    Request parameters
    NameType / locationRequiredDescription
    idstring / queryNoTripAdvisor place id (the id field of a list row, the d<id> in a place URL), e.g. 250927
    geostring / queryNogeo_id of the city the place belongs to (the geo_id of a list row), e.g. 187147; used to locate the place's list row when its own page does not say
    typestring / queryNohotel, restaurant or attraction; the place's real type wins when they differ Allowed values: hotel, restaurant, attraction.
    Response fields
    FieldTypeDescription
    idstring
    typestring
    namestring
    ratingnumber
    review_countinteger
    ranking_positioninteger
    ranking_denominatorinteger
    ranking_categorystring
    price_rangestring
    descriptionstring
    photo_countinteger
    phonestring
    addressobject
    address.streetstring
    address.localitystring
    address.regionnull
    address.countrystring
    address.postal_codestring
    coordinatesobject
    coordinates.latitudenumber
    coordinates.longitudenumber
    imagestring
    urlstring
    cuisinesnull
    amenitiesstring[]
    opening_hoursnull
    categorystring
    sourcestring
    fetched_atstring
    ageinteger
  • Photos V2 GET /photos-v2

    The photo gallery of one place (hotel, restaurant or attraction), up to 100 photos in the site's gallery order, with the place's total photo count: photo id, largest rendition URL and size, caption, author, author profile, who supplied it (TRAVELER, OWNER, MANAGEMENT, ...) and upload time.

    Parameters and response fields for GET /photos-v2
    Request parameters
    NameType / locationRequiredDescription
    idstring / queryNoTripAdvisor place id (the id the list endpoints return, the d<id> in a place URL), e.g. 250927
    Response fields
    FieldTypeDescription
    idstring
    totalinteger
    photosobject[]
    photos[].idstring
    photos[].urlstring
    photos[].max_widthinteger
    photos[].max_heightinteger
    photos[].captionnull
    photos[].attributionobject
    photos[].attribution.authorstring
    photos[].attribution.author_urlstring
    photos[].attribution.sourcestring
    photos[].uploaded_atstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Attractions V2 GET /attractions-v2

    Reviewed attractions in a location, in the site's traveler-favorite order, optionally limited to one category; each page covers 30 site ranks, and attractions that have no reviews yet are left out (so a page can hold fewer than 30). Each row has rank, id, name, URL, rating, review count, type string, price teaser, description, coordinates, image, top-level categories, type tags (id/name) and neighborhood. Also returns the total count, whether a next page exists and the categories the location offers with their counts.

    Parameters and response fields for GET /attractions-v2
    Request parameters
    NameType / locationRequiredDescription
    geostring / queryNoTripAdvisor geo_id of the city, region or country (from /search), e.g. 293974 for Istanbul
    pageinteger / queryNo1-based page of 30 site ranks (page N covers ranks 30*(N-1)+1 to 30*N)
    categorystring / queryNooptional category id: 47 Sights & Landmarks, 49 Museums, 57 Nature & Parks, 56 Fun & Games, 20 Nightlife, 40 Spas & Wellness, 41 Classes & Workshops, 48 Zoos & Aquariums, 52 Water & Amusement Parks, 53 Casinos & Gambling, 55 Boat Tours & Water Sports
    fieldsstring / queryNooptional comma-separated row field names (e.g. rank,id) to put first in each row; every row always carries all of its fields
    Response fields
    FieldTypeDescription
    locationobject
    location.geo_idstring
    pageinteger
    page_sizeinteger
    categorynull
    totalinteger
    has_next_pageboolean
    available_categoriesobject[]
    available_categories[].idstring
    available_categories[].namestring
    available_categories[].countinteger
    attractionsobject[]
    attractions[].rankinteger
    attractions[].idstring
    attractions[].namestring
    attractions[].urlstring
    attractions[].ratingnumber
    attractions[].review_countinteger
    attractions[].categorystring
    attractions[].pricestring
    attractions[].descriptionnull
    attractions[].coordinatesobject
    attractions[].coordinates.latitudenumber
    attractions[].coordinates.longitudenumber
    attractions[].imagestring
    attractions[].categoriesobject[]
    attractions[].categories[].idstring
    attractions[].categories[].namestring
    attractions[].tagsobject[]
    attractions[].tags[].idstring
    attractions[].tags[].namestring
    attractions[].neighborhoodstring
    attractions[].geo_idstring
    fetched_atstring
    ageinteger
  • Restaurants V2 GET /restaurants-v2

    Restaurants in a location, 30 per page in the site's highest-rated order, optionally filtered by cuisine and price range. Each row has rank, id, name, URL, rating, review count, price range, cuisines, phone, address, coordinates, image, reservations flag and opening hours per day (mon..sun, each a list of {open, close} slots as HH:MM, empty when closed). Also returns the total matching count, whether a next page exists and the cuisines and price ranges the location offers with their counts.

    Parameters and response fields for GET /restaurants-v2
    Request parameters
    NameType / locationRequiredDescription
    geostring / queryNoTripAdvisor geo_id of a city (from /search), e.g. 293974 for Istanbul
    pageinteger / queryNo1-based page of 30 (page N returns ranks 30*(N-1)+1 to 30*N)
    cuisinestring / queryNooptional cuisine name or id (e.g. Seafood or 10643, Turkish or 10663, Italian or 4617); comma-separate several to match any of them
    pricestring / queryNooptional price range: cheap (Cheap Eats), mid (Mid-range) or fine (Fine Dining); comma-separate several, e.g. cheap,mid
    fieldsstring / queryNooptional comma-separated row field names (e.g. rank,id) to put first in each row; every row always carries all of its fields
    Response fields
    FieldTypeDescription
    locationobject
    location.geo_idstring
    location.namestring
    location.countrystring
    location.regionnull
    location.citystring
    location.coordinatesnull
    location.breadcrumbsstring[]
    pageinteger
    page_sizeinteger
    filtersobject
    filters.cuisinestring[]
    filters.pricestring[]
    totalinteger
    has_next_pageboolean
    available_cuisinesobject[]
    available_cuisines[].idstring
    available_cuisines[].namestring
    available_cuisines[].countinteger
    available_price_rangesobject[]
    available_price_ranges[].idstring
    available_price_ranges[].namestring
    available_price_ranges[].countinteger
    restaurantsobject[]
    restaurants[].rankinteger
    restaurants[].idstring
    restaurants[].namestring
    restaurants[].urlstring
    restaurants[].ratinginteger
    restaurants[].review_countinteger
    restaurants[].price_rangestring
    restaurants[].cuisinestring[]
    restaurants[].phonestring
    restaurants[].addressobject
    restaurants[].address.streetstring
    restaurants[].address.localitystring
    restaurants[].address.regionnull
    restaurants[].address.countrystring
    restaurants[].address.postal_codestring
    restaurants[].coordinatesobject
    restaurants[].coordinates.latitudenumber
    restaurants[].coordinates.longitudenumber
    restaurants[].imagestring
    restaurants[].accepts_reservationsboolean
    restaurants[].opening_hoursobject
    restaurants[].opening_hours.monobject[]
    restaurants[].opening_hours.mon[].openstring
    restaurants[].opening_hours.mon[].closestring
    restaurants[].opening_hours.tueobject[]
    restaurants[].opening_hours.tue[].openstring
    restaurants[].opening_hours.tue[].closestring
    restaurants[].opening_hours.wedobject[]
    restaurants[].opening_hours.wed[].openstring
    restaurants[].opening_hours.wed[].closestring
    restaurants[].opening_hours.thuobject[]
    restaurants[].opening_hours.thu[].openstring
    restaurants[].opening_hours.thu[].closestring
    restaurants[].opening_hours.friobject[]
    restaurants[].opening_hours.fri[].openstring
    restaurants[].opening_hours.fri[].closestring
    restaurants[].opening_hours.satobject[]
    restaurants[].opening_hours.sat[].openstring
    restaurants[].opening_hours.sat[].closestring
    restaurants[].opening_hours.sunobject[]
    restaurants[].opening_hours.sun[].openstring
    restaurants[].opening_hours.sun[].closestring
    restaurants[].geo_idstring
    fetched_atstring
    ageinteger
  • Search GET /search

    Resolve a place name to its 4 best-matching TripAdvisor geo locations (cities, regions, countries), best first: geo_id, name, type, parent, coordinates and URL.

    Parameters and response fields for GET /search
    Request parameters
    NameType / locationRequiredDescription
    qstring / queryNoplace name to resolve, e.g. a city or country
    typesstring / queryNooptional comma list of kinds to search instead of geos (geo, accommodation, attraction, attraction_product, eatery, airline, ship, cruise_line); omit for cities, regions and countries
    Response fields
    FieldTypeDescription
    querystring
    resultsobject[]
    results[].geo_idstring
    results[].namestring
    results[].typestring
    results[].parentstring
    results[].coordinatesobject
    results[].coordinates.latitudenumber
    results[].coordinates.longitudenumber
    results[].urlstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Attractions GET /attractions

    Top attractions / things to do in a location, in the site's traveler-favorite order, 30 per page: rank, id, name, URL, rating, review count, category, price teaser, description, coordinates and image, plus the location's geo_id.

    Parameters and response fields for GET /attractions
    Request parameters
    NameType / locationRequiredDescription
    geostring / queryNoTripAdvisor geo_id of the city, region or country (from /search), e.g. 187147 for Paris
    pageinteger / queryNo1-based page of 30 results (page N holds ranks 30*(N-1)+1 to 30*N)
    Response fields
    FieldTypeDescription
    locationobject
    location.geo_idstring
    attractionsobject[]
    attractions[].rankinteger
    attractions[].idstring
    attractions[].namestring
    attractions[].urlstring
    attractions[].ratingnumber
    attractions[].review_countinteger
    attractions[].categorystring
    attractions[].pricestring
    attractions[].descriptionstring
    attractions[].coordinatesobject
    attractions[].coordinates.latitudenumber
    attractions[].coordinates.longitudenumber
    attractions[].imagestring
    attractions[].geo_idstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursorstring
    fetched_atstring
    ageinteger
  • Restaurants GET /restaurants

    Restaurants in a location, 30 per page in the site's highest-rated order: rank, id, name, URL, rating, review count, price range, cuisines, phone, address, coordinates, image and whether it takes reservations. Also returns the total number of restaurants the location lists.

    Parameters and response fields for GET /restaurants
    Request parameters
    NameType / locationRequiredDescription
    geostring / queryNoTripAdvisor geo_id of a city (from /search), e.g. 187147 for Paris
    pageinteger / queryNo1-based page of 30 results (page N holds ranks 30*(N-1)+1 to 30*N)
    Response fields
    FieldTypeDescription
    locationobject
    location.geo_idstring
    location.namestring
    location.countrystring
    location.regionnull
    location.citystring
    location.coordinatesnull
    location.breadcrumbsstring[]
    totalinteger
    restaurantsobject[]
    restaurants[].rankinteger
    restaurants[].idstring
    restaurants[].namestring
    restaurants[].urlstring
    restaurants[].ratingnumber
    restaurants[].review_countinteger
    restaurants[].price_rangestring
    restaurants[].cuisinestring[]
    restaurants[].phonestring
    restaurants[].addressobject
    restaurants[].address.streetstring
    restaurants[].address.localitystring
    restaurants[].address.regionnull
    restaurants[].address.countrystring
    restaurants[].address.postal_codestring
    restaurants[].coordinatesobject
    restaurants[].coordinates.latitudenumber
    restaurants[].coordinates.longitudenumber
    restaurants[].imagestring
    restaurants[].accepts_reservationsboolean
    restaurants[].geo_idstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursorstring
    fetched_atstring
    ageinteger
  • Hotels GET /hotels

    Hotels and other lodging in a location, 30 per page in the site's traveler-ranked order (sponsored placements left out): rank, id, name, URL, rating, review count, typical undated USD nightly price band, category ranking, accommodation type, phone, address, coordinates, neighborhood, highlighted amenities, award and image. Also returns the total number of hotels the location holds.

    Parameters and response fields for GET /hotels
    Request parameters
    NameType / locationRequiredDescription
    geostring / queryNoTripAdvisor geo_id of the city, region or country (from /search), e.g. 187147 for Paris
    pageinteger / queryNo1-based page of 30 results (page N holds ranks 30*(N-1)+1 to 30*N)
    Response fields
    FieldTypeDescription
    locationobject
    location.geo_idstring
    location.namestring
    location.countrystring
    location.regionnull
    location.citystring
    location.coordinatesobject
    location.coordinates.latitudenumber
    location.coordinates.longitudenumber
    location.breadcrumbsstring[]
    totalinteger
    hotelsobject[]
    hotels[].rankinteger
    hotels[].idstring
    hotels[].namestring
    hotels[].urlstring
    hotels[].ratingnumber
    hotels[].review_countinteger
    hotels[].price_rangestring
    hotels[].price_mininteger
    hotels[].price_maxnull
    hotels[].ranking_positioninteger
    hotels[].ranking_stringstring
    hotels[].accommodation_typestring
    hotels[].phonestring
    hotels[].addressobject
    hotels[].address.streetstring
    hotels[].address.localitystring
    hotels[].address.regionnull
    hotels[].address.countrystring
    hotels[].address.postal_codestring
    hotels[].coordinatesobject
    hotels[].coordinates.latitudenumber
    hotels[].coordinates.longitudenumber
    hotels[].neighborhoodstring
    hotels[].amenitiesstring[]
    hotels[].awardstring
    hotels[].imagestring
    hotels[].geo_idstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursorstring
    fetched_atstring
    ageinteger
  • Photos GET /photos

    The first 100 photos of one place (hotel, restaurant or attraction) in the site's gallery order, with the place's total photo count: photo id, largest rendition URL and size, caption, author, author profile, who supplied it (TRAVELER, OWNER, MANAGEMENT, ...) and upload time.

    Parameters and response fields for GET /photos
    Request parameters
    NameType / locationRequiredDescription
    idstring / queryNoTripAdvisor place id (the id the list endpoints return, the d<id> in a place URL), e.g. 294555
    Response fields
    FieldTypeDescription
    idstring
    totalinteger
    photosobject[]
    photos[].idstring
    photos[].urlstring
    photos[].max_widthinteger
    photos[].max_heightinteger
    photos[].captionnull
    photos[].attributionobject
    photos[].attribution.authorstring
    photos[].attribution.author_urlstring
    photos[].attribution.sourcestring
    photos[].uploaded_atstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Search V2 GET /search-v2

    Resolve a place or venue name to up to 10 TripAdvisor locations of any kind (cities, hotels, attractions, tours, restaurants, ...): id, name, type, parent, coordinates, URL and a thumbnail, optionally ranked toward a lat/lng point.

    Parameters and response fields for GET /search-v2
    Request parameters
    NameType / locationRequiredDescription
    qstring / queryNoplace or venue name, e.g. a city, landmark or hotel
    latstring / queryNooptional latitude to rank results near (give together with lng)
    lngstring / queryNooptional longitude to rank results near (give together with lat)
    typesstring / queryNooptional comma list of kinds to search (geo, accommodation, attraction, attraction_product, eatery, airline, ship, cruise_line); omit for every kind
    Response fields
    FieldTypeDescription
    querystring
    centernull
    resultsobject[]
    results[].geo_idstring
    results[].namestring
    results[].typestring
    results[].parentstring
    results[].coordinatesobject
    results[].coordinates.latitudenumber
    results[].coordinates.longitudenumber
    results[].urlstring
    results[].thumbnailobject
    results[].thumbnail.urlstring
    results[].thumbnail.url_templatestring
    results[].thumbnail.max_widthinteger
    results[].thumbnail.max_heightinteger
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Explore GET /explore

    Trip planner in one call: a place name (or geo_id) is resolved to its TripAdvisor location, then its attractions, hotels or restaurants are listed 30 per page in the site's order (the rows of /attractions-v2, /hotels or /restaurants-v2 plus type and geo_id), optionally with the newest 15 reviews attached to the top N rows. An ambiguous or unknown name answers 400 with the candidate places.

    Parameters and response fields for GET /explore
    Request parameters
    NameType / locationRequiredDescription
    qstring / queryNoplace name (city, region or country), qualified with its region or country when several places share the name ("Paris, France", "Paris, Texas"), or a numeric geo_id; case and accents are ignored
    kindstring / queryNowhat to list: attractions, hotels or restaurants Allowed values: attractions, hotels, restaurants.
    reviewsinteger / queryNoattach the first page of reviews (15) to the top N rows of the page, 0 to 5; a failed lookup leaves that row's reviews null
    pageinteger / queryNo1-based page of 30 (page N holds ranks 30*(N-1)+1 to 30*N); up to 333 for restaurants, 1000 otherwise
    Response fields
    FieldTypeDescription
    resolvedobject
    resolved.inputstring
    resolved.geo_idstring
    resolved.namestring
    resolved.typestring
    resolved.parentstring
    kindstring
    pageinteger
    page_sizeinteger
    totalinteger
    has_next_pageboolean
    itemsobject[]
    items[].typestring
    items[].geo_idstring
    items[].rankinteger
    items[].idstring
    items[].namestring
    items[].urlstring
    items[].ratingnumber
    items[].review_countinteger
    items[].categorystring
    items[].pricestring
    items[].descriptionstring
    items[].coordinatesobject
    items[].coordinates.latitudenumber
    items[].coordinates.longitudenumber
    items[].imagestring
    items[].categoriesobject[]
    items[].categories[].idstring
    items[].categories[].namestring
    items[].tagsobject[]
    items[].tags[].idstring
    items[].tags[].namestring
    items[].neighborhoodstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursorstring
    fetched_atstring
    ageinteger
  • Reviews GET /reviews

    Traveler reviews of one place (hotel, restaurant or attraction), newest first, 15 per page: id, rating, title, text, published date, stay/visit date (the site gives the month; given as its last day), trip type, reviewer name, helpful votes and the owner's response.

    Parameters and response fields for GET /reviews
    Request parameters
    NameType / locationRequiredDescription
    idstring / queryNoTripAdvisor place id (the id from a list endpoint, the d<id> in a place URL), e.g. 250927
    geostring / queryNooptional geo_id of the place; when given it must be numeric (reviews are looked up by id)
    typestring / queryNooptional place type (hotel, restaurant or attraction); reviews are looked up by id alone
    pageinteger / queryNo1-based page of 15 reviews
    Response fields
    FieldTypeDescription
    reviewsobject[]
    reviews[].idstring
    reviews[].ratinginteger
    reviews[].titlestring
    reviews[].textstring
    reviews[].published_datestring
    reviews[].stay_datestring
    reviews[].trip_typestring
    reviews[].usernamestring
    reviews[].helpful_votesinteger
    reviews[].owner_responsestring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursorstring
    fetched_atstring
    ageinteger
  • Hotel Offers GET /hotel-offers

    Live hotel price offers for a location and stay, the first 30 hotels in the site's traveler-ranked order: id, name, URL, rating, review count, lowest partner offer and the featured partner's offer (nightly, in USD, as the site shows them), award, image and neighborhood.

    Parameters and response fields for GET /hotel-offers
    Request parameters
    NameType / locationRequiredDescription
    geostring / queryNoTripAdvisor geo_id (from /search), e.g. 187147 for Paris
    checkInDatestring / queryNocheck-in date, YYYY-MM-DD (default: 30 days from today)
    checkOutDatestring / queryNocheck-out date, YYYY-MM-DD (default: check-in + 2 nights)
    adultsinteger / queryNonumber of adults
    roomsinteger / queryNonumber of rooms
    childrenAgesstring / queryNocomma-separated children ages, e.g. 4,9
    Response fields
    FieldTypeDescription
    geo_idstring
    check_in_datestring
    check_out_datestring
    hotelsobject[]
    hotels[].idstring
    hotels[].namestring
    hotels[].urlstring
    hotels[].ratingnumber
    hotels[].review_countinteger
    hotels[].lowest_offerstring
    hotels[].auction_winner_offerstring
    hotels[].awardstring
    hotels[].imagestring
    hotels[].tagstring
    hotels[].geo_idstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Hotel Offers V2 GET /hotel-offers-v2

    Live, dated hotel offers for a location: every hotel the location lists, in the chosen order (sponsored placements left out), each with rank, id, name, URL, rating, review count, lowest partner offer and featured partner offer (nightly price incl. mandatory fees, formatted in the requested currency; null when no partner has availability), award, image and neighborhood. Also returns the site's hotel count for the location and whether partner offers had finished loading.

    Parameters and response fields for GET /hotel-offers-v2
    Request parameters
    NameType / locationRequiredDescription
    geostring / queryNoTripAdvisor geo_id (from /search), e.g. 187147 Paris, 60763 New York City
    checkInDatestring / queryNocheck-in date, YYYY-MM-DD, today or later (default: 30 days from today)
    checkOutDatestring / queryNocheck-out date, YYYY-MM-DD, after checkInDate (default: checkInDate + 2 nights)
    adultsinteger / queryNonumber of adults (1-16)
    roomsinteger / queryNonumber of rooms (1-8)
    childrenAgesstring / queryNocomma-separated children ages 0-17, e.g. 4,9
    currencystring / queryNoISO 4217 currency code for the prices, e.g. USD, EUR, GBP, TRY
    sortstring / queryNoPOPULARITY (traveler ranked), BEST_VALUE, PRICE_LOW_TO_HIGH or DISTANCE (to the city center) Allowed values: POPULARITY, BEST_VALUE, PRICE_LOW_TO_HIGH, DISTANCE.
    Response fields
    FieldTypeDescription
    geo_idstring
    check_in_datestring
    check_out_datestring
    adultsinteger
    roomsinteger
    currencystring
    sortstring
    offers_completeboolean
    totalinteger
    hotelsobject[]
    hotels[].rankinteger
    hotels[].idstring
    hotels[].namestring
    hotels[].urlstring
    hotels[].ratingnumber
    hotels[].review_countinteger
    hotels[].lowest_offerstring
    hotels[].auction_winner_offerstring
    hotels[].awardstring
    hotels[].imagestring
    hotels[].tagstring
    hotels[].geo_idstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Hotels All GET /hotels-all

    Up to the first 1000 hotels of a location in one call, in the site's traveler-ranked order (sponsored placements left out), with the same fields as /hotels, plus the location's total hotel count (which may exceed what is returned).

    Parameters and response fields for GET /hotels-all
    Request parameters
    NameType / locationRequiredDescription
    geostring / queryNoTripAdvisor geo_id of the city, region or country (from /search), e.g. 187147 for Paris
    Response fields
    FieldTypeDescription
    locationobject
    location.geo_idstring
    location.namestring
    location.countrystring
    location.regionnull
    location.citystring
    location.coordinatesobject
    location.coordinates.latitudenumber
    location.coordinates.longitudenumber
    location.breadcrumbsstring[]
    totalinteger
    hotelsobject[]
    hotels[].rankinteger
    hotels[].idstring
    hotels[].namestring
    hotels[].urlstring
    hotels[].ratingnumber
    hotels[].review_countinteger
    hotels[].price_rangestring
    hotels[].price_mininteger
    hotels[].price_maxnull
    hotels[].ranking_positioninteger
    hotels[].ranking_stringstring
    hotels[].accommodation_typestring
    hotels[].phonestring
    hotels[].addressobject
    hotels[].address.streetstring
    hotels[].address.localitystring
    hotels[].address.regionnull
    hotels[].address.countrystring
    hotels[].address.postal_codestring
    hotels[].coordinatesobject
    hotels[].coordinates.latitudenumber
    hotels[].coordinates.longitudenumber
    hotels[].neighborhoodstring
    hotels[].amenitiesstring[]
    hotels[].awardstring
    hotels[].imagestring
    hotels[].geo_idstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Places Batch V2 GET /places-batch-v2

    Same as /places-batch, plus where each place's coordinates came from: coordinates.source is place_page (the place's own page) or city_centre (the centre of its city, for tours and places the site never pinned), and coordinates.precise is true only for place_page.

    Parameters and response fields for GET /places-batch-v2
    Request parameters
    NameType / locationRequiredDescription
    idsstring / queryNocomma list of up to 50 TripAdvisor place ids (hotels, restaurants or attractions from any list endpoint)
    photosinteger / queryNophotos per place, 0 to 20 (0 leaves them out)
    Response fields
    FieldTypeDescription
    requestedinteger
    foundinteger
    placesobject[]
    places[].idstring
    places[].typestring
    places[].namestring
    places[].geo_idstring
    places[].ratingnumber
    places[].review_countinteger
    places[].ranking_positioninteger
    places[].ranking_denominatorinteger
    places[].ranking_categorystring
    places[].price_rangenull
    places[].descriptionstring
    places[].photo_countinteger
    places[].phonestring
    places[].websitestring
    places[].addressobject
    places[].address.streetstring
    places[].address.localitystring
    places[].address.regionnull
    places[].address.countrystring
    places[].address.postal_codestring
    places[].coordinatesobject
    places[].coordinates.latitudenumber
    places[].coordinates.longitudenumber
    places[].coordinates.sourcestring
    places[].coordinates.preciseboolean
    places[].imagestring
    places[].urlstring
    places[].categoriesstring[]
    places[].cuisinesnull
    places[].amenitiesnull
    places[].opening_hoursstring[]
    places[].categorystring
    places[].sourcestring
    places[].photosobject[]
    places[].photos[].idstring
    places[].photos[].urlstring
    places[].photos[].max_widthinteger
    places[].photos[].max_heightinteger
    places[].photos[].captionstring
    places[].photos[].attributionobject
    places[].photos[].attribution.authorstring
    places[].photos[].attribution.author_urlstring
    places[].photos[].attribution.sourcestring
    places[].photos[].uploaded_atstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Places Batch GET /places-batch

    Full detail for up to 50 places in one call, one record per id in the order given: type, name, geo_id, rating, review count, ranking, price level, description, photo count, phone, website, address, coordinates, image, URL, categories, cuisines, opening hours, category and the first photos. An id that fails gives {id, error:{code, message}} instead (codes: invalid_id, not_found, not_a_place, upstream_error).

    Parameters and response fields for GET /places-batch
    Request parameters
    NameType / locationRequiredDescription
    idsstring / queryNocomma list of up to 50 TripAdvisor place ids (hotels, restaurants or attractions from any list endpoint)
    photosinteger / queryNophotos per place, 0 to 20 (0 leaves them out)
    Response fields
    FieldTypeDescription
    requestedinteger
    foundinteger
    placesobject[]
    places[].idstring
    places[].typestring
    places[].namestring
    places[].geo_idstring
    places[].ratingnumber
    places[].review_countinteger
    places[].ranking_positioninteger
    places[].ranking_denominatorinteger
    places[].ranking_categorystring
    places[].price_rangenull
    places[].descriptionstring
    places[].photo_countinteger
    places[].phonestring
    places[].websitestring
    places[].addressobject
    places[].address.streetstring
    places[].address.localitystring
    places[].address.regionnull
    places[].address.countrystring
    places[].address.postal_codestring
    places[].coordinatesobject
    places[].coordinates.latitudenumber
    places[].coordinates.longitudenumber
    places[].imagestring
    places[].urlstring
    places[].categoriesstring[]
    places[].cuisinesnull
    places[].amenitiesnull
    places[].opening_hoursstring[]
    places[].categorystring
    places[].sourcestring
    places[].photosobject[]
    places[].photos[].idstring
    places[].photos[].urlstring
    places[].photos[].max_widthinteger
    places[].photos[].max_heightinteger
    places[].photos[].captionstring
    places[].photos[].attributionobject
    places[].photos[].attribution.authorstring
    places[].photos[].attribution.author_urlstring
    places[].photos[].attribution.sourcestring
    places[].photos[].uploaded_atstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Places In Area GET /places-in-area

    Places inside a map box, in the site's order (up to 750 attractions or restaurants, up to 100 hotels): attractions, restaurants or hotels, each with id, name, geo_id, URL, coordinates, rating, review count, categories and award; restaurants and hotels also carry ranking, price level, phone, address and a thumbnail, restaurants their website and opening hours. Also returns how many places the box holds and whether the site capped that count (750 for attractions and restaurants: zoom in for the rest).

    Parameters and response fields for GET /places-in-area
    Request parameters
    NameType / locationRequiredDescription
    northnumber / queryNonorthern edge, latitude in decimal degrees (-90 to 90, above south)
    southnumber / queryNosouthern edge, latitude in decimal degrees (-90 to 90)
    eastnumber / queryNoeastern edge, longitude in decimal degrees (-180 to 180, above west; split a box that crosses the 180th meridian)
    westnumber / queryNowestern edge, longitude in decimal degrees (-180 to 180)
    typestring / queryNoattractions, restaurants or hotels Allowed values: attractions, restaurants, hotels.
    Response fields
    FieldTypeDescription
    boxobject
    box.northnumber
    box.southnumber
    box.eastnumber
    box.westnumber
    typestring
    totalinteger
    cappedboolean
    placesobject[]
    places[].idstring
    places[].namestring
    places[].typestring
    places[].geo_idstring
    places[].urlstring
    places[].coordinatesobject
    places[].coordinates.latitudenumber
    places[].coordinates.longitudenumber
    places[].ratingnumber
    places[].review_countinteger
    places[].ranking_positionnull
    places[].ranking_totalnull
    places[].ranking_stringnull
    places[].price_levelnull
    places[].categoriesobject[]
    places[].categories[].idinteger
    places[].categories[].namestring
    places[].awardstring
    places[].websitenull
    places[].phonenull
    places[].opening_hoursnull
    places[].addressobject
    places[].address.streetnull
    places[].address.localitynull
    places[].address.regionnull
    places[].address.countrynull
    places[].address.postal_codenull
    places[].address.fullnull
    places[].localitynull
    places[].thumbnailnull
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger

Export Tripadvisor data to CSV

Each list below downloads as a CSV file with one row per record. Collect it into a dataset with "Get all the data, no code" under the console above. The dataset reads the list page by page, and you download it as CSV, JSON or JSONL.

ListCSV columns
Search V3GET /search-v3geo_id, name, type, parent, coordinates, url, thumbnail
Photos V2GET /photos-v2id, url, max_width, max_height, caption, attribution, uploaded_at
SearchGET /searchgeo_id, name, type, parent, coordinates, url
AttractionsGET /attractionsrank, id, name, url, rating, review_count, category, price, description, coordinates, image, geo_id
RestaurantsGET /restaurantsrank, id, name, url, rating, review_count, price_range, cuisine, phone, address, coordinates, image, accepts_reservations, geo_id
HotelsGET /hotelsrank, id, name, url, rating, review_count, price_range, price_min, price_max, ranking_position, ranking_string, accommodation_type, phone, address, coordinates, neighborhood, amenities, award, image, geo_id
PhotosGET /photosid, url, max_width, max_height, caption, attribution, uploaded_at
Search V2GET /search-v2geo_id, name, type, parent, coordinates, url, thumbnail
ExploreGET /exploretype, geo_id, rank, id, name, url, rating, review_count, category, price, description, coordinates, image, categories, tags, neighborhood
ReviewsGET /reviewsid, rating, title, text, published_date, stay_date, trip_type, username, helpful_votes, owner_response
Hotel OffersGET /hotel-offersid, name, url, rating, review_count, lowest_offer, auction_winner_offer, award, image, tag, geo_id
Hotel Offers V2GET /hotel-offers-v2rank, id, name, url, rating, review_count, lowest_offer, auction_winner_offer, award, image, tag, geo_id
Hotels AllGET /hotels-allrank, id, name, url, rating, review_count, price_range, price_min, price_max, ranking_position, ranking_string, accommodation_type, phone, address, coordinates, neighborhood, amenities, award, image, geo_id
Places Batch V2GET /places-batch-v2id, type, name, geo_id, rating, review_count, ranking_position, ranking_denominator, ranking_category, price_range, description, photo_count, phone, website, address, coordinates, image, url, categories, cuisines, amenities, opening_hours, category, source, photos
Places BatchGET /places-batchid, type, name, geo_id, rating, review_count, ranking_position, ranking_denominator, ranking_category, price_range, description, photo_count, phone, website, address, coordinates, image, url, categories, cuisines, amenities, opening_hours, category, source, photos
Places In AreaGET /places-in-areaid, name, type, geo_id, url, coordinates, rating, review_count, ranking_position, ranking_total, ranking_string, price_level, categories, award, website, phone, opening_hours, address, locality, thumbnail

A nested value (a list or an object) is written as JSON in one cell. How datasets and exports work

Tripadvisor API questions

What you get, what it costs and how to call it.

Is there an official Tripadvisor API?

Yes. Tripadvisor offers Terra, a content platform for partners with an API for locations, reviews, photos and geos; access depends on the package. Source: Tripadvisor Terra (checked 2026-11-25). This Tripadvisor API is a separate, unofficial one: an independent, hosted API from maviapi for the public data on tripadvisor.com. It is not made, endorsed or supported by Tripadvisor.

What data can I get from the Tripadvisor API?

The Tripadvisor API has 19 endpoints. Each returns JSON with the parameters and fields documented above:

  • GET /search-v3: Resolve a place or venue name to every TripAdvisor location the site's search returns for it, up to 20 best matches of each kind, deduplicated and grouped by…
  • GET /place: Full detail for one place (hotel, restaurant or attraction): name, rating, review count, ranking in its city, price level, description, photo count, phone…
  • GET /photos-v2: The photo gallery of one place (hotel, restaurant or attraction), up to 100 photos in the site's gallery order, with the place's total photo count: photo id…
  • GET /attractions-v2: Reviewed attractions in a location, in the site's traveler-favorite order, optionally limited to one category; each page covers 30 site ranks, and attractions…
  • GET /restaurants-v2: Restaurants in a location, 30 per page in the site's highest-rated order, optionally filtered by cuisine and price range.
  • GET /search: Resolve a place name to its 4 best-matching TripAdvisor geo locations (cities, regions, countries), best first: geo_id, name, type, parent, coordinates and URL.
  • GET /attractions: Top attractions / things to do in a location, in the site's traveler-favorite order, 30 per page: rank, id, name, URL, rating, review count, category, price…
  • GET /restaurants: Restaurants in a location, 30 per page in the site's highest-rated order: rank, id, name, URL, rating, review count, price range, cuisines, phone, address…
  • GET /hotels: Hotels and other lodging in a location, 30 per page in the site's traveler-ranked order (sponsored placements left out): rank, id, name, URL, rating, review…
  • GET /photos: The first 100 photos of one place (hotel, restaurant or attraction) in the site's gallery order, with the place's total photo count: photo id, largest…
  • GET /search-v2: Resolve a place or venue name to up to 10 TripAdvisor locations of any kind (cities, hotels, attractions, tours, restaurants, ...): id, name, type, parent…
  • GET /explore: Trip planner in one call: a place name (or geo_id) is resolved to its TripAdvisor location, then its attractions, hotels or restaurants are listed 30 per page…
  • GET /reviews: Traveler reviews of one place (hotel, restaurant or attraction), newest first, 15 per page: id, rating, title, text, published date, stay/visit date (the site…
  • GET /hotel-offers: Live hotel price offers for a location and stay, the first 30 hotels in the site's traveler-ranked order: id, name, URL, rating, review count, lowest partner…
  • GET /hotel-offers-v2: Live, dated hotel offers for a location: every hotel the location lists, in the chosen order (sponsored placements left out), each with rank, id, name, URL…
  • GET /hotels-all: Up to the first 1000 hotels of a location in one call, in the site's traveler-ranked order (sponsored placements left out), with the same fields as /hotels…
  • GET /places-batch-v2: Same as /places-batch, plus where each place's coordinates came from: coordinates.source is place_page (the place's own page) or city_centre (the centre of…
  • GET /places-batch: Full detail for up to 50 places in one call, one record per id in the order given: type, name, geo_id, rating, review count, ranking, price level…
  • GET /places-in-area: Places inside a map box, in the site's order (up to 750 attractions or restaurants, up to 100 hotels): attractions, restaurants or hotels, each with id, name…

How much does the Tripadvisor API cost?

Calls are paid in credits from your maviapi plan, and only successful calls are charged. Every endpoint of this API costs 5 credits per call. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. Failed calls are free. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.

How do I call the Tripadvisor API?

Send an HTTPS request to the endpoint with your API key in the Authorization header. For example, GET /search-v3:

cURL
curl 'https://api.maviapi.com/v1/sites/tripadvisor/search-v3' \
  -H "Authorization: Bearer $MAVI_KEY"

Create a key on your API keys page, or try any endpoint first in the console above with the free test key.

What are the ways to get Tripadvisor data as JSON?

Each way to get Tripadvisor data as JSON fits a different need:

  • Tripadvisor Terra: Tripadvisor offers Terra, a content platform for partners with an API for locations, reviews, photos and geos; access depends on the package. Better when you need write access, account data or an agreement with Tripadvisor.
  • Your own scraper: Full control and no vendor, but the parsing, the blocked requests and the repairs after every change on tripadvisor.com are yours. Better for a one-off pull from a page that rarely changes.
  • Apify: A marketplace of Actors you run, where input, output and price are set by each Actor. Better when an Actor already returns what you need, or you want to host your own code. See maviapi vs Apify.
  • RapidAPI: A hub of APIs added by many providers, called with one RapidAPI key and priced per API. Better when you already use the hub and one of its APIs covers what you need. Source: RapidAPI docs.
  • maviapi: The Tripadvisor API on this page: 19 documented endpoints, a published response schema and one key for the whole catalog. Better when this data is part of your product and you do not want to maintain a scraper.

What happens when tripadvisor.com changes its layout?

Your code does not change. maviapi keeps the Tripadvisor API working when tripadvisor.com changes its pages, so you keep calling the same endpoints and get JSON in the shape documented here. See its current health on the status page and what changed in its changelog.

Will an update break my Tripadvisor API integration?

No. An endpoint you use never changes shape: new fields, optional parameters and endpoints are added beside it, and a change that would break a call ships as a new endpoint. Ignore response fields you do not know, and follow the changelog for what is new.

  • Kiwi.com API

    Search and compare flights on Kiwi.com, itineraries with live prices, airlines, routes and departure/arrival times…

  • GetYourGuide API

    Tour & activity listings from GetYourGuide, prices, ratings, availability dates and destinations, plus per-activity…

  • Booking.com API

    Search Booking.com accommodations by location and stay dates, view property details, pricing and review scores.

  • Airbnb API

    Search Airbnb short-term rental listings by location and dates, and fetch listing details, clean JSON from Airbnb's…

  • Trainline API

    Train ticket fares and departure times between any two stations on Trainline (thetrainline.com).

  • FlightList API

    Cheap one-way flight search across any date range, fares, schedules, airlines and per-leg flight numbers, plus…