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.
您的输出将显示在这里
完成输入,然后点击运行。
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.
开始构建
具备统一身份验证和使用情况跟踪的平台 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 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
postIdstring必填The unique ID of the TikTok post.
这是该 API 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
| API | 价格 | 响应 |
|---|---|---|
TikTok Post Details此 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
问题
向 https://api.sandbase.ai/v1/api/tiktok/post-detail 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.014286,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:postId (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。TikTok Post Details 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 TikTok API 访问权限。