TikTok Get User Following

2.07 credits/call
ae_tiktok_get_user_following

Retrieves the accounts followed by a specified user. Provide either the user's numeric user_id or mixed alphanumeric sec_user_id. count sets the page size and defaults to 20 (maximum 20). Start with min_time=0 and page_token=""; use the continuation values from the previous response to request later pages. The response contains the following-list data.

Social
2.07 credits/call

Pricing

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

2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.

The listed charge applies to each normal successful call; provide either user_id or sec_user_id.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
countintegerNo数量/Number20
user_idstringNo用户ID/User ID (与sec_user_id二选一/One of user_id and sec_user_id)""
min_timeintegerNo最小时间,用于翻页/Minimum time for paging0
page_tokenstringNo翻页token/Page token""
sec_user_idstringNo用户sec_user_id/User sec_user_id (与user_id二选一/One of user_id and sec_user_id)""

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_tiktok_get_user_following' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "sec_user_id": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 200,
  "data": {
    "extra": {
      "logid": "2026110409474838269B35DB49AD21EB38",
      "now": 1793785668000
    },
    "followings": [
      {
        "accept_private_policy": false,
        "apple_account": 0,
        "authority_status": 0,
        "avatar_168x168": {
          "data_size": 0,
          "height": 720,
          "uri": "tos-maliva-avt-0068/8a3909f393315b8cf96ea44747b6dfbb",
          "url_list": [
            "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/8a3909f393315b8cf96ea44747b6dfbb~tplv-tiktokx-cropcenter-q:168:168:q70.heic?dr=9604&refresh_token=32118a9e&x-expires=1793869200&x-signature=KJ9aw6WFsUSwX6YtISY7Tzl86XU%3D&t=223449c4&ps=87d6e48a&s"
          ],
          "width": 720
        },
        "avatar_300x300": {
          "data_size": 0,
          "height": 720,
          "uri": "tos-maliva-avt-0068/8a3909f393315b8cf96ea44747b6dfbb",
          "url_list": [
            "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/8a3909f393315b8cf96ea44747b6dfbb~tplv-tiktokx-cropcenter-q:300:300:q70.heic?dr=9605&refresh_token=f2134f60&x-expires=1793869200&x-signature=EXNl1%2FiNzaGcStH1KF6IvwuVCk4%3D&t=223449c4&ps=87d6e48a"
          ],
          "width": 720
        },
        "avatar_larger": {
          "data_size": 0,
          "height": 720,
          "uri": "tos-maliva-avt-0068/8a3909f393315b8cf96ea44747b6dfbb",
          "url_list": [
            "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/8a3909f393315b8cf96ea44747b6dfbb~tplv-tiktokx-cropcenter-q:1080:1080:q70.heic?dr=9608&refresh_token=e30e9d2e&x-expires=1793869200&x-signature=2%2Bs7nFKsv4Y2R%2B5L0ZlJ24Mdl9k%3D&t=223449c4&ps=87d6"
          ],
          "width": 720
        }
      }
    ]
  },
  "docs": "https://api.tikhub.io/#/TikTok-App-V3-API/fetch_user_following_list_api_v1_tiktok_app_v3_fetch_user_following_list_get",
  "message": "Request successful. This request will incur a charge."
}

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