Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

TikTok Post Details

Documentación de la 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.

Precio
$0.014286USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 0 opcionales

Entorno de pruebas

Entrada
The unique ID of the TikTok post.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la 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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
TikTok$0.014286 por llamadaJSON
TikTokDesde $0.0012 por llamadaJSON
TikTokDesde $0.0008 por llamadaJSON
TikTokDesde $0.0008 por llamadaJSON
TikTok$0.001 por llamadaJSON
TikTok$0.001 por llamadaJSON

Guías:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de TikTok Post Details?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/tiktok/post-detail con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de TikTok Post Details?

$0.014286 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de TikTok Post Details?

Requeridos: postId (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de TikTok Post Details?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de TikTok?

No. TikTok Post Details funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de TikTok por separado.