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; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| 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
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/tiktok/post-detail, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.014286 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: postId (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. TikTok Post Details работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API TikTok.