Douyin Xingtu Get Kolid By Sec User ID
Look up a Douyin user's Xingtu KOL identifier (kolid). Input: sec_user_id is required and must be a string containing the user's Douyin sec_user_id, obtainable from Douyin profile information. Supply the identifier itself, not a nickname or profile URL. Result: The lookup returns the associated Xingtu kolid available through the guest-facing lookup. This identifies the user in Xingtu and is distinct from the input Douyin identifier. The response has a general envelope with a data payload whose detailed structure is not specified.
Pricing
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
sec_user_id | string | Yes | 抖音用户sec_user_id/Douyin User sec_user_id | — |
Invocation example
Copy the request and explore its response example.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_douyin_xingtu_get_kolid_by_sec_user_id' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"sec_user_id": "MS4wLjABAAAAcLFALh1d6dhqvZx0ooPdvyCGYnsnwvixEyLYZaIv_xE"
}
}'{
"code": 200,
"data": {
"avatar_uri": "https://p11.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_d30ee0b0eebac9621fda171b8e4d5144.jpeg?from=3782654143",
"base_resp": {
"status_code": 0,
"status_message": "Success"
},
"core_user_id": "58603015334",
"finish_rate_ovr": 0.5702,
"hot_list_ranks": [],
"id": "7254442924782403639"
},
"docs": "https://api.tikhub.io/#/Douyin-Xingtu-API/get_xingtu_kolid_by_sec_user_id_api_v1_douyin_xingtu_get_xingtu_kolid_by_sec_user_id_get",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"params": {
"sec_user_id": "MS4wLjABAAAAcLFALh1d6dhqvZx0ooPdvyCGYnsnwvixEyLYZaIv_xE"
}
}This example shows part of the response. Copied content is valid JSON.

