How to search TikTok accounts by keyword
Find TikTok accounts by keyword and review handle, nickname, follower and profile-link fields from the returned page
On this page
You have one campaign keyword, chef, and need 25 TikTok accounts to review for a chef-focused campaign. One call to anyapi.tiktok.search_users returns the first page of candidates with the handle, nickname, follower count and linked profiles you need to decide which accounts to look at next
The table below is the deliverable: one row per returned account, with counts and profile links from the response plus a shortlist note you write. No run has been executed for this guide, so the table is a design, not a result
The search and the shortlist table
There is no handle list to prepare. The keyword is the input, and the tool decides which accounts come back
The deliverable is one flat table. Values here are placeholders showing the shape
| handle | nickname | followers | following | likes | videos | verified | region | instagramUrl | youtubeUrl | shortlist note |
|---|---|---|---|---|---|---|---|---|---|---|
| (handle) | (nickname) | (count) | (count) | (count) | (count) | true or false | (code or null) | (url or null) | (url or null) | (your note) |
The shortlist note is your column: one line on whether to review, hold or skip, written after you read the row. The campaign needs 25 accounts and one page may not fill that, which is what the cursor is for
What the tool takes
query is required: the keyword to search TikTok accounts for. The contract also lists two optional inputs. cursor is a pagination cursor taken from a previous response's nextCursor. requireFields names the output fields a request must be able to return, from the set bio, instagramUrl, nextCursor, region, secUid and youtubeUrl
Omit requireFields and routing is unchanged, with the cheapest source serving. Name a field such as secUid and the request is served only by a source that returns it, which can raise your price: when the cheapest source cannot return a named field, a dearer source serves and you are quoted and charged its price. Fields you do not name are still returned whenever the serving source has them, so leave the input out unless your table depends on a specific one
The tool runs as POST /v1/runs with toolId anyapi.tiktok.search_users
Reading the output fields that drive the shortlist
found says whether the search produced a result. When it is false the response carries reason set to not_found, and the contract describes that as a successful call, not an error. data.users holds the accounts and data.nextCursor points at the following page
Per account, these are the fields the shortlist turns on:
handleandnickname: the account identity, populated whenever the provider has data for the entityfollowers,following,likes,videos: integer counts to sort and filter onverified: whether the account carries a TikTok verification badgeregion: the two-letter country code TikTok assigns the account, null when the serving source does not report itinstagramUrlandyoutubeUrl: cross-platform profiles the account links on TikTok, null when it links none or the source does not report themsecUid: TikTok's sec_uid for the account
Paging is the step with a catch. The cursor is opaque: pass data.nextCursor back as cursor to continue, and read nextCursor: null as the end of that lane. Do not build one yourself or edit the string
For the wider pass over these accounts, the companion article is at https://purrkey.app/blog/research-tiktok-creators
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to search TikTok
accounts for one campaign keyword and return the first page. Check the
current inputs and price of anyapi.tiktok.search_users before running
anything. Call it once with query "chef" and leave requireFields out.
Return a table with handle, nickname, followers, following, likes,
videos, verified, region, instagramUrl, youtubeUrl and an empty
shortlist note column for me to fill. Print data.nextCursor on its own
line and do not page unless I ask. If found is false, report that and
stop.The keyword above is an invented example. Keep the first run to a single page so you can see what the accounts look like before spending on a cursor walk
Estimated tool cost
Price from the Purrkey catalog, read November 13, 2026, price revision anyapi-catalog-2026-11-05. The tool is listed at max_call, which the catalog explains as "Maximum per call. Successful runs settle at the actual AnyAPI charge". The totals below are ceilings, not settled charges
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Single-page search | 1 call x max price | $0.0036 per call | 1 | $0.0036 |
| Five-page cursor walk | 5 calls x max price | $0.0036 per call | 5 | $0.018 |
Agent model fees are not counted. A five-page walk covers 5 calls at the ceiling; if you stop after three pages the plan is at most $0.0108
Run the first page
Start with one call and the table above, then read the rows before you page. Continue with the cursor only while the shortlist is still short of 25 accounts and nextCursor is not null. Open the TikTok user search tool page for the current listing and the run form
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 search TikTok accounts by keyword?
Send the keyword as the query field to anyapi.tiktok.search_users. One call returns a page of accounts with handle, nickname, follower counts and profile links, plus a cursor for the next page.
What inputs does anyapi.tiktok.search_users take?
The contract lists query as required: the keyword to search TikTok accounts for. It also lists cursor, to continue from a previous page, and requireFields, to name output fields the request must be able to return.
How do I get the next page of TikTok accounts?
Pass data.nextCursor from one response back as cursor on the next call. The cursor is opaque, and nextCursor is null when that lane has no more.
Can requireFields raise the price of a search?
Yes. Omit requireFields and the cheapest source serves. When the cheapest source cannot return a named field, a dearer source serves and you are quoted and charged its price.
How much does a TikTok account search cost?
The listing is up to $0.0036 per call at max_call, which is the maximum per call. A single-page search is at most $0.0036 and a five-page cursor walk is at most $0.018.
What does a found false response mean?
It means the search produced no result, with reason not_found. The contract describes that as a successful call, not an error.
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.