Douyin Fetch User Following List

2.07 credits/call
ae_douyin_fetch_user_following_list

## Purpose Retrieve accounts that a specified Douyin user follows, with timestamp-based pagination. This returns the user's following list, not their followers. ## Inputs - `sec_user_id` (string): The target user's sec_user_id; supply the identifier of the user you want to query. - `max_time` (string, default `"0"`): Pagination timestamp. Use `"0"` for initialization, then the value returned by the preceding request. - `count` (integer, default `20`): Requested number of entries. Keeping the default is recommended. - `source_type` (integer, default `1`): Use `2` for initialization and `1` for subsequent requests. ## Request sequence and results 1. Initialize with `max_time="0"` and `source_type=2`. This returns an empty list and a `max_time` value; the empty initialization list does not establish that the user follows no accounts. 2. Request list data with the returned `max_time` and `source_type=1`. For later pages, continue passing the preceding response's `max_time`. Results contain following-list data and pagination information. Individual account fields are not specified in the available response schema. Skipping the initialization sequence may produce duplicate entries.

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 initialization request and each subsequent pagination request are charged separately per call. Initialization returns an empty list and the pagination timestamp needed for the next request; this does not indicate that the user follows no accounts.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
countintegerNo数量/Number20
max_timestringNo最大时间戳/Maximum timestamp0
sec_user_idstringNo用户sec_user_id/User sec_user_idMS4wLjABAAAA9y04iBlVdeMQqTJbqsQZKb-tqWqWW29jPVJqideHT70
source_typeintegerNo来源类型/Source type1

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

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_fetch_user_following_list' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {}
}'

No response example available yet.