Data API / DataForSEO / Business Data
Get Business Data Tripadvisor Search Results by id
Retrieves queued Tripadvisor properties matching a query - how to find the id the reviews endpoint needs by id. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200. ⚠️ Size scales with the depth set at submit and cannot be narrowed here.
Parameters
path
idstringRequiredDataForSEO task ID.
Example request
curl -X GET "https://openapi.felo.ai/v1/beta/dataforseo/business_data/tripadvisor/search/task_get/{id}" \
-H "Authorization: Bearer $FELO_API_KEY"Response
Response fields
versionstringOptionalthe current version of the API
status_codeintegerOptionalgeneral status code you can find the full list of the response codes here Note: we strongly recommend designing a necessary system for handling related exceptional or error conditions
status_messagestringOptionalgeneral informational message you can find the full list of general informational messages here
timestringOptionalexecution time, seconds
costnumberOptional*total tasks cost, USD*
tasks_countintegerOptional*the number of tasks in the
tasksarray*tasks_errorintegerOptional*the number of tasks in the
tasksarray that were returned an error*tasksstring[]Optionalarray of tasks
idstringOptionaltask identifier unique task identifier in our system in the UUID format
status_codeintegerOptionalstatus code of the task generated by DataForSEO; can be within the following range: 10000-60000 you can find the full list of the response codes here
status_messagestringOptionalinformational message of the task you can find the full list of general informational messages here
timestringOptionalexecution time, seconds
costnumberOptionalcost of the task, USD
result_countintegerOptionalnumber of elements in the
resultarraypathstring[]OptionalURL path
dataobjectOptionalcontains the same parameters that you specified in the POST request
resultstring[]Optionalarray of results
keywordstringOptionalkeyword received in a POST array this field will contain the
aliasparameter if it was specified in a POST arrayse_domainstringOptionalsearch engine domain in a POST array
location_codestringOptionallocation code in a POST array
language_codestringOptionallanguage code in a POST array
check_urlstringOptionaldirect URL to Tripadvisor results you can use it to make sure that we provided accurate results
datetimestringOptionaldate and time when the result was received in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example:
2019-11-15 12:57:46 +00:00item_typesstring[]Optionalitem types encountered in the result possible item types:
tripadvisor_search_organicse_results_countintegerOptionalthe total number of results
items_countintegerOptionalthe number of items in the results array you can get more results by using the
depthparameter when setting a taskitemsstring[]OptionalTripadvisor search listing results you can get more results by using the
depthparameter when setting a tasktypestringOptionaltype of Tripadvisor search result possible types:
tripadvisor_search_organicrank_groupintegerOptionalposition within a group of elements with identical
typevalues positions of elements with differenttypevalues are omitted fromrank_grouprank_absoluteintegerOptionalabsolute rank among all the listed results absolute position among all reviews on the list
titlestringOptionalname of the business entity
url_pathstringOptionalURL path of the business entity URL path to the Tripadvisor page of the business entity you can use this identifier to collect reviews for the business entity using Tripadvisor Reviews
is_sponsoredbooleanOptionalindicates a sponsored placement if
true, relatedtripadvisor_search_organicitem is a paid advertising on Tripadvisorreviews_countintegerOptionalthe total number of reviews
categorystringOptionalplace category
price_ratestringOptionalaverage price rate
ratingobjectOptionalthe rating score of the establishment submitted by the reviewers
rating_typestringOptionalthe type of the rating can take the following values:
Max5valuenumberOptionalthe value of the rating
votes_countintegerOptionalthe amount of feedback indicates the number of votes the establishment obtained
rating_maxintegerOptionalthe maximum value for a
rating_typethe maximum value forMax5is 5