How to list the TikTok accounts a user follows
Pull one page of accounts a TikTok user follows, with handle, display name, follower count, bio, and a next cursor for continued paging
On this page
You have one TikTok creator and need the first 60 accounts that creator follows, sorted into a shortlist for a partnerships review. The task is to pull pages from anyapi.tiktok.following until you have 60 rows or nextCursor is null, then mark each row with a review priority
The deliverable is a worksheet with one row per followed account. Values here are placeholders showing the shape, and no request has been run for this guide
Example input and worksheet design
Example: set handle to the TikTok username you are reviewing, without the @ symbol at the start. The target is 60 rows, gathered page by page; the table below shows the columns your agent should fill
| handle | displayName | followers | bio | region | private | reviewPriority |
|---|---|---|---|---|---|---|
| (from response) | (from response) | (integer) | (text) | (text) | true or false | high, medium or low |
The decision column is not a response field. It is added after reading the profile signals. A blank bio or a private value of true is a reason to inspect the row by hand, not a reason to drop it
Input the tool takes
anyapi.tiktok.following lists accounts a TikTok user follows by username. The request is POST /v1/runs with toolId anyapi.tiktok.following. The contract makes handle required: the TikTok username without the @ symbol at the start
Optional inputs include cursor, which is a pagination cursor from a previous response, and requireFields, which names output fields the request must be able to return. The enum values for requireFields are instagramUrl, nextCursor, secUid and youtubeUrl. requireCursor is deprecated; use requireFields: ["nextCursor"] instead when you intend to page. Omit cursor for the first page
Get handle from the TikTok profile URL or username. Use the username without @. If you need a field that a cheaper source may not report, such as secUid or nextCursor, name it in requireFields. That can raise the price because a source that can return the field may serve, and you are quoted and charged its price
Step 1: pull one page and continue with the cursor
Call the tool once with handle and no cursor to get the first page. Set requireFields: ["nextCursor"] if you plan to page, because pagination is cursor-based: one page per call, and nextCursor null means this lane has no more pages. Pass the returned nextCursor back as cursor for the next call. Stop when you have 60 rows or when nextCursor is null
The first response tells you whether the target was found. If found is false, reason is not_found, and the call is still successful; the contract says costUsd is what it actually cost. A found: true response has a data.following array
Read the output fields that drive the shortlist
The fields that drive the decision are handle, displayName, followers, bio, region and private. Use handle and displayName to identify the account, followers to gauge the size of its audience, bio to spot niche or partner signals, region to check market fit and private to flag accounts that need a manual look. These values fill the worksheet and the reviewPriority column
Other contract fields can support a closer review. Keep secUid when the shortlist will go deeper. instagramUrl and youtubeUrl are cross-platform profile links, and each is null when the account links none or the serving source does not report it. nextCursor drives the paging loop, not the shortlist decision
If the shortlist feeds a wider creator research pass, the companion article is Research TikTok creators. It is a separate read; the table above still comes from anyapi.tiktok.following
The agent prompt
The example prompt below uses the example handle
Set up https://purrkey.app/SKILL.md, then use Purrkey to list the TikTok accounts a creator follows for the handle stoolpresidente. Check the current inputs and price of anyapi.tiktok.following before running anything. Call it once with handle stoolpresidente and requireFields set to ["nextCursor"], with no cursor for the first page. Then pass each returned nextCursor back as cursor until you have 60 rows or nextCursor is null. Return a table with handle, displayName, followers, bio, region, private and reviewPriority. Use high, medium or low for reviewPriority based on followers, bio, region and private. Do not invent rows. If found is false, return the reason not_found and costUsd.Replace the example handle with the real handle before running. The prompt keeps the first page to one call and each later page to one call. The handle must not start with @
Estimated tool cost
Prices from the Purrkey catalog, read November 13, 2026. The unit is max_call: "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings. Model fees for the agent are not counted
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| First page | calls x max price | $0.0036 per call | 1 | $0.0036 |
| First two pages | calls x max price | $0.0036 per call | 2 | $0.0072 |
The first page scenario is one call. The first two pages scenario is two calls. If the first page returns nextCursor null, the second call does not happen and the plan stops at the first row
Start with one page
Open the TikTok following tool to check the current listing and run the first page for your handle
Get started by giving this to your agent
- Claude Code
- Codex
- Gemini CLI
- Cursor
- GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with TikTok.FAQ
How do I list the TikTok accounts a user follows?
Call anyapi.tiktok.following with the username in the handle field, without the @ symbol at the start. The response returns a following array plus a nextCursor that you pass back as cursor for another page.
What inputs does anyapi.tiktok.following take?
The required input is handle, the TikTok username without the @ symbol at the start. Optional inputs include cursor from a previous response and requireFields to name output fields such as nextCursor, secUid, instagramUrl or youtubeUrl.
What does nextCursor mean in the response?
nextCursor is an opaque cursor for the next page of followed accounts, or null when this lane has no more. Pass it back as cursor to continue paging.
How many accounts come back per call?
Pagination is cursor-based and returns one page per call. The article treats the first page as one call and the first two pages as two calls.
What fields are in each followed account row?
Each row includes handle, displayName, followers, bio and region, along with other fields from the contract such as private and secUid. The article uses handle, displayName, followers, bio, region, private and a reader-added reviewPriority in its worksheet.
How much does it cost to list TikTok following accounts?
The price is up to $0.0036 per call. One page is at most $0.0036 and two pages are at most $0.0072.
What happens when there are no more pages?
nextCursor is null when this lane has no more pages. A found false answer with reason not_found is a successful call and costUsd is what it actually cost.
Next step
Try this with TikTok
The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.