author_idstringobligatoire
Creator/author ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-content-hot-keywordsReturns trending content keywords for a Douyin creator. Filter results by creator ID and specify an optional keyword type.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"keyword_item_distribution": {
"平板": 1,
"平板电脑": 1,
"店铺": 1,
"电脑": 1,
"笔记本": 1
},
"keyword_map": {
"一口价": 1,
"保护壳": 2,
"卡针": 2,
"国货": 2,
"小型": 1,
"平板": 2,
"平板电脑": 2,
"店铺": 2,
"快充线": 2,
"数码科技": 2,
"新款": 1,
"民族品牌": 1,
"电脑": 2,
"电脑桌面": 1,
"直播间": 2,
"砍一刀": 1,
"笔记本": 2,
"联想": 2,
"连接": 1,
"降维打击": 1
}
}
}
]Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.
Returns a set of content keywords for one Douyin creator on Xingtu, each paired with a number. It needs the creator's author_id and accepts an optional keyword_type.
直播间 or 砍一刀 to see how a creator frames promotions.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-content-hot-keywords" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"author_id": "7146074596666507300"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
author_id | string | Yes | Creator/author ID |
keyword_type | integer | No | Keyword type, default 0 |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"keyword_item_distribution": {
"平板": 1,
"平板电脑": 1,
"店铺": 1,
"电脑": 1,
"笔记本": 1
},
"keyword_map": {
"一口价": 1,
"保护壳": 2,
"卡针": 2,
"国货": 2,
"小型": 1,
"平板": 2,
"平板电脑": 2,
"店铺": 2,
"快充线": 2,
"数码科技": 2,
"新款": 1,
"民族品牌": 1
}
}
| Field | Meaning |
|---|---|
keyword_map | Object that maps each keyword to an integer, for example 平板电脑 or 快充线. The key is the keyword text in Chinese. This is the main and longest keyword list. |
keyword_item_distribution | Object with the same shape as keyword_map, with fewer keywords, for example 笔记本 or 店铺. Each key is a keyword and each value is an integer. |
base_resp.status_code | Status of the call. 0 means the call succeeded. |
base_resp.status_message | Text message that goes with the status. It is an empty string in this response. |
keyword_type is optional and defaults to 0. The example request omitted it.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
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-v2/author-content-hot-keywords" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"author_id": "7146074596666507300"
}'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.
author_idstringobligatoireCreator/author ID
keyword_typeintegerKeyword type, default 0
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"keyword_item_distribution": {
"平板": 1,
"平板电脑": 1,
"店铺": 1,
"电脑": 1,
"笔记本": 1
},
"keyword_map": {
"一口价": 1,
"保护壳": 2,
"卡针": 2,
"国货": 2,
"小型": 1,
"平板": 2,
"平板电脑": 2,
"店铺": 2,
"快充线": 2,
"数码科技": 2,
"新款": 1,
"民族品牌": 1,
"电脑": 2,
"电脑桌面": 1,
"直播间": 2,
"砍一刀": 1,
"笔记本": 2,
"联想": 2,
"连接": 1,
"降维打击": 1
}
}
}
]Explorer plus
| API | Prix | Réponse |
|---|---|---|
Douyin | $0.001 par appel | JSON |
Douyin | $0.002 par appel | JSON |
Douyin | $0.002 par appel | JSON |
Douyin | $0.01 par appel | JSON |
Douyin | $0.003 par appel | JSON |
Douyin | $0.002 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-content-hot-keywords 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.001 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : author_id (string). Facultatif : keyword_type (integer). 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 Author Content Hot Keywords 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.