Douyin Index Fetch Encrypt User ID
Convert a Douyin uid into the encrypted user_id used by Douyin Index. Input: uid is required and must be a string containing only digits, for example "3100268042915212". Result: uid is the original input identifier; user_id is the corresponding encrypted identifier. Use this tool for debugging or when you need the encrypted identifier directly. Creator-related operations already perform this conversion automatically, so you usually do not need to call this tool separately.
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 |
|---|---|---|---|---|
uid | string | Yes | 抖音 uid (纯数字) / Douyin uid (numeric). Example: 3100268042915212 | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_douyin_index_fetch_encrypt_user_id' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"uid": "xxx"
}
}'No response example available yet.

