oAuthorIdstringobligatoire
Author's unique Xingtu ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-homepage-videosList a Douyin Creator Marketplace (Xingtu) creator's homepage videos with keyword, video-type, assignment, date, and page filters. Use it to review relevant content before campaign selection.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
This API returns a page of videos from a Douyin creator's homepage as listed in Xingtu. It needs the creator's Xingtu ID in oAuthorId. You can narrow the list by keyword, video type, assignment status and publish date.
keyword to check whether they have covered a brand or product topic.XINGTU videos to see the creator's past platform-assigned work.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-homepage-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"oAuthorId": "6870161898013196295"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
oAuthorId | string | Yes | Author's unique Xingtu ID. |
endDate | string | No | End publish date in yyyyMMdd format. The filter ends at 23:59:59 in Asia/Shanghai. |
keyword | string | No | Keyword used to search creator homepage videos. |
onlyAssign | boolean | No | Whether to include only assigned videos. Xingtu usually shows this option when videoType is XINGTU. |
page | integer | No | Page number, starting from 1. |
startDate | string | No | Start publish date in yyyyMMdd format. The filter starts at 00:00:00 in Asia/Shanghai. |
videoType | string | No | Homepage video type filter. |
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": "91",
"content_theme_labels": [],
"cover_uri": "tos-cn-i-dy/643299bf28474b9e9adc28a863baeba6",
"create_time": "1793113313",
"duration": 12.538,
"finish_rate": 0.135421,
"interact_rate": 0.024438,
"item_id": "7701362991266123034",
"like_cnt": "665436",
"title": "网友拍到高速两旁,挂满一块块不一样的“广告牌”……致敬国之栋梁!(来源:@有名 )",
"url": "https://www.iesdouyin.com/share/video/7701362991266123034/?region=CN&mid=7667641…",
"video_id": "v0d00fg10000dbgbp67og65rp7vvjd00"
}
],
"pagination": {
"has_more": true,
"limit": 20,
"page": 1,
"total_count": 2518
}
}
| Field | Meaning |
|---|---|
items[].item_id / items[].video_id | Identifiers for the video. item_id is the numeric ID that also appears in the share url. |
items[].title | Video caption text, including any hashtags and @mentions. |
items[].create_time | Publish time as a Unix timestamp in seconds, returned as a string. |
items[].duration | Video length. The values look like seconds with decimals. |
items[].watch_cnt / items[].like_cnt / items[].comment_cnt | View, like and comment counts for the video. They come back as strings. |
items[].finish_rate / items[].interact_rate | Completion rate and interaction rate for the video, as decimal fractions. |
items[].url | Share link for the video on Douyin. |
items[].cover_uri | Cover image path for the video. |
items[].content_theme_labels | Content theme labels for the video. The list is empty in this sample. |
pagination.has_more / pagination.total_count | has_more tells you whether another page exists. total_count is the total number of matching videos. |
oAuthorId from Douyin Xingtu Creator Search.page to move through results, starting at 1. Each page returned limit 20 items in this sample.startDate and endDate as yyyyMMdd strings. Check base_resp.status_code, where 0 means success.$0.071429 per successful call. Failed calls are not charged.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-homepage-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"oAuthorId": "6870161898013196295",
"videoType": "ALL",
"onlyAssign": false
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
oAuthorIdstringobligatoireAuthor's unique Xingtu ID.
pageintegerPage number, starting from 1.
Par défaut : 1
keywordstringKeyword used to search creator homepage videos.
videoTypestringHomepage video type filter.
Par défaut : "ALL"
Valeurs possibles : ALL, PERSONAL, XINGTU
onlyAssignbooleanWhether to include only assigned videos. Xingtu usually shows this option when `videoType` is `XINGTU`.
Par défaut : false
startDatestringStart publish date in yyyyMMdd format. The filter starts at 00:00:00 in Asia/Shanghai.
endDatestringEnd publish date in yyyyMMdd format. The filter ends at 23:59:59 in Asia/Shanghai.
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Douyin | $0.071429 par appel | JSON |
Douyin | $0.021429 par appel | JSON |
Douyin | $0.021429 par appel | JSON |
Douyin | $0.021429 par appel | JSON |
Douyin | $0.021429 par appel | JSON |
Douyin | $0.021429 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-homepage-videos avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.071429 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : oAuthorId (string). Facultatif : page (integer), keyword (string), videoType (l’un de ALL, PERSONAL, XINGTU), onlyAssign (boolean), startDate (string) et endDate (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Douyin Xingtu Creator Homepage Videos fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Douyin séparément.