跳转到主要内容
GET
Search Tripadvisor
请求示例待验证。 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式,请替换为自己的参数。正式调用前,可用免费的报价模式(X-AISA-Cost-Mode: quote)查看预估费用。

请求规范

  • 方法与路径: GET /apis/v1/tripadvisor/search-general
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/tripadvisor/search-general
  • geo_id: query; 可选
  • lat: query; 可选
  • locale: query; 可选
  • lon: query; 可选
  • num: query; 可选
  • page_token: query; 可选
  • place_type: query; 可选
  • q: query; 必填
  • start: query; 可选
  • timeout: query; 可选
  • tripadvisor_domain: query; 可选
  • aisa_cursor: query; 可选
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

已观察到的响应结构

以下结构来自探针或抽样请求的成功结果,只反映已观察到的部分:字段和类型可能变化,不保证每次都有。已有正式响应定义优先;这里不发布真实响应值。
  • HTTP 状态 / 最近观察日期: 200 / 2026-11-14

费用与请求规则

公开参考价格:每次成功请求 $0.00015 USD。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

翻页

  • 把 aisa_pagination.next_cursor 作为 aisa_cursor(查询参数)传入即可获取下一页;aisa_pagination.has_more 为 false 时停止。
  • 响应头 X-AISA-Has-More 与 X-AISA-Next-Cursor 返回相同的值。
  • 游标是不透明值,请原样传回。
  • 结果可能跨页重复,请按稳定的 ID 去重。

响应时间

  • 通常 10 秒内返回。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

geo_id
integer
必填范围: 1 <= x <= 9007199254740991
lat
number
必填范围: -90 <= x <= 90
locale
string
Required string length: 2 - 32
lon
number
必填范围: -180 <= x <= 180
num
integer
必填范围: 1 <= x <= 20
page_token
string
Required string length: 1 - 16000
place_type
enum<string>
可用选项:
accommodation,
all,
attraction,
attraction_product,
eatery,
geo
q
string
必填
Required string length: 1 - 500
start
integer
必填范围: 0 <= x <= 10000
timeout
number
必填范围: x <= 90
tripadvisor_domain
string
Required string length: 3 - 253
aisa_cursor
string

Next page: the aisa_pagination.next_cursor of the previous response.

Required string length: 1 - 4096

响应

Normalized successful response

map_previews
object[] | null
pagination
object | null
search_information
object | null
search_parameters
object | null
search_results
object[] | null
aisa_pagination
object

AIsa pagination. Pass next_cursor as aisa_cursor to fetch the next page; has_more is false on the last page.

{key}
any