Douyin Get All Sec User ID

2.07 credits/call
ae_douyin_get_all_sec_user_id

Extract Douyin sec_user_id values from up to 10 user profile links at a time. Input: Set the required request_body parameter to an array of strings. Entries may be full profile URLs, short profile links, or copied share text containing a profile link. Results: A successfully resolved link returns its sec_user_id. If extraction fails, the original input is returned instead so you can check it manually. An unchanged link or share text does not indicate successful extraction. This tool extracts user identifiers, not profile details.

Social
2.07 credits/call

Pricing

2.07 credits/call
ConditionCharge
Each call2.07 credits/call

Each call has a fixed charge of 2.07 credits. Charges are per query. A successful query is billed even if it returns no results.

The charge is per call and does not depend on the number of submitted entries or successfully extracted IDs. A returned original link or share text indicates extraction failure. This tool extracts sec_user_id only and does not return user profile details.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyarrayYes用户主页链接列表/User homepage link list—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_douyin_get_all_sec_user_id' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": [
      "4- 长按复制此条消息,打开抖音搜索,查看TA的更多作品。 https://v.douyin.com/QGrh8d_GW8k/ 5@7.com :8pm"
    ]
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 200,
  "data": [
    "MS4wLjABAAAAqxlcNlMTcFhhrEsc4Fb6Z7wi78Dwdm6JiVZb6-YgdJ7LBvoXjNdsNMLMynckiDqM"
  ],
  "docs": "https://api.tikhub.io/#/Douyin-Web-API/get_all_sec_user_id_api_v1_douyin_web_get_all_sec_user_id_post",
  "message": "Request successful. This request will incur a charge."
}

This example shows part of the response. Copied content is valid JSON.