Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

TikTok Post Details

Документация 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.

Цена
$0.014286USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 0 необязательных

Песочница

Ввод
The unique ID of the TikTok post.
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

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.

Посмотреть больше

Связанные 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

Вопросы

FAQ

Как использовать API TikTok Post Details?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/tiktok/post-detail, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API TikTok Post Details?

$0.014286 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API TikTok Post Details?

Обязательные: postId (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API TikTok Post Details?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика TikTok или API key?

Нет. TikTok Post Details работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API TikTok.