Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

TikTok Comment Replies

เอกสาร API
https://api.sandbase.ai/v1/api/tiktok/post-sub-comment

Get 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.

ราคา
$0.014286USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
2 จำเป็น · 1 ไม่บังคับ

Playground

อินพุต
The unique ID of the TikTok post.
The unique ID of the comment to retrieve replies for.
Pagination cursor. Start with '0'.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

TikTok Comment Replies API

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.

Use cases

  • Read the full reply thread under a single TikTok comment.
  • Walk through every reply page of a busy comment by passing the cursor forward.
  • Check whether a known comment has any replies before you collect more data.
  • Archive a threaded discussion for moderation or research.

Request

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.

Parameters

NameTypeRequiredDescription
awemeIdstringYesThe unique ID of the TikTok post.
commentIdstringYesThe unique ID of the comment to retrieve replies for.
cursorstringNoPagination cursor. Start with '0'.

Example response

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
}

Response fields

FieldMeaning
commentsList 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_morePaging flag. 0 means there are no more reply pages after this one.
cursorCursor value returned with this page. Use it as the cursor of your next request when has_more is not 0.
totalTotal count reported with the reply list. It is 0 in the sample response.
status_code / status_msgResult status of the call. status_code is 0 and status_msg is empty in the sample response.
extra.fatal_item_idsList of item IDs flagged in the response. It is empty in the sample response.
log_pb.impr_idRequest identifier. It matches extra.logid in the sample response.

Notes

  • awemeId is the ID of the TikTok post. commentId is the ID of the parent comment whose replies you want.
  • Start with cursor set to "0". Send the returned cursor on the next call while has_more is not 0.
  • A reply-free comment returns status_code 0 with an empty comments list.

Pricing

$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
TikTok$0.014286 ต่อการเรียกJSON
TikTokเริ่มต้นที่ $0.0012 ต่อครั้งJSON
TikTokเริ่มต้นที่ $0.0008 ต่อครั้งJSON
TikTokเริ่มต้นที่ $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

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ TikTok Comment Replies API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/tiktok/post-sub-comment โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

TikTok Comment Replies API ราคาเท่าไร?

$0.014286 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

TikTok Comment Replies API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: awemeId (string) และ commentId (string). ตัวเลือก: cursor (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

TikTok Comment Replies API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ TikTok ไหม?

ไม่จำเป็น TikTok Comment Replies ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก