> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 按 id 获取 Business Data Tripadvisor 搜索结果

> 此端点将提供 [Tripadvisor](https://www. 上所列商家的数据。



## OpenAPI

````yaml openapi/zh/dataforseo.json GET /dataforseo/business_data/tripadvisor/search/task_get/{id}
openapi: 3.0.3
info:
  title: DataForSEO API
  version: 1.0.0
  description: 通过 AIsa 统一网关提供的 DataForSEO API 端点。
servers:
  - url: https://api.aisa.one/apis/v1
security:
  - BearerAuth: []
paths:
  /dataforseo/business_data/tripadvisor/search/task_get/{id}:
    get:
      summary: 按 id 获取 Business Data Tripadvisor 搜索结果
      description: >-
        此端点将提供 [Tripadvisor](https://www.tripadvisor.com)
        平台上所列商家的数据。通过此端点获得的结果取决于 POST 请求中使用的位置（请参阅 [Tripadvisor
        位置列表](https://docs.dataforseo.com/v3/business_data/tripadvisor/locations.md)）和关键词参数。
      operationId: get_dataforseo_business_data_tripadvisor_search_task_get_id
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: DataForSEO 任务 ID。
        - name: id
          in: query
          required: false
          schema:
            type: string
          description: >-
            *任务标识符* **本系统中采用
            [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier)
            格式的唯一任务标识符**；你可以在 **30 天内**随时使用它请求任务结果。
      responses:
        '200':
          description: 成功响应
          content:
            application/json:
              schema:
                type: object
                properties:
                  version:
                    type: string
                    description: '*API 的当前版本*'
                  version.status_code:
                    type: integer
                    description: >-
                      *常规状态代码*
                      您可以在[此处](https://docs.dataforseo.com/v3/appendix/errors.md)查看完整的响应代码列表。**注意：**我们强烈建议设计必要的系统来处理相关异常或错误情况
                  version.status_message:
                    type: string
                    description: >-
                      *一般信息消息*
                      你可以在[此处](https://docs.dataforseo.com/v3/appendix/errors.md)查看一般信息消息的完整列表
                  version.time:
                    type: string
                    description: '*执行时间（秒）*'
                  version.cost:
                    type: number
                    description: '*所有*任务*的总成本（美元）*'
                  version.tasks_count:
                    type: integer
                    description: '***`tasks`** 数组中的任务数量*'
                  version.tasks_error:
                    type: integer
                    description: '***`tasks`** 数组中返回错误的任务数量*'
                  tasks:
                    type: array
                    items:
                      type: string
                    description: '*任务数组*'
                  tasks.id:
                    type: string
                    description: >-
                      *任务标识符* **我们系统中采用
                      [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier)
                      格式的唯一任务标识符**
                  tasks.status_code:
                    type: integer
                    description: >-
                      由 DataForSEO 生成的*任务状态码*；范围为
                      10000-60000；你可以在[此处](https://docs.dataforseo.com/v3/appendix/errors.md)查看完整的响应代码列表
                  tasks.status_message:
                    type: string
                    description: >-
                      *任务的提示信息*
                      你可以在[此处](https://docs.dataforseo.com/v3/appendix/errors.md)查看通用提示信息的完整列表
                  tasks.time:
                    type: string
                    description: '*执行时间（秒）*'
                  tasks.cost:
                    type: number
                    description: '*任务成本（美元）*'
                  tasks.result_count:
                    type: integer
                    description: '*`result` 数组中的元素数量*'
                  tasks.path:
                    type: array
                    items:
                      type: string
                    description: '*URL 路径*'
                  tasks.data:
                    type: object
                    description: '*包含与您在 POST 请求中指定的参数相同的参数*'
                  result:
                    type: array
                    items:
                      type: string
                    description: '*结果数组*'
                  result.keyword:
                    type: string
                    description: '*POST 数组中接收的 keyword* 如果在 POST 数组中指定了 `alias` 参数，此字段将包含该参数'
                  result.se_domain:
                    type: string
                    description: '*POST 数组中的搜索引擎域名*'
                  result.location_code:
                    type: string
                    description: '*POST 数组中的位置代码*'
                  result.language_code:
                    type: string
                    description: '*POST 数组中的语言代码*'
                  result.check_url:
                    type: string
                    description: '*Tripadvisor 结果的直接 URL*，可用于确认我们提供的结果是否准确'
                  result.datetime:
                    type: string
                    description: >-
                      *收到结果的日期和时间*，采用 UTC 格式：“yyyy-mm-dd hh-mm-ss
                      +00:00”；示例：`2019-11-15 12:57:46 +00:00`
                  result.item_types:
                    type: array
                    items:
                      type: string
                    description: '*结果中出现的项目类型* 可能的项目类型：`tripadvisor_search_organic`'
                  result.se_results_count:
                    type: integer
                    description: '*结果总数*'
                  result.items_count:
                    type: integer
                    description: '*results 数组中的项目数量* 设置任务时，可使用 `depth` 参数获取更多结果'
                  items:
                    type: array
                    items:
                      type: string
                    description: '*Tripadvisor 搜索列表结果* 设置任务时，可使用 `depth` 参数获取更多结果'
                  items.type:
                    type: string
                    description: '*Tripadvisor 搜索结果类型* 可选类型：`tripadvisor_search_organic`'
                  items.rank_group:
                    type: integer
                    description: >-
                      *在具有相同 `type` 值的一组元素中的位置* 具有不同 `type` 值的元素的位置不计入
                      `rank_group`
                  items.rank_absolute:
                    type: integer
                    description: '*在所有列出结果中的绝对排名* 在列表所有评论中的绝对位置'
                  items.title:
                    type: string
                    description: '*商业实体名称*'
                  items.url_path:
                    type: string
                    description: >-
                      *企业实体的 URL 路径* 企业实体 Tripadvisor 页面的 URL 路径 你可以使用此标识符，通过
                      [Tripadvisor
                      Reviews](https://docs.dataforseo.com/v3/business_data/tripadvisor/reviews/task_post.md)
                      收集该企业实体的评论
                  items.is_sponsored:
                    type: boolean
                    description: >-
                      *表示赞助展示位置*；如果为 `true`，则相关的 `tripadvisor_search_organic`
                      项目是 Tripadvisor 上的付费广告
                  items.reviews_count:
                    type: integer
                    description: '*评论总数*'
                  items.category:
                    type: string
                    description: '*地点类别*'
                  items.price_rate:
                    type: string
                    description: '*平均价格率*'
                  items.rating:
                    type: object
                    description: '*评审者提交的机构评分*'
                  items.rating_type:
                    type: string
                    description: '*评分类型*，可取以下值：`Max5`'
                  items.value:
                    type: number
                    description: '*评分值*'
                  items.votes_count:
                    type: integer
                    description: '*反馈数量* 表示该商家获得的投票数'
                  items.rating_max:
                    type: integer
                    description: '*`rating_type` 的最大值* `Max5` 的最大值为 5'
        '400':
          description: 错误请求
        '401':
          description: 未授权
        '429':
          description: 超出速率限制
        '500':
          description: 内部服务器错误
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````