DataForSEO
SEO, search-engine results, keyword research, backlinks and AI visibility 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.
- 类型: stringid必填
DataForSEO task ID.
- 类型: object200
Successful response
- 类型: array string[]items
Tripadvisor search listing results you can get more results by using the
depthparameter when setting a task - 类型: stringitems
.category place category
- 类型: booleanitems
.is _sponsored indicates a sponsored placement if
true, relatedtripadvisor_search_organicitem is a paid advertising on Tripadvisor - 类型: stringitems
.price _rate average price rate
- 类型: integeritems
.rank _absolute absolute rank among all the listed results 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 of the establishment submitted by the reviewers
- 类型: 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 - 类型: integeritems
.reviews _count the total number of reviews
- 类型: stringitems
.title name of the business entity
- 类型: stringitems
.type type of Tripadvisor search result possible types:
tripadvisor_search_organic - 类型: stringitems
.url _path URL 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
- 类型: numberitems
.value the value of the rating
- 类型: integeritems
.votes _count the amount of feedback indicates the number of votes the establishment obtained
- 类型: array string[]result
array of results
- 类型: stringresult
.check _url direct URL to Tripadvisor 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 - 类型: array string[]result
.item _types item types encountered in the result possible item types:
tripadvisor_search_organic - 类型: integerresult
.items _count the number of items in the results array you can get more results by using the
depthparameter when setting a task - 类型: stringresult
.keyword keyword received in a POST array this field will contain the
aliasparameter if it was specified in a POST array - 类型: stringresult
.language _code language code in a POST array
- 类型: stringresult
.location _code location code in a POST array
- 类型: stringresult
.se _domain search engine domain in a POST array
- 类型: integerresult
.se _results _count the total number of results
- 类型: 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/search/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.keyword": "string",
"result.se_domain": "string",
"result.location_code": "string",
"result.language_code": "string",
"result.check_url": "string",
"result.datetime": "string",
"result.item_types": [
"string"
],
"result.se_results_count": 1,
"result.items_count": 1,
"items": [
"string"
],
"items.type": "string",
"items.rank_group": 1,
"items.rank_absolute": 1,
"items.title": "string",
"items.url_path": "string",
"items.is_sponsored": true,
"items.reviews_count": 1,
"items.category": "string",
"items.price_rate": "string",
"items.rating": {},
"items.rating_type": "string",
"items.value": 1,
"items.votes_count": 1,
"items.rating_max": 1
}