LitescrapeTripadvisorReviews & Apps

Search Tripadvisor

litescrape.tripadvisor.search.general

Returns Tripadvisor hotels, restaurants, attractions and places in `search_results`

价格
$0.00015/success按供应商原价
成功率
—暂无成功率数据暂无成功率数据
延迟 p50
——
最后验证
2026年9月29日实测可用
GEThttps://toolswitch.dev/v1/tools/litescrape.tripadvisor.search.general?q=hotels+in+Austin+Texas预览
在线试用即将上线供应商文档 ↗
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

参数类型必填说明示例
查询参数
q字符串必填Search text, 1 to 500 characters.coffee
lat数字可选Search center latitude from -90 through 90. Requires lon.30.2672
lon数字可选Search center longitude from -180 through 180. Requires lat.-97.7431
num整数可选Maximum number of search_results, 1 through 30, including any leading exact match.
start整数可选Result offset from 0 through 10,000. Offsets and positions count any leading exact match.
geo_id整数可选Tripadvisor geography ID to search within.30196
locale字符串可选Lowercase language code with an optional uppercase country, such as en or en-US.
timeout数字可选Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.
place_type字符串可选Restrict results to one entity type.
tripadvisor_domain字符串可选Supported first-party localized Tripadvisor hostname, such as www.tripadvisor.co.uk.www.tripadvisor.com
  • 查询参数
  • q字符串必填

    Search text, 1 to 500 characters.

    示例:coffee

  • lat数字可选

    Search center latitude from -90 through 90. Requires lon.

    示例:30.2672

  • lon数字可选

    Search center longitude from -180 through 180. Requires lat.

    示例:-97.7431

  • num整数可选

    Maximum number of search_results, 1 through 30, including any leading exact match.

  • start整数可选

    Result offset from 0 through 10,000. Offsets and positions count any leading exact match.

  • geo_id整数可选

    Tripadvisor geography ID to search within.

    示例:30196

  • locale字符串可选

    Lowercase language code with an optional uppercase country, such as en or en-US.

  • timeout数字可选

    Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.

  • place_type字符串可选

    Restrict results to one entity type.

  • tripadvisor_domain字符串可选

    Supported first-party localized Tripadvisor hostname, such as www.tripadvisor.co.uk.

    示例:www.tripadvisor.com

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

预览
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.tripadvisor.search.general?q=hotels+in+Austin+Texas' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.00015/success 计费,已含服务费。