Read Tripadvisor reviews
litescrape.tripadvisor.business.reviewsReturns public reviews for one Tripadvisor place in `reviews`, in Tripadvisor's order; rows Tripadvisor promotes carry `featured: true` and can appear ahead of newer reviews
- Price
- $0.00015/successプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/09/29Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.tripadvisor.business.reviews?num=5&place_id=18941405Preview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
num | 整数 | 任意 | Number of reviews, 1 through 50. | 5 |
start | 整数 | 任意 | Review offset from 0 through 10,000. | |
locale | 文字列 | 任意 | Lowercase language code with an optional uppercase country, such as en or en-US. | |
sort_by | 文字列 | 任意 | Review order: recent (newest first) or relevance. | |
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_id | 整数 | 必須 | Numeric Tripadvisor place ID, up to 16 digits. | 437641 |
translate | 真偽値 | 任意 | Request Tripadvisor's machine translation of reviews. | |
tripadvisor_domain | 文字列 | 任意 | Supported first-party localized Tripadvisor hostname, such as www.tripadvisor.co.uk. | www.tripadvisor.com |
- クエリパラメータ
num整数任意Number of reviews, 1 through 50.
例:
5start整数任意Review offset from 0 through 10,000.
locale文字列任意Lowercase language code with an optional uppercase country, such as en or en-US.
sort_by文字列任意Review order: recent (newest first) or relevance.
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_id整数必須Numeric Tripadvisor place ID, up to 16 digits.
例:
437641translate真偽値任意Request Tripadvisor's machine translation of reviews.
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.business.reviews?num=5&place_id=18941405' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/litescrape.tripadvisor.business.reviews?num=5&place_id=18941405",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/litescrape.tripadvisor.business.reviews?num=5&place_id=18941405", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.00015/success です。サービス料を含みます。