Get Tripadvisor place details
litescrape.tripadvisor.place.detailReturns one Tripadvisor place in `place_results`: identity, location, rating, images and, for restaurants, contact details, hours and rankings when Tripadvisor supplies them
- Price
- $0.00015/successプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/09/29Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.tripadvisor.place.detail?place_id=18941405Preview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
geo_id | 整数 | 任意 | Tripadvisor ID of the place's parent geography. | 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. | |
currency | 文字列 | 任意 | Three-letter ISO currency code for price fields; case-insensitive. | |
place_id | 整数 | 必須 | Numeric Tripadvisor place ID, up to 16 digits. | 437641 |
tripadvisor_domain | 文字列 | 任意 | Supported first-party localized Tripadvisor hostname, such as www.tripadvisor.co.uk. | www.tripadvisor.com |
- クエリパラメータ
geo_id整数任意Tripadvisor ID of the place's parent geography.
例:
30196locale文字列任意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.
currency文字列任意Three-letter ISO currency code for price fields; case-insensitive.
place_id整数必須Numeric Tripadvisor place ID, up to 16 digits.
例:
437641tripadvisor_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.place.detail?place_id=18941405' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/litescrape.tripadvisor.place.detail?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.place.detail?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 です。サービス料を含みます。