postIdstringobbligatorio
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.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
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.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
postIdstringobbligatorioThe unique ID of the TikTok post.
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
TikTok Post DetailsQuesta API TikTok | $0.014286 per chiamata | JSON |
TikTok | Da $0.0012 per chiamata | JSON |
TikTok | Da $0.0008 per chiamata | JSON |
TikTok | Da $0.0008 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
Guide:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Domande
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.
$0.014286 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: postId (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
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.