Tripadvisor reviews for a business (async task)
dataforseo.x.business-data-tripadvisor-reviews-task-postThis endpoint provides results from the “Reviews” element on the Tripadvisor platform.
- Price
- $0.00075/callプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/07/28Verified working
POSThttps://toolswitch.dev/v1/tools/dataforseo.x.business-data-tripadvisor-reviews-task-post?bodyType=jsonPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Asynchronous response
- Reads public data
パラメータ
the POST body is a JSON array of up to 100 task objects with these fields, one per task; read each task's result (tasks[].id) with dataforseo.x.business-data-tripadvisor-reviews-task-get, which only the submitting team can read
このツールにパラメータはありません。プロバイダのドキュメント ↗ を参照してください Provider docs
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/dataforseo.x.business-data-tripadvisor-reviews-task-post?bodyType=json' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '[{"tag":"some_string_123","url_path":"Hotel_Review-g60763-d23462501-Reviews-Margaritaville_Times_Square-New_York_City_New_York.html","pingback_url":"https://your-server.com/pingback.php?id=$id&tag=$tag","location_code":1003854}]'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/dataforseo.x.business-data-tripadvisor-reviews-task-post?bodyType=json",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("[{\"tag\":\"some_string_123\",\"url_path\":\"Hotel_Review-g60763-d23462501-Reviews-Margaritaville_Times_Square-New_York_City_New_York.html\",\"pingback_url\":\"https://your-server.com/pingback.php?id=$id&tag=$tag\",\"location_code\":1003854}]"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/dataforseo.x.business-data-tripadvisor-reviews-task-post?bodyType=json", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("[{\"tag\":\"some_string_123\",\"url_path\":\"Hotel_Review-g60763-d23462501-Reviews-Margaritaville_Times_Square-New_York_City_New_York.html\",\"pingback_url\":\"https://your-server.com/pingback.php?id=$id&tag=$tag\",\"location_code\":1003854}]")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.00075/call です。サービス料を含みます。