oAuthorIdstringobligatoire
Author's unique ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-fans-distributionGet Douyin Creator Marketplace (Xingtu) follower or loyal-follower distribution data for a specified creator. Use it to compare audience-profile distributions during creator selection.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
This API returns follower distribution data for one creator on Douyin Creator Marketplace (Xingtu). It needs the creator's oAuthorId, and an optional authorType switches between all followers and loyal followers.
DIE_HARD_FAN) against all followers to see how the core audience differs.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-fans-distribution" \
-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 ID. |
authorType | string | No | Author 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": ""
},
"distributions": [
{
"description": "分布最多的3个省份广东(11%),江苏(7%),山东(6%)",
"distribution_list": [
{
"distribution_key": "广西",
"distribution_value": "4619384"
}
],
"image": [
"广东,江苏,山东居多"
],
"origin_type": 2,
"type": 4,
"type_display": "省份分布"
}
],
"last_update_time": "1793691175"
}
| Field | Meaning |
|---|---|
distributions[] | One block per audience dimension. This response includes province, city and device brand blocks. |
distributions[].type_display | Name of the dimension, for example 省份分布 (province), 城市分布 (city) or 设备品牌分布 (device brand). |
distributions[].description | Short summary text written by the platform. It names the top entries and their percentages, for example the top 3 provinces. |
distributions[].distribution_list[].distribution_key | Label of one bucket in the dimension, such as a province, city or phone brand. |
distributions[].distribution_list[].distribution_value | Value for that bucket, returned as a string. It looks like a count, not a percentage, so compare it with the other buckets in the same block. |
distributions[].image[] | Very short tag text that sums up the block, for example 北京居多. |
distributions[].type / origin_type | Numeric codes for the dimension. Use them to match the same dimension across calls. |
last_update_time | Unix timestamp in seconds, returned as a string. |
base_resp.status_code / base_resp.status_message | Call status from the platform. 0 with an empty message means success. |
authorType as FAN (default) or DIE_HARD_FAN to switch between followers and loyal followers.description, image and type_display is in Chinese.$0.021429 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/data-sp-author-fans-distribution" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"oAuthorId": "6870161898013196295",
"authorType": "FAN"
}'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 ID.
authorTypestringAuthor type filter.
Par défaut : "FAN"
Valeurs possibles : FAN, DIE_HARD_FAN
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 Follower DistributionCette API 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.071429 par appel | JSON |
Douyin | $0.021429 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-fans-distribution 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.021429 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : oAuthorId (string). Facultatif : authorType (l’un de FAN, DIE_HARD_FAN). 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 Follower 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.