awemeIdstring必須
The unique ID of the TikTok post.
https://api.sandbase.ai/v1/api/tiktok/post-sub-commentGet replies to a specific comment on a TikTok post with cursor pagination. Use it to inspect threaded discussions and continue through reply pages for a known post comment.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
Returns the replies to one comment on a TikTok post. You send the post ID (awemeId) and the parent comment ID (commentId). Results come in pages, controlled by cursor.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/post-sub-comment" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"awemeId": "7701102965385383199", "commentId": "1650470666299398"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
awemeId | string | Yes | The unique ID of the TikTok post. |
commentId | string | Yes | The unique ID of the comment to retrieve replies for. |
cursor | string | No | Pagination cursor. Start with '0'. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"comments": [],
"cursor": 0,
"extra": {
"fatal_item_ids": [],
"logid": "20261103074409E041FC3BC7C8170221E3",
"now": 1793691849000
},
"has_more": 0,
"log_pb": {
"impr_id": "20261103074409E041FC3BC7C8170221E3"
},
"status_code": 0,
"status_msg": "",
"total": 0
}
| Field | Meaning |
|---|---|
comments | List of reply objects for the requested comment. It is an empty list in the sample response, which means that comment had no replies to return. |
has_more | Paging flag. 0 means there are no more reply pages after this one. |
cursor | Cursor value returned with this page. Use it as the cursor of your next request when has_more is not 0. |
total | Total count reported with the reply list. It is 0 in the sample response. |
status_code / status_msg | Result status of the call. status_code is 0 and status_msg is empty in the sample response. |
extra.fatal_item_ids | List of item IDs flagged in the response. It is empty in the sample response. |
log_pb.impr_id | Request identifier. It matches extra.logid in the sample response. |
awemeId is the ID of the TikTok post. commentId is the ID of the parent comment whose replies you want.cursor set to "0". Send the returned cursor on the next call while has_more is not 0.status_code 0 with an empty comments list.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/post-sub-comment" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"cursor": "0",
"awemeId": "7701102965385383199",
"commentId": "1650470666299398"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
awemeIdstring必須The unique ID of the TikTok post.
commentIdstring必須The unique ID of the comment to retrieve replies for.
cursorstringPagination cursor. Start with '0'.
デフォルト: "0"
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
TikTok Comment Repliesこの API TikTok | $0.014286 / 回 | JSON |
TikTok | 1回あたり $0.0012 から | JSON |
TikTok | 1回あたり $0.0008 から | JSON |
TikTok | 1回あたり $0.0008 から | JSON |
TikTok | $0.001 / 回 | JSON |
TikTok | $0.001 / 回 | JSON |
ガイド:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/tiktok/post-sub-comment に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.014286、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: awemeId (string) と commentId (string)。 任意: cursor (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。TikTok Comment Replies は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。TikTok の API アクセスを別途申請する必要はありません。