How do I get Tripadvisor search results?
Tripadvisor is the world’s largest travel guidance platform that receives hundreds of millions of visits each month. It offers online hotel reservations and bookings for transportation, lodging, travel experiences, and restaurants. It also accumulates millions of reviews about various places, restaurants, hotels, car rental services, tourist attractions, and more.
With DataForSEO’s Tripadvisor Search endpoints, you can easily receive a list of objects available on Tripadvisor that are relevant to a specific keyword and location. Along with them, you will get valuable data, such as the rating of each place, the number of reviews it has, its title, and url path. Using the latter, you can receive reviews about a place with the Tripadvisor Reviews endpoint.
How to get Tripadvisor search results
1 Call the Tripadvisor search Task POST endpoint.
POST https://api.dataforseo.com/v3/business_data/tripadvisor/search/task_post
2 Add the keyword
field to the POST body and specify the keyword you want to receive search results for. The specified keyword should indicate a company name (e.g., McDonald’s), business category (e.g., hotels), or a tourist attraction (e.g., Eiffel Tower).
3 Specify the location you want to receive search results for by adding location_code
or location_name
to the POST body.
You will receive a full list of available locations by making a separate request to https://api.dataforseo.com/v3/business_data/tripadvisor/locations
4 Specify the number of search results to be returned in the API response. To do that, add the depth
parameter and set it to the desired value.
We strongly recommend setting the parsing depth in the multiples of thirty as our system processes thirty search results in a row. In other words, you will be charged for every 30 search results returned. Thus, if you specify depth
as 31
, you will be charged for 60 search results.
Default depth
value: 30.
Your POST request should be structured as in the following example.
[
{
"location_code": 1003854,
"keyword": "pizza place",
"depth": 30
}
]
5 Copy the Task ID from the response and call the Task GET endpoint of Tripadvisor Search to retrieve the results.
GET https://api.dataforseo.com/v3/business_data/tripadvisor/search/task_get/$id
Example of the response.
{
"version": "0.1.20220216",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.1099 sec.",
"cost": 0,
"tasks_count": 1,
"tasks_error": 0,
"tasks": [
{
"id": "02211303-2806-0393-0000-f34573752423",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.0185 sec.",
"cost": 0,
"result_count": 1,
"path": [
"v3",
"business_data",
"tripadvisor",
"search",
"task_get",
"02211303-2806-0393-0000-f34573752423"
],
"data": {
"se_type": "organic",
"se": "tripadvisor",
"api": "business_data",
"function": "search",
"location_code": 1003854,
"keyword": "pizza place",
"depth": 30,
"device": "desktop",
"os": "windows"
},
"result": [
{
"keyword": "pizza place",
"se_domain": "tripadvisor.com",
"location_code": 1003854,
"language_code": null,
"check_url": "https://www.tripadvisor.com/Search?q=pizza%20place&geo=187323",
"datetime": "2022-02-21 11:03:49 +00:00",
"item_types": [
"tripadvisor_search_organic"
],
"se_results_count": 0,
"items_count": 30,
"items": [
{
"type": "tripadvisor_search_organic",
"rank_group": 1,
"rank_absolute": 1,
"title": "1. Salami Social Club",
"url_path": "/Restaurant_Review-g187323-d10716782-Reviews-Salami_Social_Club-Berlin.html",
"is_sponsored": false,
"reviews_count": 240,
"rating": {
"rating_type": "Max5",
"value": 4.5,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 2,
"rank_absolute": 2,
"title": "2. Evin Pizza Pasta",
"url_path": "/Restaurant_Review-g187323-d10373640-Reviews-Evin_Pizza_Pasta-Berlin.html",
"is_sponsored": false,
"reviews_count": 318,
"rating": {
"rating_type": "Max5",
"value": 4.5,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 3,
"rank_absolute": 3,
"title": "3. Simela",
"url_path": "/Restaurant_Review-g187323-d1930250-Reviews-Simela-Berlin.html",
"is_sponsored": false,
"reviews_count": 321,
"rating": {
"rating_type": "Max5",
"value": 4.5,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 4,
"rank_absolute": 4,
"title": "4. L'Osteria Berlin Mercedes Platz",
"url_path": "/Restaurant_Review-g187323-d14210306-Reviews-L_Osteria_Berlin_Mercedes_Platz-Berlin.html",
"is_sponsored": false,
"reviews_count": 285,
"rating": {
"rating_type": "Max5",
"value": 4.5,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 5,
"rank_absolute": 5,
"title": "5. Papa Pane di Sorrento",
"url_path": "/Restaurant_Review-g187323-d754673-Reviews-Papa_Pane_di_Sorrento-Berlin.html",
"is_sponsored": false,
"reviews_count": 842,
"rating": {
"rating_type": "Max5",
"value": 4,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 6,
"rank_absolute": 6,
"title": "6. Sapori di Casa",
"url_path": "/Restaurant_Review-g187323-d12475273-Reviews-Sapori_di_Casa-Berlin.html",
"is_sponsored": false,
"reviews_count": 382,
"rating": {
"rating_type": "Max5",
"value": 5,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 7,
"rank_absolute": 7,
"title": "7. Pizza Peppino",
"url_path": "/Restaurant_Review-g187323-d6978250-Reviews-Pizza_Peppino-Berlin.html",
"is_sponsored": false,
"reviews_count": 312,
"rating": {
"rating_type": "Max5",
"value": 4.5,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 8,
"rank_absolute": 8,
"title": "8. L'Osteria Berlin Memhardstrasse",
"url_path": "/Restaurant_Review-g187323-d13003299-Reviews-L_Osteria_Berlin_Memhardstrasse-Berlin.html",
"is_sponsored": false,
"reviews_count": 352,
"rating": {
"rating_type": "Max5",
"value": 4,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 9,
"rank_absolute": 9,
"title": "9. Trattoria La Cenetta",
"url_path": "/Restaurant_Review-g187323-d1356861-Reviews-Trattoria_La_Cenetta-Berlin.html",
"is_sponsored": false,
"reviews_count": 150,
"rating": {
"rating_type": "Max5",
"value": 4.5,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 10,
"rank_absolute": 10,
"title": "10. Prometeo",
"url_path": "/Restaurant_Review-g187323-d10047694-Reviews-Prometeo-Berlin.html",
"is_sponsored": false,
"reviews_count": 150,
"rating": {
"rating_type": "Max5",
"value": 4.5,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 11,
"rank_absolute": 11,
"title": "11. La Stella Nera",
"url_path": "/Restaurant_Review-g187323-d10352865-Reviews-La_Stella_Nera-Berlin.html",
"is_sponsored": false,
"reviews_count": 87,
"rating": {
"rating_type": "Max5",
"value": 4.5,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 12,
"rank_absolute": 12,
"title": "12. Malafemmena",
"url_path": "/Restaurant_Review-g187323-d11642154-Reviews-Malafemmena-Berlin.html",
"is_sponsored": false,
"reviews_count": 271,
"rating": {
"rating_type": "Max5",
"value": 4,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 13,
"rank_absolute": 13,
"title": "13. Masaniello",
"url_path": "/Restaurant_Review-g187323-d2286551-Reviews-Masaniello-Berlin.html",
"is_sponsored": false,
"reviews_count": 417,
"rating": {
"rating_type": "Max5",
"value": 4,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 14,
"rank_absolute": 14,
"title": "14. Zeus Pizzeria",
"url_path": "/Restaurant_Review-g187323-d1341418-Reviews-Zeus_Pizzeria-Berlin.html",
"is_sponsored": false,
"reviews_count": 83,
"rating": {
"rating_type": "Max5",
"value": 4.5,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 15,
"rank_absolute": 15,
"title": "15. Pomodorino",
"url_path": "/Restaurant_Review-g187323-d2073440-Reviews-Pomodorino-Berlin.html",
"is_sponsored": false,
"reviews_count": 161,
"rating": {
"rating_type": "Max5",
"value": 4.5,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 16,
"rank_absolute": 16,
"title": "16. Da Vinci",
"url_path": "/Restaurant_Review-g187323-d3489028-Reviews-Da_Vinci-Berlin.html",
"is_sponsored": false,
"reviews_count": 283,
"rating": {
"rating_type": "Max5",
"value": 4,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 17,
"rank_absolute": 17,
"title": "17. 12 Apostoli",
"url_path": "/Restaurant_Review-g187323-d1177137-Reviews-12_Apostoli-Berlin.html",
"is_sponsored": false,
"reviews_count": 1111,
"rating": {
"rating_type": "Max5",
"value": 4,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 18,
"rank_absolute": 18,
"title": "18. La Pausa",
"url_path": "/Restaurant_Review-g187323-d1344559-Reviews-La_Pausa-Berlin.html",
"is_sponsored": false,
"reviews_count": 147,
"rating": {
"rating_type": "Max5",
"value": 4.5,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 19,
"rank_absolute": 19,
"title": "19. PICCOLA TAORMINA",
"url_path": "/Restaurant_Review-g187323-d2044368-Reviews-PICCOLA_TAORMINA-Berlin.html",
"is_sponsored": false,
"reviews_count": 193,
"rating": {
"rating_type": "Max5",
"value": 4,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 20,
"rank_absolute": 20,
"title": "20. La Piadina",
"url_path": "/Restaurant_Review-g187323-d12613221-Reviews-La_Piadina-Berlin.html",
"is_sponsored": false,
"reviews_count": 38,
"rating": {
"rating_type": "Max5",
"value": 5,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 21,
"rank_absolute": 21,
"title": "21. Pizza Nostra",
"url_path": "/Restaurant_Review-g187323-d2081601-Reviews-Pizza_Nostra-Berlin.html",
"is_sponsored": false,
"reviews_count": 127,
"rating": {
"rating_type": "Max5",
"value": 4.5,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 22,
"rank_absolute": 22,
"title": "22. Latino",
"url_path": "/Restaurant_Review-g187323-d1347862-Reviews-Latino-Berlin.html",
"is_sponsored": false,
"reviews_count": 174,
"rating": {
"rating_type": "Max5",
"value": 4.5,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 23,
"rank_absolute": 23,
"title": "23. Trattoria Fidelia",
"url_path": "/Restaurant_Review-g187323-d9562226-Reviews-Trattoria_Fidelia-Berlin.html",
"is_sponsored": false,
"reviews_count": 170,
"rating": {
"rating_type": "Max5",
"value": 4.5,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 24,
"rank_absolute": 24,
"title": "24. Trattoria Piazza Rossa",
"url_path": "/Restaurant_Review-g187323-d1422345-Reviews-Trattoria_Piazza_Rossa-Berlin.html",
"is_sponsored": false,
"reviews_count": 795,
"rating": {
"rating_type": "Max5",
"value": 4,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 25,
"rank_absolute": 25,
"title": "25. Capone Berlin",
"url_path": "/Restaurant_Review-g187323-d2297229-Reviews-Capone_Berlin-Berlin.html",
"is_sponsored": false,
"reviews_count": 507,
"rating": {
"rating_type": "Max5",
"value": 4,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 26,
"rank_absolute": 26,
"title": "26. La Cantina",
"url_path": "/Restaurant_Review-g187323-d8471539-Reviews-La_Cantina-Berlin.html",
"is_sponsored": false,
"reviews_count": 300,
"rating": {
"rating_type": "Max5",
"value": 4,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 27,
"rank_absolute": 27,
"title": "27. Muckrakers",
"url_path": "/Restaurant_Review-g187323-d7594411-Reviews-Muckrakers-Berlin.html",
"is_sponsored": false,
"reviews_count": 44,
"rating": {
"rating_type": "Max5",
"value": 4.5,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 28,
"rank_absolute": 28,
"title": "28. Simela Finest Food",
"url_path": "/Restaurant_Review-g187323-d10052217-Reviews-Simela_Finest_Food-Berlin.html",
"is_sponsored": false,
"reviews_count": 88,
"rating": {
"rating_type": "Max5",
"value": 4.5,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 29,
"rank_absolute": 29,
"title": "29. Zola",
"url_path": "/Restaurant_Review-g187323-d8723110-Reviews-Zola-Berlin.html",
"is_sponsored": false,
"reviews_count": 308,
"rating": {
"rating_type": "Max5",
"value": 4,
"votes_count": null,
"rating_max": 5
}
},
{
"type": "tripadvisor_search_organic",
"rank_group": 30,
"rank_absolute": 30,
"title": "30. L'Osteria Bikini Berlin",
"url_path": "/Restaurant_Review-g187323-d6415648-Reviews-L_Osteria_Bikini_Berlin-Berlin.html",
"is_sponsored": false,
"reviews_count": 1616,
"rating": {
"rating_type": "Max5",
"value": 4,
"votes_count": null,
"rating_max": 5
}
}
]
}
]
}
]
}