o_author_idstringobbligatorio
Creator ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-videosGet Author Spread Videos on Douyin. Returns the platform data as structured JSON.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Returns a list of a Douyin creator's spread videos, with title, duration, publish time and engagement stats for each video. It needs the creator ID in o_author_id. platform_source and platform_channel both default to 1 (Douyin, short video).
interact_rate to find the content that drew the most engagement.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"o_author_id": "7112600044674482187", "platform_source": 1, "platform_channel": 1}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
o_author_id | string | Yes | Creator ID |
platform_channel | integer | No | Platform channel, 1 for short video |
platform_source | integer | No | Platform source, 1 for Douyin |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"spread_videos": [
{
"author_id": "78050876812",
"cover_uri": "tos-cn-i-0813c001/oYABexOFAf75I3BBLPADUIQGUAnG1ApEsve2jt",
"create_time": "1735039831",
"duration": 272.044,
"id": "7451907165419359488",
"stats": {
"avg_watch_dura": "0",
"comment_cnt": "22784",
"favorite_cnt": "55867",
"interact_rate": 0.0319,
"like_cnt": "567682",
"share_cnt": "378214",
"watch_cnt": "30308258"
},
"title": "头皮发麻#美妆 #好物分享 #化妆日常",
"url": "https://www.iesdouyin.com/share/video/7451907165419359488/?region=CN&mid=7451907…",
"video_id": "v0300fg10000ctl7nkfog65pgevhdio0"
}
]
}
| Field | Meaning |
|---|---|
spread_videos[].id | ID of the video. |
spread_videos[].video_id | Second video identifier, a string that starts with v0300. |
spread_videos[].title | Video caption, including its hashtags. |
spread_videos[].create_time | Publish time as a Unix timestamp in seconds, returned as a string. |
spread_videos[].duration | Length of the video. The values (for example 272.044) look like seconds. |
spread_videos[].stats.watch_cnt | Number of views the video has. |
spread_videos[].stats.like_cnt / spread_videos[].stats.comment_cnt / spread_videos[].stats.share_cnt / spread_videos[].stats.favorite_cnt | Counts of likes, comments, shares and favorites. They come back as strings. |
spread_videos[].stats.interact_rate | Interaction rate of the video as a decimal number, for example 0.0319. |
spread_videos[].url | Share link to the video on Douyin. |
spread_videos[].author_id | ID of the author the video belongs to. |
o_author_id is the creator ID used by Xingtu. If you only have a Douyin ID, look it up with Douyin XingTu kolId by Douyin ID.author_id inside each video (for example 78050876812) differs from the o_author_id you send in the request.avg_watch_dura was "0" for every video in this response, so do not rely on it.$0.002 per successful call. Failed calls are not charged.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"o_author_id": "7112600044674482187",
"platform_source": 1,
"platform_channel": 1
}'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.
o_author_idstringobbligatorioCreator ID
platform_sourceintegerPlatform source, 1 for Douyin
Predefinito: 1
platform_channelintegerPlatform channel, 1 for short video
Predefinito: 1
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 |
|---|---|---|
Douyin Author Spread VideosQuesta API Douyin | $0.002 per chiamata | JSON |
Douyin | $0.002 per chiamata | JSON |
Douyin | $0.002 per chiamata | JSON |
Douyin | $0.01 per chiamata | JSON |
Douyin | $0.003 per chiamata | JSON |
Douyin | $0.001 per chiamata | JSON |
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-videos 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.002 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: o_author_id (string). Facoltativi: platform_source (integer) e platform_channel (integer). 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. Douyin Author Spread Videos 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 Douyin.