TikTok video comments by video id
tikhub.tiktok.video.commentsComments on a TikTok video
- Price
- $0.001/successプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.tiktok.video.comments?count=5&aweme_id=7606449212716305678PreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
count | 整数 | 任意 | items per page (default 20) | 5 |
cursor | 整数 | 任意 | 0 | |
aweme_id | 文字列 | 必須 | numeric video id — same value as itemId elsewhere | 7231337071831321903 |
current_region | 文字列 | 任意 | ||
- クエリパラメータ
count整数任意items per page (default 20)
例:
5cursor整数任意例:
0aweme_id文字列必須numeric video id — same value as itemId elsewhere
例:
7231337071831321903current_region文字列任意
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.tiktok.video.comments?count=5&aweme_id=7606449212716305678' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.tiktok.video.comments?count=5&aweme_id=7606449212716305678",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.tiktok.video.comments?count=5&aweme_id=7606449212716305678", {
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.001/success です。サービス料を含みます。