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-base-info-v1Get the XingTu (Douyin creator marketplace) profile of a KOL: followers, location, category tags, online status and available collaboration types.
[
{
"data": {
"abandon_sign_result": 0,
"appeal_id": "0",
"author_avatar_frame_icon": 20,
"author_type": 1,
"avatar_uri": "https://p26.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_8c900db621ce282dd6a0037531ea104a.jpeg?from=3782654143",
"avg_play": 0,
"aweme_tags": [],
"base64_qrcode": "iVBORw0KGgoAAAANSUhEUgAAAWgAAAFoAQAAAABSnlx4AAACZElEQVR4nO2bzW7DMAyDySHv/8rcQT+2010KOK09qxjaNPkOhCowtOJReOP18w5cdNFFF130g/QFALRjUQAIUYQAgCIUVx9WcgZ9AYAXN94oq71Xvru6ju7NadKrLQgCQRDKlic/puQsmrB2NmPxv68oOYF+yeLi+H1R3RvR5t9e6ehuwkpt1tL9Duvo3pW2ekcbi6AoiGIc95ayju5d6Qto/SuAEUlkOQWDy6yje1fa87fguS/yH6F0bypMZR3du9Lew/n5x3oHRHxfR/fWNAkRtPQndxJapwtU/hqL6d6VlsDIInR3cY+xE24pq+nekL7iIHxbNEcBrLHNumt9OYmOeZXPS7LSFsHtnDX400rOoNlWOm01KUveflKs9c40OmvJuDO2cOKxpMXBhXRvThOyfKJIKOkxBBVZfDnd29H0nB03R435u5unPK3kDDrul1ZxjSnFLJ01r5pNi6DV+Ja/mVc/pOS/05FPbCKoLgl2q3nU/GQWHYW1NTtv+RuwoaGfXkj3rnQuJPuTff7OWdXTSo6iCUGS4pmOv/sZ…",
"base_resp": {
"status_code": 0,
"status_message": "Success"
},
"category_id": "1",
"city": "长沙市",
"content_theme_labels": [
"宠物猫日常",
"猫咪萌态",
"可爱猫咪",
"… 7 more items in the full response"
],
"core_user_id": "93153724393",
"create_time": "1638802586",
"creator_type": 0,
"e_commerce_enable": false,
"follower": 886798,
"gender": 2,
"grade": 0,
"has_phone": true,
"id": "7038603512770461703",
"industry_list": [],
"is_cpm_project_author": false,
"is_game_author": false,
"is_online": true,
"is_plan_author": false,
"is_star": true,
"is_visible": false,
"lowest_price": 0,
"mcn_introduction": "",
"mcn_logo": "",
"mcn_name": "",
"modify_time": "1791220894",
"nick_name": "是甜口的鸭蛋",
"online_status": 1,
"opened_task_category": "[103, 1, 6, 52, 120, 133, 157]",
"platform": [
1,
5
],
"platform_channel": [
1,
10
],
"platform_source": 1,
"protocol_id": "20210530",
"province": "湖南省",
"qrcode_url": "",
"sec_uid": "MS4wLjABAAAAXakJHNxB0cmKZ6c6FthE2_vA7he6kHmgSBp9YjggHR8",
"short_id": "3933239620",
"star_tags": [],
"status": 1,
"tags": "[\"\\u840c\\u5ba0\"]",
"tags_author_style": "[]",
"tags_ids": "[11]",
"tags_ids_level_two": "[12]",
"tags_level_two": "[\"\\u65e5\\u5e38\\u5ba0\\u7269\"]",
"tags_relation": {
"萌宠": [
"日常宠物"
]
},
"task_status": 2,
"unique_id": "malin337"
}
}
]Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.
This API returns the XingTu (Douyin creator marketplace) profile of one KOL. It needs a XingTu kolId and a platformChannel value (_1 for Douyin video, _10 for Douyin live).
core_user_id and id to join XingTu profiles with other creator records.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/kol-base-info-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kolId": "7038603512770461703", "platformChannel": "_1"}'
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 |
platformChannel | string | Yes | Platform channel, supports the following parameters: _1: Douyin Video; _10: Douyin Live |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"abandon_sign_result": 0,
"appeal_id": "0",
"author_avatar_frame_icon": 20,
"author_type": 1,
"avatar_uri": "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_8c900db621…",
"avg_play": 0,
"aweme_tags": [],
"base64_qrcode": "iVBORw0KGgoAAAANSUhEUgAAAWgAAAFoAQAAAABSnlx4AAACZElEQVR4nO2bzW7DMAyDySHv/8rcQT+2…",
"base_resp": {
"status_code": 0,
"status_message": "Success"
},
"category_id": "1",
"city": "长沙市",
"content_theme_labels": [
"宠物猫日常"
]
}
| Field | Meaning |
|---|---|
id | The XingTu kolId of the creator. It matches the kolId you sent. |
nick_name | Display name of the creator. |
follower | Follower count of the creator. |
city | City of the creator, as a Chinese place name. |
content_theme_labels[] | Content theme tags for the creator, such as pet cat topics. |
is_online / online_status | Returned online-state flags in this snapshot; not a guarantee of current availability. is_online is boolean and online_status numeric. |
is_star / e_commerce_enable / is_game_author | Flags for creator type: XingTu star author, e-commerce enabled, and game author. |
opened_task_category | List of task category IDs open for collaboration. It is returned as a string that holds a list. |
platform_channel[] | Returned channel codes. Numeric 1/10 differ from request strings _1/_10 and do not certify present availability or a newly tested live channel. |
create_time / modify_time | Unix timestamps in seconds as strings. |
kolId from Douyin XingTu kolId Lookup, Douyin XingTu KOL ID by User ID or Douyin XingTu KOL ID by Unique ID.platformChannel accepts _1 for Douyin video and _10 for Douyin live.$0.02 per successful call. Failed calls are not charged.
Send exact-string kolId and platformChannel. Current documentation lists _1 for Douyin Video and _10 for Douyin Live; the saved example uses _1. A Douyin UID, sec_user_id, handle or nickname is not a kolId substitute. A separately chosen resolver would require its own validated contract and budget. This task does not run it or certify a new _10 response.
After business validation, check flat id matches the selected kolId before attaching follower, nick_name and theme fields. The October 7 saved profile is an independent pet-content creator, with integer follower 886798. It is not a selected result from the saved keyword example search. The shortened README omits later identity fields due to trimming; that is not proof those fields are absent from the full capture.
Keep is_online, online_status and has_phone as returned flags, not proof of current availability, responsiveness or a usable phone number. Do not extract contact material from MCN introductions or QR references into a shared report. The saved capture has no mcn_id; missing membership evidence stays unknown. Reported avg_play 0 does not establish that the creator has no views.
opened_task_category and tags are JSON-encoded strings, while content_theme_labels is an array. Preserve their raw forms and decode only known string fields with guarded parsing. Response platform_channel [1,10] is distinct from request strings _1 and _10. create_time and modify_time describe the record, not this review's observation time or verified account age. Keep identity fields separate and do not join creators by display name.
Stop after the selected profile. Price, audience, performance and resolver endpoints are separate tasks with separate costs; the old seven-call evaluation is historical, not an automatic continuation. For an unselected creator, keyword candidates are an independent first task, not a guaranteed identity lookup.
Choose creator candidates or a known profile before making a request. Give your agent the setup Skill, Markdown quickstart, selected endpoint and desired result. Keep SANDBASE_API_KEY locally and use POST /v1/api/ with Bearer authentication. Do not automatically follow the first candidate, resolve identifiers, retrieve prices or contact a creator.
Require completed SandBase status and an object at outputs[0].data. Check base_resp.status_code is integer 0; false, string 0 or a missing status is not success. Search has authors while the profile is a flat object with id. Preserve missing and null data instead of reporting zero, no MCN affiliation or no fee. Successful status_message is empty in one saved search and Success in the profile, so do not require one guessed success string.
Pricing checked November 8 lists $0.02 per selected API request. Neither selected inspect result declares free_quota; do not promise that the general 100-call daily offer covers these routes. One deliberate request lists at $0.02 and two at $0.04 before any separately verified adjustment. These API charges are distinct from creator collaboration prices. No new business, paid, continuation, contact or media request was made. The Xingtu Python guide preserves the old multi-endpoint experiment as dated history and separates current contract checks and offline validation.
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-base-info-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"kolId": "7038603512770461703",
"platformChannel": "_1"
}'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`
platformChannelstringobligatoirePlatform channel, supports the following parameters: _1: Douyin Video; _10: Douyin Live
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
[
{
"data": {
"abandon_sign_result": 0,
"appeal_id": "0",
"author_avatar_frame_icon": 20,
"author_type": 1,
"avatar_uri": "https://p26.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_8c900db621ce282dd6a0037531ea104a.jpeg?from=3782654143",
"avg_play": 0,
"aweme_tags": [],
"base64_qrcode": "iVBORw0KGgoAAAANSUhEUgAAAWgAAAFoAQAAAABSnlx4AAACZElEQVR4nO2bzW7DMAyDySHv/8rcQT+2010KOK09qxjaNPkOhCowtOJReOP18w5cdNFFF130g/QFALRjUQAIUYQAgCIUVx9WcgZ9AYAXN94oq71Xvru6ju7NadKrLQgCQRDKlic/puQsmrB2NmPxv68oOYF+yeLi+H1R3RvR5t9e6ehuwkpt1tL9Duvo3pW2ekcbi6AoiGIc95ayju5d6Qto/SuAEUlkOQWDy6yje1fa87fguS/yH6F0bypMZR3du9Lew/n5x3oHRHxfR/fWNAkRtPQndxJapwtU/hqL6d6VlsDIInR3cY+xE24pq+nekL7iIHxbNEcBrLHNumt9OYmOeZXPS7LSFsHtnDX400rOoNlWOm01KUveflKs9c40OmvJuDO2cOKxpMXBhXRvThOyfKJIKOkxBBVZfDnd29H0nB03R435u5unPK3kDDrul1ZxjSnFLJ01r5pNi6DV+Ja/mVc/pOS/05FPbCKoLgl2q3nU/GQWHYW1NTtv+RuwoaGfXkj3rnQuJPuTff7OWdXTSo6iCUGS4pmOv/sZ…",
"base_resp": {
"status_code": 0,
"status_message": "Success"
},
"category_id": "1",
"city": "长沙市",
"content_theme_labels": [
"宠物猫日常",
"猫咪萌态",
"可爱猫咪",
"… 7 more items in the full response"
],
"core_user_id": "93153724393",
"create_time": "1638802586",
"creator_type": 0,
"e_commerce_enable": false,
"follower": 886798,
"gender": 2,
"grade": 0,
"has_phone": true,
"id": "7038603512770461703",
"industry_list": [],
"is_cpm_project_author": false,
"is_game_author": false,
"is_online": true,
"is_plan_author": false,
"is_star": true,
"is_visible": false,
"lowest_price": 0,
"mcn_introduction": "",
"mcn_logo": "",
"mcn_name": "",
"modify_time": "1791220894",
"nick_name": "是甜口的鸭蛋",
"online_status": 1,
"opened_task_category": "[103, 1, 6, 52, 120, 133, 157]",
"platform": [
1,
5
],
"platform_channel": [
1,
10
],
"platform_source": 1,
"protocol_id": "20210530",
"province": "湖南省",
"qrcode_url": "",
"sec_uid": "MS4wLjABAAAAXakJHNxB0cmKZ6c6FthE2_vA7he6kHmgSBp9YjggHR8",
"short_id": "3933239620",
"star_tags": [],
"status": 1,
"tags": "[\"\\u840c\\u5ba0\"]",
"tags_author_style": "[]",
"tags_ids": "[11]",
"tags_ids_level_two": "[12]",
"tags_level_two": "[\"\\u65e5\\u5e38\\u5ba0\\u7269\"]",
"tags_relation": {
"萌宠": [
"日常宠物"
]
},
"task_status": 2,
"unique_id": "malin337"
}
}
]Explorer plus
| API | Prix | Réponse |
|---|---|---|
Douyin XingTu KOL ProfileCette 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-base-info-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) et platformChannel (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 Profile 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.
Le schéma actuel liste _1 pour Douyin Video et _10 pour Douyin Live. Le profil enregistré utilise _1. Les valeurs numériques de channel dans la réponse ou des tests historiques avec la chaîne 1 ne remplacent pas ces chaînes de requête, et aucun nouveau réponse _10 n’a été testé.
Non. Un indicateur phone ou online n’est ni un contact exploitable ni une garantie de réactivité actuelle. L’absence de mcn_id reste inconnue, pas false. Cette lecture de profil n’extrait ni n’utilise de matériel de contact, n’envoie pas de messages et ne passe pas de commande.
Ni l’un ni l’autre des résultats d’inspection sélectionnés ne déclare free_quota. Chacun indique 0,02 $ par appel API ; ne promettez pas que l’offre générale de 100 appels s’applique. Les frais API diffèrent des prix de collaboration avec les créateurs. Toute recherche supplémentaire ou requête de prix constitue une tâche distincte et volontaire.