kolIdstringobligatoire
User kolId, can be obtained from the following interfaces: `douyin/xingtu/xingtu-kolid-by-uid`; `douyin/xingtu/xingtu-kolid-by-sec-user-id`; `douyin/xingtu/xingtu-kolid-by-unique-id`
https://api.sandbase.ai/v1/api/douyin/xingtu/kol-touch-distribution-v1Returns touch distribution data for a Douyin Xingtu creator using their unique KOL identifier. Helps evaluate audience contact points and reach patterns.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
Returns touch distribution data for a Douyin Xingtu creator. You send the creator's kolId and get back a list of touch categories with a count for each one.
cnt values of touch categories across several creators.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/kol-touch-distribution-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kolId": "7048929565493690398"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
kolId | string | Yes | User kolId, can be obtained from the following interfaces: douyin/xingtu/xingtu-kolid-by-uid; douyin/xingtu/xingtu-kolid-by-sec-user-id; douyin/xingtu/xingtu-kolid-by-unique-id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"video_touch": [
{
"distribution_data": {
"cnt": 2,
"id": "0",
"name": "个人"
},
"second_distribution": []
}
]
}
| Field | Meaning |
|---|---|
base_resp.status_code / base_resp.status_message | Status of the call. status_code is 0 in the sample response and status_message is empty. |
video_touch[] | List of touch groups for the creator's videos. Each item holds one category and its sub-breakdown. |
video_touch[].distribution_data.name | Name of the touch category. The sample value is 个人. |
video_touch[].distribution_data.id | ID of the touch category, returned as a string. The sample value is 0. |
video_touch[].distribution_data.cnt | Count for the touch category. The sample value is 2. |
video_touch[].second_distribution[] | Second-level breakdown of the category. It is an empty list in the sample response. |
kolId from Douyin XingTu KOL ID by User ID, Douyin XingTu kolId Lookup or Douyin XingTu KOL ID by Unique ID.kolId is a numeric string such as 7048929565493690398.second_distribution can be an empty list, so check its length before you read items from it.$0.02 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/kol-touch-distribution-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"kolId": "7048929565493690398"
}'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.
kolIdstringobligatoireUser kolId, can be obtained from the following interfaces: `douyin/xingtu/xingtu-kolid-by-uid`; `douyin/xingtu/xingtu-kolid-by-sec-user-id`; `douyin/xingtu/xingtu-kolid-by-unique-id`
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 Xingtu KOL Touch DistributionCette API Douyin | $0.02 par appel | JSON |
Douyin | $0.02 par appel | JSON |
Douyin | $0.02 par appel | JSON |
Douyin | $0.02 par appel | JSON |
Douyin | $0.02 par appel | JSON |
Douyin | $0.02 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/douyin/xingtu/kol-touch-distribution-v1 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.02 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : kolId (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 KOL Touch Distribution 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.