Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

TikTok Post Details

Tài liệu API
https://api.sandbase.ai/v1/api/tiktok/post-detail

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

Giá
$0.014286USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 0 tùy chọn

Phòng thử nghiệm

Đầu vào
The unique ID of the TikTok post.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

TikTok Post Details API

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.

Use cases

  • Check whether a known TikTok post ID returns data before you add it to a content review queue.
  • Record the request IDs for a post lookup so you can trace the call later in a report.
  • Test a list of saved post IDs and flag the ones whose extra.fatal_item_ids list is not empty.

Request

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.

Parameters

NameTypeRequiredDescription
postIdstringYesThe unique ID of the TikTok post.

Example response

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": ""
}

Response fields

FieldMeaning
status_codeStatus code of the lookup. It is 0 in the sample response.
status_msgStatus message text. It is an empty string in the sample response.
statusCodeA second status code in camelCase. The sample shows 10204. The response does not explain this value.
extra.fatal_item_idsList of item IDs the platform flagged with a fatal error. It is empty in the sample.
extra.logidIdentifier for this request on the platform side. It has the same value as log_pb.impr_id in the sample.
extra.nowA 13-digit number that fits a Unix timestamp in milliseconds. It most likely marks the time of the response.
log_pb.impr_idImpression ID for this request. Use it together with extra.logid when you log or compare calls.

Notes

  • postId is a numeric string, for example 6701927684605233153.
  • The sample response has no video fields such as description, author or counts. If you need full video data, try TikTok Video Details or TikTok Video Details (V3).
  • Check both status_code and statusCode in your code. The two fields can differ, as they do in the sample (0 and 10204).

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
TikTok$0.014286 mỗi lần gọiJSON
TikTokTừ $0.0012 mỗi lần gọiJSON
TikTokTừ $0.0008 mỗi lần gọiJSON
TikTokTừ $0.0008 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON

Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API TikTok Post Details?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/post-detail với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API TikTok Post Details có giá bao nhiêu?

$0.014286 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API TikTok Post Details chấp nhận những tham số nào?

Bắt buộc: postId (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API TikTok Post Details trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của TikTok không?

Không. TikTok Post Details chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của TikTok.