itemIdstringobbligatorio
Video id
https://api.sandbase.ai/v1/api/tiktok/web/post-ai-articleGet AI-generated article of a single video on TikTok. Returns the platform data as structured JSON.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Returns an AI-generated article for a single TikTok video, with a title, a short description and SEO keywords. It needs the video id as itemId.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/post-ai-article" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"itemId": "7651935877744168194"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
itemId | string | Yes | Video id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"extra": {
"fatal_item_ids": [],
"logid": "202611030744269003827AA4F970017CAA",
"now": 1793691867000
},
"itemCustomTDK": {
"article": "The world of sunscreens can be overwhelming, with countless options available, e…",
"desc": "Discover my genuine thoughts on the new Supergoop Unseen Sunscreen SPF50 and why…",
"keywords": [
"Supergoop unseen sunscreen review"
],
"title": "Supergoop Unseen Sunscreen SPF50 Review: A Surprising Find"
},
"log_pb": {
"impr_id": "202611030744269003827AA4F970017CAA"
},
"statusCode": 0,
"status_code": 0,
"status_msg": ""
}
| Field | Meaning |
|---|---|
itemCustomTDK.title | AI-generated title for the video. |
itemCustomTDK.article | Body text of the AI-generated article about the video. Long articles are returned as one string. |
itemCustomTDK.desc | Short description of the video. It can include the hashtags from the video caption. |
itemCustomTDK.keywords[] | List of suggested keywords for the video. Some entries start with a space, so trim them before use. |
status_code / statusCode | Result code of the request. 0 in this response. |
status_msg | Status message. It is an empty string in this response. |
extra.fatal_item_ids[] | List of video ids that failed to load. It is empty in this response. |
extra.now | Time of the response as a number, such as 1793691867000. |
log_pb.impr_id / extra.logid | Request tracking ids. Both hold the same value in this response. |
itemId. It is a numeric string such as 7651935877744168194.$0.001 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/web/post-ai-article" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"itemId": "7651935877744168194"
}'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.
itemIdstringobbligatorioVideo id
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 | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.05 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/web/post-ai-article 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.001 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: itemId (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 AI-generated article of a single video 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.