Douyin Billboard Vertical Content Tags
https://api.sandbase.ai/v1/api/douyin/billboard/content-tagReturns a list of vertical content tags available on the Douyin billboard platform. Useful for categorizing trending topics and discovering niche content segments.
- Prix
- $0.001USD / appel
- Méthode
- POST
- Réponse
- JSON
- Paramètres
- 0 obligatoires · 0 facultatifs
Bac à sable
[
{
"data": {
"code": 0,
"data": [
{
"children": [
{
"label": "品酒教学",
"value": 62808
},
{
"label": "美食教程",
"value": 62804
},
{
"label": "美食知识",
"value": 62806
},
"… 7 more items in the full response"
],
"count": 0,
"label": "美食",
"value": 628
},
{
"children": [
{
"label": "旅行风景",
"value": 62905
},
{
"label": "旅行记录与分享",
"value": 62913
},
{
"label": "旅行推荐与攻略",
"value": 62912
},
"… 10 more items in the full response"
],
"count": 0,
"label": "旅行",
"value": 629
},
{
"children": [
{
"label": "逛街",
"value": 63407
},
{
"label": "现场演出",
"value": 63412
},
{
"label": "传统休闲",
"value": 63410
},
"… 10 more items in the full response"
],
"count": 0,
"label": "休闲娱乐",
"value": 634
},
"… 35 more items in the full response"
],
"extra": {
"now": 1791342625000
},
"message": ""
}
}
]Exemples
Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.
README de l'API
Douyin Billboard Vertical Content Tags API
Returns the list of vertical content tags used on the Douyin billboard. Each top-level category has child tags. The API needs no input parameters.
Use cases
- Build a category picker for a Douyin trend dashboard from the top-level tags and their children.
- Map Douyin vertical tags to your own content taxonomy by matching
labelandvalue. - Find niche segments under a category such as food or travel before you pull billboard rankings.
- Store tag
valueIDs so you can reuse them as filters in other billboard calls.
Request
curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/content-tag" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": [
{
"children": [
{
"label": "品酒教学",
"value": 62808
}
],
"count": 0,
"label": "美食",
"value": 628
}
],
"extra": {
"now": 1793691103000
},
"message": ""
}
Response fields
| Field | Meaning |
|---|---|
data[] | One top-level vertical category. |
data[].label | Category name in Chinese, for example 美食 (food) or 旅行 (travel). |
data[].value | Numeric ID of the top-level category, for example 628. |
data[].children[] | Sub-tags that belong to the category. |
data[].children[].label | Sub-tag name in Chinese, for example 美食教程. |
data[].children[].value | Numeric ID of the sub-tag, for example 62804. It starts with the parent value in the sample. |
data[].count | Count value on the category. It is 0 in the sample response. |
extra.now | Timestamp of the response, as a 13-digit number that looks like milliseconds since the Unix epoch. |
code / message | code is 0 on success. message is an empty string in the sample. |
Notes
- Send an empty JSON body
{}. The API has no request parameters. - Child
valueIDs in the sample begin with the parentvalue. For example,62804sits under628. - The
labelfields are in Chinese. Keep thevalueIDs as your stable keys. - For ranked content, call Douyin Billboard Hot Category List or Douyin Total Hot Billboard next.
Pricing
$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Commencer à construire
Envoyez votre première requête
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/billboard/content-tag" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. Authentification
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.
3. Paramètres
Aucun schéma de paramètres n'a été publié pour cette API.
4. Réponse
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
[
{
"data": {
"code": 0,
"data": [
{
"children": [
{
"label": "品酒教学",
"value": 62808
},
{
"label": "美食教程",
"value": 62804
},
{
"label": "美食知识",
"value": 62806
},
"… 7 more items in the full response"
],
"count": 0,
"label": "美食",
"value": 628
},
{
"children": [
{
"label": "旅行风景",
"value": 62905
},
{
"label": "旅行记录与分享",
"value": 62913
},
{
"label": "旅行推荐与攻略",
"value": 62912
},
"… 10 more items in the full response"
],
"count": 0,
"label": "旅行",
"value": 629
},
{
"children": [
{
"label": "逛街",
"value": 63407
},
{
"label": "现场演出",
"value": 63412
},
{
"label": "传统休闲",
"value": 63410
},
"… 10 more items in the full response"
],
"count": 0,
"label": "休闲娱乐",
"value": 634
},
"… 35 more items in the full response"
],
"extra": {
"now": 1791342625000
},
"message": ""
}
}
]Explorer plus
APIs associées
| API | Prix | Réponse |
|---|---|---|
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Questions
FAQ
Comment utiliser l’API Douyin Billboard Vertical Content Tags ?
Envoyez une requête POST à https://api.sandbase.ai/v1/api/douyin/billboard/content-tag 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.
Combien coûte l’API Douyin Billboard Vertical Content Tags ?
$0.001 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Quels paramètres l’API Douyin Billboard Vertical Content Tags accepte-t-elle ?
Douyin Billboard Vertical Content Tags n’accepte aucun paramètre d’entrée ; envoyez un corps JSON vide.
Que renvoie l’API Douyin Billboard Vertical Content Tags ?
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.
Ai-je besoin d’un compte développeur ou d’une clé API Douyin ?
Non. Douyin Billboard Vertical Content Tags 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.
