跳到主要内容
所有网站
Data API

Tripadvisor Data API

按需获取结构化 JSON 数据,内置反机器人绕过。

3 个端点已为你处理DataDome · 速率限制
tripadvisor.comGET/tripadvisor/p…GET/tripadvisor/r…GET/tripadvisor/s…{ } JSON
预览 即将推出

预览即将推出

我们正在完善此端点。它暂不可运行,因此在实时验证之前不会展示示例响应。

GET/v1/tripadvisor/place1 额度 / 次

Place Details

Full details for a hotel, restaurant, or attraction by its Tripadvisor location id: rating, ranking, price band, cuisine, address, phone, website, opening hours, a photo gallery, amenities, and map coordinates.

已为你处理:DataDome速率限制
参数
名称类型必填描述
location_idstring是Numeric location id: the d-token in the URL (e.g. 93589 from -d93589-).
高级筛选
urlstring否Full Tripadvisor place URL from a search result's `link`, e.g. /Hotel_Review-g60763-d93589-Reviews-...-New_York_City.html. Preferred: it carries the geo id + type + slug that resolve the canonical page. When omitted we build it from the ids below.
geo_idstring否Geo/city id: the g-token in the URL (e.g. 60763 from -g60763-). Used with location_id + type to build the canonical URL.
typestring否Place type (hotel | restaurant | attraction) — sets the URL prefix when building the canonical URL from geo_id.
slugstring否Optional URL name slug (the trailing '-Some_Place-City' segment).
marketstring否us | gb | fr | it. (默认值:us)