Tripadvisor reviews API documentation

We provide a simple to setup REST API that returns reviews in JSON format. Before integrating the API you should be aware of the following:

  • The Tripadvisor API returns 10 reviews per request.
  • The order in which reviews are returned is by descending date(from newest to oldest).
  • You can get all reviews from a single place by using the offset parameter.

To get reviews from Wextractor you will need to perform GET requests against the https://wextractor.com/api/v1/reviews/tripadvisor endpoint.

Reviews endpoint parameters:

Parameter Required Description Example
auth_token Required Your API token for authentication. Once you register to Wextractor you can extract this key from your account's setting page. -
id Required A textual identifier that uniquely identifies a place in Tripadvisor. This identifier is a number that appears in the url for the hotel in tripadvisor. For example, if the url for the place in Tripadvisor is https://www.tripadvisor.com/Hotel_Review-g60763-d93437-Reviews-Hotel_Edison_Times_Square-New_York_City_New_York.html the identifier is the second number within the url: 93437 93437
offset Optional This parameter defines the result offset. It skips the given number of reviews. It's used for pagination. (e.g., 0 (default) is the first page of results, 20 is the 2nd page of results, 40 is the 3rd page of results, etc.). 10

Example usage:

https://wextractor.com/api/v1/reviews/tripadvisor?id=93437&auth_token=XXXXX&offset=0

Example response:

        {
            "reviews": [
                {
                    "url": "https://www.tripadvisor.com/ShowUserReviews-g312741-d13480981-r846393656-Bis-Buenos_Aires_Capital_Federal_District.html",
                    "rating": "5",
                    "title": "Nos encantó!!!",
                    "text": "El callejón donde está el restaurante es divino, incógnito. Para ingresar debes tocar el timbre, lo que le da un toque de misterio y exclusividad. La decoración es espectacular, el ambiente maravilloso, la música ambiental encantadora. El servicio fue muy amable y todo a tiempo. Y la comida exquisita! Pedimos tartar de carne buenísimo, croquetas de de espinaca y queso azul  sublimes, ravioles de mero estaban tan ricos que mi hija de 4 años se los comió todos, y la pesca del día realmente nos encantó por su sabor y presentación. Los postres deliciosos y nos invitaron una copa de champagne para terminar. Lo recomiendo 100%!!!",
                    "reviewer": "Adriana Duque",
                    "reviewer_avatar": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1a/f6/f2/11/default-avatar-2020-23.jpg?w=100&h=100&s=1",
                    "datetime": "2022-07-05T00:00:00Z",
                    "language": "es",
                    "id": "846393656"
                },
                {
                    "url": "https://www.tripadvisor.com/ShowUserReviews-g312741-d13480981-r842942395-Bis-Buenos_Aires_Capital_Federal_District.html",
                    "rating": "2",
                    "title": "Nice setting, bad food",
                    "text": "The setting is rather nice and cosy and makes you hope for much better in terms of food choice and quality. Last time we had been to Arramburu Bis was before Covid and we had had a beautiful diner. Nothing like this this time. I had fish raviolis which were swimming in a ton of cream and my wife had a vegetable dish of which she could not eat half. The choice of white wine by the glass is reduced to one which is of fairly poor quality. Not much creativity in the sweet menu: milk rice, creme caramel. And if you want to finish with some nice herbal tea, forget it. All thet have is a bag of black or green tea. Very, very disappointing experience.",
                    "reviewer": "AlainBsAs",
                    "reviewer_avatar": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1a/f6/e2/11/default-avatar-2020-41.jpg?w=100&h=100&s=1",
                    "datetime": "2022-06-15T00:00:00Z",
                    "language": "en",
                    "id": "842942395"
                },
                {
                    "url": "https://www.tripadvisor.com/ShowUserReviews-g312741-d13480981-r839542228-Bis-Buenos_Aires_Capital_Federal_District.html",
                    "rating": "1",
                    "title": "Poco serio",
                    "text": "Hice una reserva por medio de la aplicación, la que a los pocos minutos me confirma. El día anterior, la aplicación me recuerda la reserva. Al concurrir al lugar estaba cerrado, había dos muchachos haciendo refacciones en el piso, quienes tuvieron la deferencia de abrir la puerta e informarme que recién abrirían  a la semana siguiente. Esto ocurrió el día 22 de mayo de 2022. Argumentos mas que suficientes para no intentar concurrir otra vez.",
                    "reviewer": "Raul Ricardo S",
                    "reviewer_avatar": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1a/f6/ec/3d/default-avatar-2020-1.jpg?w=100&h=100&s=1",
                    "datetime": "2022-05-22T00:00:00Z",
                    "language": "es",
                    "id": "839542228"
                },
                {
                    "url": "https://www.tripadvisor.com/ShowUserReviews-g312741-d13480981-r836724865-Bis-Buenos_Aires_Capital_Federal_District.html",
                    "rating": "2",
                    "title": "Frio",
                    "text": "El lugar lindo, la atención regular, la comida fea ya sea por sabor, presentación, materia prima…platos fríos, café frío y precios desproporcionados para lo que sirven, espero mejoren y mucho (la situación no está para dejar gente sin trabajo) les falta bastante para emparejar a otros restaurantes del segmento, en síntesis…decepcionante.",
                    "reviewer": "Guillermo S",
                    "reviewer_avatar": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1a/f6/f1/79/default-avatar-2020-21.jpg?w=100&h=100&s=1",
                    "datetime": "2022-04-30T00:00:00Z",
                    "language": "es",
                    "id": "836724865"
                },
                {
                    "url": "https://www.tripadvisor.com/ShowUserReviews-g312741-d13480981-r836443429-Bis-Buenos_Aires_Capital_Federal_District.html",
                    "rating": "1",
                    "title": "Very poor",
                    "text": "Went following a recommendation but very poor. Pate dry and tasted like it was made with poor quality meat, piglet better but fatty, probably the worst food I’ve had in BA, the service wasn’t slow to be fair but little else going for it",
                    "reviewer": "ascoteagle",
                    "reviewer_avatar": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1a/f6/ee/10/default-avatar-2020-8.jpg?w=100&h=100&s=1",
                    "datetime": "2022-04-28T00:00:00Z",
                    "language": "en",
                    "id": "836443429"
                },
                {
                    "url": "https://www.tripadvisor.com/ShowUserReviews-g312741-d13480981-r835029146-Bis-Buenos_Aires_Capital_Federal_District.html",
                    "rating": "1",
                    "title": "food poison",
                    "text": "We got a severe food poison from their sunday brunch. If you dont want to get sick for 14 days, dont go..",
                    "reviewer": "Mathias Heene",
                    "reviewer_avatar": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1a/f6/e7/7b/default-avatar-2020-56.jpg?w=100&h=100&s=1",
                    "datetime": "2022-04-18T00:00:00Z",
                    "language": "en",
                    "id": "835029146"
                },
                {
                    "url": "https://www.tripadvisor.com/ShowUserReviews-g312741-d13480981-r830432658-Bis-Buenos_Aires_Capital_Federal_District.html",
                    "rating": "4",
                    "title": "Great Option In Recoleta",
                    "text": "Located in front of Aramburu (and is a sister restaurant) it's a cheaper version of Aramburu itself. Great options, some being sophisticated, some being simpler. Service is not as good as Aramburu itself. Certainly a great option when you are in Recoleta.",
                    "reviewer": "Whissely",
                    "reviewer_avatar": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/17/7f/03/7f/whissely.jpg?w=100&h=100&s=1",
                    "datetime": "2022-03-07T00:00:00Z",
                    "language": "en",
                    "id": "830432658"
                },
                {
                    "url": "https://www.tripadvisor.com/ShowUserReviews-g312741-d13480981-r826722289-Bis-Buenos_Aires_Capital_Federal_District.html",
                    "rating": "2",
                    "title": "Nada para destacar",
                    "text": "Regular. La atención muy lenta. Una vez q me queje con la moza, mejoro… la comida estaba bien, precio normal. Nada para destacar.",
                    "reviewer": "Juan Cruz C",
                    "reviewer_avatar": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1a/9c/c4/2d/caption.jpg?w=100&h=100&s=1",
                    "datetime": "2022-02-03T00:00:00Z",
                    "language": "es",
                    "id": "826722289"
                },
                {
                    "url": "https://www.tripadvisor.com/ShowUserReviews-g312741-d13480981-r825146301-Bis-Buenos_Aires_Capital_Federal_District.html",
                    "rating": "5",
                    "title": "One of our favorite places in Buenos Aires",
                    "text": "We discovered this place by accident, walking in Recoleta on a hot day. It is in a passage off the street where they have outside tables. We liked it so much we returned 3 more times. They serve some of the best food I’ve had in Argentina and I have been there a lot over the last 15 years. The fish cooked over wood coals is not to be missed as well as the filet mignon (novilla). The wine pairing options are excellent.",
                    "reviewer": "Winegirl278",
                    "reviewer_avatar": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1a/f6/77/ae/default-avatar-2020-2.jpg?w=100&h=100&s=1",
                    "datetime": "2022-01-16T00:00:00Z",
                    "language": "en",
                    "id": "825146301"
                },
                {
                    "url": "https://www.tripadvisor.com/ShowUserReviews-g312741-d13480981-r824583430-Bis-Buenos_Aires_Capital_Federal_District.html",
                    "rating": "1",
                    "title": "un desastre.",
                    "text": "comida sin sabor, lento, mucho calor.  y ademas cuando le pedi factura me dijeron que tenian problema con la tikeadora. jamas me la mandaron ni contestan los mensajes",
                    "reviewer": "ALEJANDRO-SAFRAN",
                    "reviewer_avatar": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1a/f6/e4/a9/default-avatar-2020-50.jpg?w=100&h=100&s=1",
                    "datetime": "2022-01-10T00:00:00Z",
                    "language": "es",
                    "id": "824583430"
                }
            ],
            "totals": {
                "review_count": 265,
                "average_rating": "3.65"
            }
        }
    

Frequently asked questions:

  • How do I get all the reviews for a single place?
  • You need to perform multiple requests incrementing the offset until you get a response without any reviews in it.

  • Does the API have rate limits?
  • Yes, since Tripadvisor is pretty strict at blocking requests you will be rate limited if you perform more than one request per second.