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

Tripadvisor Data API

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

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

预览即将推出

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

GET/v1/tripadvisor/reviews1 额度 / 次

Place Reviews

Paginated traveler reviews with the star-rating histogram and rating summary for a hotel, restaurant, or attraction. Supports sort, language, and an exact star-rating filter so every review is reachable.

已为你处理:DataDome速率限制
参数
名称类型必填描述
location_idstring是Numeric location id: the d-token in the URL (e.g. 93589).
高级筛选
urlstring否Full Tripadvisor place URL from a search result's `link` (carries the geo id + type + slug that resolve the canonical page). Preferred; when omitted we build it from the ids below.
geo_idstring否Geo/city id: the g-token in the URL (e.g. 60763). Used with location_id + type to build the canonical URL.
typestring否Place type (hotel | restaurant | attraction) — sets the URL prefix.
slugstring否Optional URL name slug (the trailing '-Some_Place-City' segment).
sortstring否Review ordering. The public place page renders newest-first with no sort query token, so this is accepted but not applied. (默认值:newest)
ratinginteger否Keep only reviews with this exact star rating, 1 to 5.
languagestring否Two-letter language code to restrict reviews to, e.g. 'en', 'fr', 'es'. Maps to Tripadvisor's filterLang. (默认值:en)
pageinteger否Page number (10 reviews/page). (默认值:1)
marketstring否us | gb | fr | it. (默认值:us)