Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Get Business Data Tripadvisor Search Results by id

服务器:https://openapi.felo.ai
客户端库

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.

路径参数
  • id
    类型: string
    必填

    DataForSEO task ID.

响应
  • 200
    类型: object

    Successful response

    • items
      类型: array string[]

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

    • items.category
      类型: string

      place category

    • items.is_sponsored
      类型: boolean

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

    • items.price_rate
      类型: string

      average price rate

    • items.rank_absolute
      类型: integer

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

    • items.rank_group
      类型: integer

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

    • items.rating
      类型: object

      the rating score of the establishment submitted by the reviewers

    • items.rating_max
      类型: integer

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

    • items.rating_type
      类型: string

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

    • items.reviews_count
      类型: integer

      the total number of reviews

    • items.title
      类型: string

      name of the business entity

    • items.type
      类型: string

      type of Tripadvisor search result possible types: tripadvisor_search_organic

    • items.url_path
      类型: string

      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

    • items.value
      类型: number

      the value of the rating

    • items.votes_count
      类型: integer

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

    • result
      类型: array string[]

      array of results

    • result.check_url
      类型: string

      direct URL to Tripadvisor results you can use it to make sure that we provided accurate results

    • result.datetime
      类型: string

      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

    • result.item_types
      类型: array string[]

      item types encountered in the result possible item types: tripadvisor_search_organic

    • result.items_count
      类型: integer

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

    • result.keyword
      类型: string

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

    • result.language_code
      类型: string

      language code in a POST array

    • result.location_code
      类型: string

      location code in a POST array

    • result.se_domain
      类型: string

      search engine domain in a POST array

    • result.se_results_count
      类型: integer

      the total number of results

    • tasks
      类型: array string[]

      array of tasks

    • tasks.cost
      类型: number

      cost of the task, USD

    • tasks.data
      类型: object

      contains the same parameters that you specified in the POST request

    • tasks.id
      类型: string

      task identifier unique task identifier in our system in the UUID format

    • tasks.path
      类型: array string[]

      URL path

    • tasks.result_count
      类型: integer

      number of elements in the result array

    • tasks.status_code
      类型: integer

      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

    • tasks.status_message
      类型: string

      informational message of the task you can find the full list of general informational messages here

    • tasks.time
      类型: string

      execution time, seconds

    • version
      类型: string

      the current version of the API

    • version.cost
      类型: number

      total tasks cost, USD

    • version.status_code
      类型: integer

      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

    • version.status_message
      类型: string

      general informational message you can find the full list of general informational messages here

    • version.tasks_count
      类型: integer

      the number of tasks in the tasks array

    • version.tasks_error
      类型: integer

      the number of tasks in the tasks array that were returned an error

    • version.time
      类型: string

      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.

Request Example for get/v1/beta/dataforseo/business_data/tripadvisor/search/task_get/{id}
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
}
Get Business Data Tripadvisor Search Results by id