Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

TikTok Post Details

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

Cena
$0.014286USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 0 opcjonalnych

Playground

Wejście
The unique ID of the TikTok post.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
TikTok$0.014286 za wywołanieJSON
TikTokOd $0.0012 za wywołanieJSON
TikTokOd $0.0008 za wywołanieJSON
TikTokOd $0.0008 za wywołanieJSON
TikTok$0.001 za wywołanieJSON
TikTok$0.001 za wywołanieJSON

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

Pytania

FAQ

Jak używać API TikTok Post Details?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/tiktok/post-detail z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API TikTok Post Details?

$0.014286 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API TikTok Post Details?

Wymagane: postId (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API TikTok Post Details?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego TikTok lub klucza API?

Nie. TikTok Post Details działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API TikTok.