kolIdstring必填
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"
}
}
]選擇一個範例,將其輸入與結果載入 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.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
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"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
kolIdstring必填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`
platformChannelstring必填Platform channel, supports the following parameters: _1: Douyin Video; _10: Douyin Live
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"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"
}
}
]探索更多
| API | 價格 | 回應 |
|---|---|---|
Douyin | 每次呼叫 $0.02 | JSON |
Douyin | 每次呼叫 $0.02 | JSON |
Douyin | 每次呼叫 $0.02 | JSON |
Douyin | 每次呼叫 $0.02 | JSON |
Douyin | 每次呼叫 $0.02 | JSON |
Douyin | 每次呼叫 $0.02 | JSON |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/xingtu/kol-base-info-v1。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.02,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:kolId (string) 和 platformChannel (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Douyin XingTu KOL Profile 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。
目前 schema 列出 _1 代表 Douyin Video,_10 代表 Douyin Live。已儲存的 profile 使用 _1。數值型回應 channel 值,或曾以字串 1 測試的歷史結果,都不能取代這些請求字串,而且未測試新的 _10 回應。
不是。電話或在線旗標不代表可用聯絡方式,也不保證目前可回應。缺少 mcn_id 仍然是未知,不是 false。這次 profile 讀取不會擷取或使用聯絡素材、傳送訊息或下單。
兩個所選 inspect 結果都沒有宣告 free_quota。每個都標示每次 API 呼叫 $0.02;不要承諾一般的 100 次呼叫優惠適用。API 費用與創作者合作價格不同。任何額外查詢或價格請求都屬於另一個獨立且刻意的任務。