Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

TikTok Post Details

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

Prezzo
$0.014286USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 0 opzionali

Playground

Input
The unique ID of the TikTok post.
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

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.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
TikTok$0.014286 per chiamataJSON
TikTokDa $0.0012 per chiamataJSON
TikTokDa $0.0008 per chiamataJSON
TikTokDa $0.0008 per chiamataJSON
TikTok$0.001 per chiamataJSON
TikTok$0.001 per chiamataJSON

Guide:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API TikTok Post Details?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/tiktok/post-detail con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API TikTok Post Details?

$0.014286 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API TikTok Post Details?

Richiesti: postId (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API TikTok Post Details?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API TikTok?

No. TikTok Post Details funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API TikTok.