postIdstringจำเป็น
The unique ID of the TikTok post.
https://api.sandbase.ai/v1/api/tiktok/post-detailGet details for a TikTok post identified by its post ID. Use it to look up a known TikTok video before content review, reporting, or related engagement analysis.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns the platform's original data structure for a TikTok post, looked up by its post ID. It needs one input, postId. The sample response for 6701927684605233153 holds only status and request metadata, with no video fields.
extra.fatal_item_ids list is not empty.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/post-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"postId": "6701927684605233153"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
postId | string | Yes | The unique ID of the TikTok post. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"extra": {
"fatal_item_ids": [],
"logid": "202611030744081E2411327AEFB402ED07",
"now": 1793691849000
},
"log_pb": {
"impr_id": "202611030744081E2411327AEFB402ED07"
},
"statusCode": 10204,
"status_code": 0,
"status_msg": ""
}
| Field | Meaning |
|---|---|
status_code | Status code of the lookup. It is 0 in the sample response. |
status_msg | Status message text. It is an empty string in the sample response. |
statusCode | A second status code in camelCase. The sample shows 10204. The response does not explain this value. |
extra.fatal_item_ids | List of item IDs the platform flagged with a fatal error. It is empty in the sample. |
extra.logid | Identifier for this request on the platform side. It has the same value as log_pb.impr_id in the sample. |
extra.now | A 13-digit number that fits a Unix timestamp in milliseconds. It most likely marks the time of the response. |
log_pb.impr_id | Impression ID for this request. Use it together with extra.logid when you log or compare calls. |
postId is a numeric string, for example 6701927684605233153.status_code and statusCode in your code. The two fields can differ, as they do in the sample (0 and 10204).$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/post-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"postId": "6701927684605233153"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
postIdstringจำเป็นThe unique ID of the TikTok post.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
TikTok Post DetailsAPI นี้ 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
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/tiktok/post-detail โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.014286 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: postId (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น TikTok Post Details ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก