DataForSEO
SEO, search-engine results, keyword research, backlinks and AI visibility 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.
- 类型: stringid必填
DataForSEO task ID.
- 类型: object200
Successful response
- 类型: array string[]items
found reviews you can get more results by using the
depthparameter when setting a task - 类型: stringitems
.assessment feature assessment
- 类型: stringitems
.date _of _visit 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:00 - 类型: stringitems
.feature reviewed feature
- 类型: stringitems
.image _url URL of the reviewer’s profile image
- 类型: stringitems
.language language of the response text
- 类型: stringitems
.location URL of the reviewer’s profile image
- 类型: stringitems
.name reviewer’s profile name
- 类型: stringitems
.original _language language of the untranslated review text
- 类型: stringitems
.position the alignment of the review in SERP can take the following values:
right - 类型: integeritems
.rank _absolute absolute rank among all the listed reviews absolute position among all reviews on the list
- 类型: integeritems
.rank _group position within a group of elements with identical
typevalues positions of elements with differenttypevalues are omitted fromrank_group - 类型: objectitems
.rating the rating score submitted by the reviewer
- 类型: integeritems
.rating _max the maximum value for a
rating_typethe maximum value forMax5is 5 - 类型: stringitems
.rating _type the type of the rating can take the following values:
Max5 - 类型: stringitems
.response _id ID of the response
- 类型: array string[]items
.responses contains information about the owner’s response
- 类型: array string[]items
.review _highlights review highlights contains highlighted review criteria and assessments
- 类型: stringitems
.review _id ID of the review
- 类型: array string[]items
.review _images contains URLs of the images used in the review
- 类型: stringitems
.review _text content of the review
- 类型: stringitems
.reviews _count total number of reviews submitted by the reviewer
- 类型: stringitems
.text text of the owner’s response
- 类型: stringitems
.timestamp 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:00 - 类型: stringitems
.title title of the owner’s response indicates the owner’s name
- 类型: stringitems
.type the review’s type possible review types:
"tripadvisor_review_search" - 类型: stringitems
.url URL of the reviewer’s profile
- 类型: objectitems
.user _profile information from the reviewer’s profile
- 类型: numberitems
.value the value of the rating
- 类型: integeritems
.votes _count the amount of feedback in this case, the value will be
null - 类型: array string[]result
array of results
- 类型: integerresult
.1 votes for the 1-point rating
- 类型: integerresult
.2 votes for the 2-points rating
- 类型: integerresult
.3 votes for the 3-points rating
- 类型: integerresult
.4 votes for the 4-points rating
- 类型: integerresult
.5 votes for the 5-points rating
- 类型: stringresult
.check _url direct URL to search engine results you can use it to make sure that we provided accurate results
- 类型: stringresult
.datetime 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:00 - 类型: integerresult
.items _count the number of reviews items in the results array you can get more results by using the
depthparameter when setting a task - 类型: stringresult
.location location of the local establishment address of the local establishment for which the reviews are collected
- 类型: objectresult
.rating rating of the corresponding local establishment popularity rate based on reviews and displayed in SERP
- 类型: objectresult
.rating _distribution rating distribution by votes the distribution of votes across the rating in the range from 1 to 5
- 类型: integerresult
.rating _max the maximum value for a
rating_type - 类型: stringresult
.rating _type type of rating here you can find the following elements:
Max5,Percents,CustomMax - 类型: integerresult
.reviews _count the total number of reviews
- 类型: stringresult
.se _domain search engine domain in a POST array
- 类型: stringresult
.title title of the ‘reviews’ element in SERP the name of the local establishment for which the reviews are collected
- 类型: stringresult
.type search engine type in a POST array
- 类型: stringresult
.url _path URL path received in a POST array
- 类型: numberresult
.value the average rating based on all reviews
- 类型: integerresult
.votes _count the number of votes
- 类型: array string[]tasks
array of tasks
- 类型: numbertasks
.cost cost of the task, USD
- 类型: objecttasks
.data contains the same parameters that you specified in the POST request
- 类型: stringtasks
.id task identifier unique task identifier in our system in the UUID format
- 类型: array string[]tasks
.path URL path
- 类型: integertasks
.result _count number of elements in the
resultarray - 类型: integertasks
.status _code 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
- 类型: stringtasks
.status _message informational message of the task you can find the full list of general informational messages here
- 类型: stringtasks
.time execution time, seconds
- 类型: stringversion
the current version of the API
- 类型: numberversion
.cost total tasks cost, USD
- 类型: integerversion
.status _code 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
- 类型: stringversion
.status _message general informational message you can find the full list of general informational messages here
- 类型: integerversion
.tasks _count the number of tasks in the
tasksarray - 类型: integerversion
.tasks _error the number of tasks in the
tasksarray that were returned an error - 类型: stringversion
.time execution time, seconds
application/json - 400
Bad request
- 401
Unauthorized
- 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 429
Rate limit exceeded
- 500
Internal server error
- 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
curl 'https://openapi.felo.ai/v1/beta/dataforseo/business_data/tripadvisor/reviews/task_get/{id}' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"version": "string",
"version.status_code": 1,
"version.status_message": "string",
"version.time": "string",
"version.cost": 1,
"version.tasks_count": 1,
"version.tasks_error": 1,
"tasks": [
"string"
],
"tasks.id": "string",
"tasks.status_code": 1,
"tasks.status_message": "string",
"tasks.time": "string",
"tasks.cost": 1,
"tasks.result_count": 1,
"tasks.path": [
"string"
],
"tasks.data": {},
"result": [
"string"
],
"result.url_path": "string",
"result.type": "string",
"result.se_domain": "string",
"result.check_url": "string",
"result.datetime": "string",
"result.title": "string",
"result.location": "string",
"result.reviews_count": 1,
"result.rating": {},
"result.rating_type": "string",
"result.value": 1,
"result.votes_count": 1,
"result.rating_max": 1,
"result.rating_distribution": {},
"result.1": 1,
"result.2": 1,
"result.3": 1,
"result.4": 1,
"result.5": 1,
"result.items_count": 1,
"items": [
"string"
],
"items.type": "string",
"items.rank_group": 1,
"items.rank_absolute": 1,
"items.position": "string",
"items.url": "string",
"items.rating": {},
"items.rating_type": "string",
"items.value": 1,
"items.votes_count": 1,
"items.rating_max": 1,
"items.date_of_visit": "string",
"items.timestamp": "string",
"items.review_id": "string",
"items.title": "string",
"items.review_text": "string",
"items.language": "string",
"items.original_language": "string",
"items.review_images": [
"string"
],
"items.user_profile": {},
"items.name": "string",
"items.image_url": "string",
"items.location": "string",
"items.reviews_count": "string",
"items.responses": [
"string"
],
"items.text": "string",
"items.response_id": "string",
"items.review_highlights": [
"string"
],
"items.feature": "string",
"items.assessment": "string"
}