oAuthorIdstringobbligatorio
Xingtu author ID
https://api.sandbase.ai/v1/api/douyin/xingtu/author-homepage-videos-v1Get Author Homepage Videos V1 on Douyin. Returns the platform data as structured JSON.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Returns a page of videos from a Douyin author's Xingtu homepage, with title, engagement counts, and rates for each video. It needs the Xingtu author ID in oAuthorId.
finish_rate and interact_rate across an author's videos to find the content that holds attention best.pagination.videoType to check how each type performs.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/author-homepage-videos-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"oAuthorId": "7386881810501730341", "page": 1, "videoType": "ALL", "onlyAssign": false}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
oAuthorId | string | Yes | Xingtu author ID |
onlyAssign | boolean | No | Only return assigned videos |
page | integer | No | Page number, starts from 1, 20 items per page |
videoType | string | No | PERSONAL/XINGTU / Traffic type: ALL/PERSONAL/XINGTU |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"items": [
{
"comment_cnt": "2376",
"content_theme_labels": [],
"cover_uri": "tos-cn-i-0813c000-ce/oUKnEYF9AgQvhS5dJADAIyue7CVg7FDBAeECfU",
"create_time": "1792928944",
"duration": 761.334,
"finish_rate": 0.116147,
"interact_rate": 0.063783,
"item_id": "7700571178000135673",
"like_cnt": "234612",
"title": "在大量的聊天中发现了少量的化妆技巧 #vlog #宝妈 #发疯文学 #精神状态 #化妆",
"url": "https://www.iesdouyin.com/share/video/7700571178000135673/?region=CN&mid=7700571…",
"video_id": "v2800fgi0000dbeumffog65m66333310"
}
],
"pagination": {
"has_more": true,
"limit": 20,
"page": 1,
"total_count": 55
}
}
| Field | Meaning |
|---|---|
items[].item_id / items[].video_id | Identifiers for the video. item_id is a numeric string that also appears in the share url. video_id is a separate string ID. |
items[].title | Video caption, including its hashtags. |
items[].create_time | Creation time of the video as a Unix timestamp in seconds, returned as a string. |
items[].duration | Length of the video. The values look like seconds (for example 761.334). |
items[].watch_cnt / items[].like_cnt / items[].comment_cnt | View, like and comment counts for the video. They are returned as strings. |
items[].finish_rate / items[].interact_rate | Completion rate and interaction rate for the video, as decimals (for example 0.116147). |
items[].url | Share link to the video on Douyin. |
items[].cover_uri | Path of the video cover image. content_theme_labels lists theme labels and can be empty. |
pagination.page / pagination.limit | Current page number and the number of items per page. |
pagination.has_more / pagination.total_count | has_more shows whether another page exists. total_count is the total number of videos for this query. |
page while pagination.has_more is true.videoType accepts ALL, PERSONAL or XINGTU. Set onlyAssign to true to return only assigned videos.$0.02 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/author-homepage-videos-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"oAuthorId": "7386881810501730341",
"videoType": "ALL",
"onlyAssign": false
}'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.
oAuthorIdstringobbligatorioXingtu author ID
pageintegerPage number, starts from 1, 20 items per page
Predefinito: 1
videoTypestringPERSONAL/XINGTU / Traffic type: ALL/PERSONAL/XINGTU
Predefinito: "ALL"
onlyAssignbooleanOnly return assigned videos
Predefinito: false
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 Homepage Videos V1Questa API Douyin | $0.02 per chiamata | JSON |
Douyin | $0.02 per chiamata | JSON |
Douyin | $0.02 per chiamata | JSON |
Douyin | $0.02 per chiamata | JSON |
Douyin | $0.02 per chiamata | JSON |
Douyin | $0.02 per chiamata | JSON |
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/douyin/xingtu/author-homepage-videos-v1 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.02 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: oAuthorId (string). Facoltativi: page (integer), videoType (string) e onlyAssign (boolean). 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 Homepage Videos V1 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.