Felo API PlatformFelo API Platform

数据 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.

参数

路径

  • idstring必填

    DataForSEO task ID.

请求示例

curl -X GET "https://openapi.felo.ai/v1/beta/dataforseo/business_data/tripadvisor/search/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 tasks array*

  • tasks_errorinteger可选

    *the number of tasks in the tasks array 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 result array

  • pathstring[]可选

    URL path

  • dataobject可选

    contains the same parameters that you specified in the POST request

  • resultstring[]可选

    array of results

  • keywordstring可选

    keyword received in a POST array this field will contain the alias parameter if it was specified in a POST array

  • se_domainstring可选

    search engine domain in a POST array

  • location_codestring可选

    location code in a POST array

  • language_codestring可选

    language code in a POST array

  • check_urlstring可选

    direct URL to Tripadvisor 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:00

  • item_typesstring[]可选

    item types encountered in the result possible item types: tripadvisor_search_organic

  • se_results_countinteger可选

    the total number of results

  • items_countinteger可选

    the number of items in the results array you can get more results by using the depth parameter when setting a task

  • itemsstring[]可选

    Tripadvisor search listing results you can get more results by using the depth parameter when setting a task

  • typestring可选

    type of Tripadvisor search result possible types: tripadvisor_search_organic

  • rank_groupinteger可选

    position within a group of elements with identical type values positions of elements with different type values are omitted from rank_group

  • rank_absoluteinteger可选

    absolute rank among all the listed results absolute position among all reviews on the list

  • titlestring可选

    name of the business entity

  • url_pathstring可选

    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

  • is_sponsoredboolean可选

    indicates a sponsored placement if true, related tripadvisor_search_organic item is a paid advertising on Tripadvisor

  • reviews_countinteger可选

    the total number of reviews

  • categorystring可选

    place category

  • price_ratestring可选

    average price rate

  • ratingobject可选

    the rating score of the establishment submitted by the reviewers

  • rating_typestring可选

    the type of the rating can take the following values: Max5

  • valuenumber可选

    the value of the rating

  • votes_countinteger可选

    the amount of feedback indicates the number of votes the establishment obtained

  • rating_maxinteger可选

    the maximum value for a rating_type the maximum value for Max5 is 5