資料 API / DataForSEO / Business Data
Get Business Data Tripadvisor Reviews Results by id
Retrieves queued Tripadvisor reviews for one property 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.
參數
路徑
idstring必填DataForSEO task ID.
請求範例
curl -X GET "https://openapi.felo.ai/v1/beta/dataforseo/business_data/tripadvisor/reviews/task_get/{id}" \
-H "Authorization: Bearer $FELO_API_KEY"回應
回應欄位
versionstring選填the current version of the API
status_codeinteger選填general 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_messagestring選填general informational message you can find the full list of general informational messages here
timestring選填execution time, seconds
costnumber選填*total tasks cost, USD*
tasks_countinteger選填*the number of tasks in the
tasksarray*tasks_errorinteger選填*the number of tasks in the
tasksarray that were returned an error*tasksstring[]選填array of tasks
idstring選填task identifier unique task identifier in our system in the UUID format
status_codeinteger選填status 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_messagestring選填informational message of the task you can find the full list of general informational messages here
timestring選填execution time, seconds
costnumber選填cost of the task, USD
result_countinteger選填number of elements in the
resultarraypathstring[]選填URL path
dataobject選填contains the same parameters that you specified in the POST request
resultstring[]選填array of results
url_pathstring選填URL path received in a POST array
typestring選填search engine type in a POST array
se_domainstring選填search engine domain in a POST array
check_urlstring選填direct URL to search engine results you can use it to make sure that we provided accurate results
datetimestring選填date 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:00titlestring選填title of the ‘reviews’ element in SERP the name of the local establishment for which the reviews are collected
locationstring選填location of the local establishment address of the local establishment for which the reviews are collected
reviews_countinteger選填the total number of reviews
ratingobject選填rating of the corresponding local establishment popularity rate based on reviews and displayed in SERP
rating_typestring選填type of rating here you can find the following elements:
Max5,Percents,CustomMaxvaluenumber選填the average rating based on all reviews
votes_countinteger選填the number of votes
rating_maxinteger選填the maximum value for a
rating_typerating_distributionobject選填rating distribution by votes the distribution of votes across the rating in the range from 1 to 5
1integer選填votes for the 1-point rating
2integer選填votes for the 2-points rating
3integer選填votes for the 3-points rating
4integer選填votes for the 4-points rating
5integer選填votes for the 5-points rating
items_countinteger選填the number of reviews items in the results array you can get more results by using the
depthparameter when setting a taskitemsstring[]選填found reviews you can get more results by using the
depthparameter when setting a tasktypestring選填the review’s type possible review types:
"tripadvisor_review_search"rank_groupinteger選填position within a group of elements with identical
typevalues positions of elements with differenttypevalues are omitted fromrank_grouprank_absoluteinteger選填absolute rank among all the listed reviews absolute position among all reviews on the list
positionstring選填the alignment of the review in SERP can take the following values:
righturlstring選填URL of the reviewer’s profile
ratingobject選填the rating score submitted by the reviewer
rating_typestring選填the type of the rating can take the following values:
Max5valuenumber選填the value of the rating
votes_countinteger選填the amount of feedback in this case, the value will be
nullrating_maxinteger選填the maximum value for a
rating_typethe maximum value forMax5is 5date_of_visitstring選填date of the reviewer’s visit to the local establishment in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example:
2019-11-15 12:57:46 +00:00timestampstring選填date and time when the response was published in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example:
2019-11-15 12:57:46 +00:00review_idstring選填ID of the review
titlestring選填title of the owner’s response indicates the owner’s name
review_textstring選填content of the review
languagestring選填language of the response text
original_languagestring選填language of the untranslated review text
review_imagesstring[]選填contains URLs of the images used in the review
user_profileobject選填information from the reviewer’s profile
namestring選填reviewer’s profile name
image_urlstring選填URL of the reviewer’s profile image
locationstring選填URL of the reviewer’s profile image
reviews_countstring選填total number of reviews submitted by the reviewer
responsesstring[]選填contains information about the owner’s response
textstring選填text of the owner’s response
response_idstring選填ID of the response
review_highlightsstring[]選填review highlights contains highlighted review criteria and assessments
featurestring選填reviewed feature
assessmentstring選填feature assessment