Get the accounts a TikTok user follows
tiktok_get_user_followingList the accounts a public TikTok user follows, by username, with each account’s username, nickname, bio, avatar and follower counts. Page through results with the cursor from the previous response's nextCursor. Read-only: returns public data and changes nothing. Costs 1 credit per request.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"uniqueId": "<uniqueId>",
"count": "<count>"
},
"name": "tiktok_get_user_following"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of results to return (1–30). Defaults to 30. | |
| cursor | No | The previous response's `nextCursor`, to fetch the next page. Omit it for the first page. | |
| uniqueId | Yes | TikTok username, with or without @, or the profile link, for example "tiktok" or "https://www.tiktok.com/@tiktok". | |
| cacheOnly | No | Return only a cached result and never scrape live. With `cacheMaxAgeHours`, only a result that recent is returned; without it, the latest cached result of any age. Responds 404, at no cost, when there is none, e.g. true. | |
| cacheMaxAgeHours | No | Accept a cached result scraped up to this many hours ago. A cached result costs no credits, and its `cachedAt` says when it was scraped. When no cached result is that recent, the data is scraped live at the normal price. Leave it out to always scrape live, e.g. 24. |