Social media5 min readBy Purrkey teamUpdated

How to list a TikTok creator's recent videos by handle

List a TikTok creator's recent videos with views, likes, comments, shares, saves and a cursor for paging

On this page

You have 35 TikTok creator handles to review before a partnership shortlist and need a table of each creator's videos with views, likes and comments. Run each handle through anyapi.tiktok.profile_videos, then use the returned fields to compare the posts and nextCursor to continue when a lane has more videos

The worksheet below is the deliverable: one row per video, with creator handle, video id, caption, timestamp, views, likes, comments, shares, saves and URL. No run has been executed for this guide. The table is a design; values are placeholders showing the shape. For the broader creator research workflow, see Research TikTok creators

Example input and worksheet design

Example handle, to be replaced with your own list:

Handle
dailycatvideos

The agent fills a table with these columns. Values here are placeholders showing the shape

authorHandleidcaptioncreatedUtcviewslikescommentssharessavesurl
dailycatvideosvideo idcaption textUnix seconds00000video URL

Keep one row per video. createdUtc is a UTC epoch timestamp in seconds; multiply by 1000 for a JS Date in milliseconds. authorHandle repeats on each video row so the table can be sorted by creator, and id identifies the video inside that creator's set

Step 1: request one profile page per handle

anyapi.tiktok.profile_videos is called through POST /v1/runs with toolId anyapi.tiktok.profile_videos. The catalog describes it as: "List a TikTok creator's recent videos (views, likes, comments) by handle with cursor pagination." The input block documents handle as required: the TikTok username without an @ at the start. It also documents cursor as optional, taken from a previous response's nextCursor, and requireFields as optional, naming output fields the request must return

requireFields can raise the price. If the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a video that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted

For the 35 handle list, make 35 first-page calls. Send each handle without the @. A handle that returns found: false is a finished row for that creator, not a retry

Step 2: read the fields and page with nextCursor

The fields that drive the shortlist comparison are views, likes and comments. Use shares and saves for extra context when the response includes them. url opens the video for review. The contract gives no threshold or score, so the table keeps raw counts and the shortlist decision stays outside the table

If found is true, read data.videos and data.nextCursor. If found is false, the output carries reason: "not_found" and there is no video array for that handle

The paging limit sits here: pass the previous response's nextCursor back as cursor to continue. nextCursor is null when the lane has no more videos. Keep the same handle and add the cursor; do not invent or edit a cursor

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to list recent videos for the 35 TikTok handles I provide. Check the current inputs and price of anyapi.tiktok.profile_videos before running anything. Call it once per handle for the first page. When data.nextCursor is not null, pass it back as cursor and continue that handle until nextCursor is null. Return one table with authorHandle, id, caption, createdUtc, views, likes, comments, shares, saves and url. Leave rows for handles with found false out of the video table and list them separately with reason. Do not guess data.

Example handle for format only: dailycatvideos. Replace it with my 35 handles.

Estimated tool cost

Price from the Purrkey catalog, read November 13, 2026. The unit is max_call: Maximum per call. Successful runs settle at the actual AnyAPI charge. Totals below are ceilings, not settled charges. Model fees for the agent are not counted

StepFormulaUnit pricePlanned quantityTotal
35 creators, first page each35 calls x max price$0.0036 per call35$0.126
35 creators, two pages each70 calls x max price$0.0036 per call70$0.252

A creator that needs a second page adds one call at the same ceiling. The two-page plan covers 70 calls at most $0.252

Next action

Open the TikTok profile videos tool and run the first handle before you run the 35

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.
Explore TikTok tools and pricing

FAQ

How do I list a TikTok creator's recent videos by handle?

Run each handle through anyapi.tiktok.profile_videos to get a data.videos array, then use data.nextCursor as cursor when it is not null. Build one row per video with the fields in the worksheet.

What inputs does anyapi.tiktok.profile_videos take?

The input block documents handle as required: the TikTok username without an @ at the start. cursor is optional and comes from a previous response's nextCursor; requireFields is optional and names output fields the request must return.

What does the anyapi.tiktok.profile_videos output include?

The output has found and data. When found is true, data.videos lists videos and data.nextCursor gives the cursor. Video fields include authorHandle, id, caption, createdUtc, views, likes, comments, shares and url.

How do I get more videos with nextCursor?

Pass the previous response's nextCursor back as cursor to continue. nextCursor is null when the lane has no more videos.

What does found false mean?

found: false with reason: "not_found" means the source states the target does not exist or returned nothing for it. The contract calls it a successful call, not an error.

How much does it cost to list recent videos for 35 TikTok creators?

The first-page plan is at most $0.126 for 35 calls at $0.0036 per call. A two-page plan is at most $0.252 for 70 calls. The unit is max_call, and successful runs settle at the actual AnyAPI charge.

Do I include the @ in the handle?

No. The input says handle is the TikTok username without an @ at the start.

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.

See TikTok tools

Share this article