Social listening tools count mentions. A keyword search API hands you the videos — and everything said in them.

TikTok Search API: Four Things to Build With Keyword Search

Published By Hatem Mezlini

Most teams watching TikTok are working from a dashboard that counts mentions. It tells you volume is up 30% this week and leaves you to open the app and scroll to find out why. The gap between “something is happening” and “here is what is being said” is still a manual afternoon.

A keyword search API closes that gap by giving you the actual videos as data — with their engagement, their authors, their hashtags, and crucially their URLs, which is what lets you go one step further and read what was said.

Four patterns worth building, each with the code.

Key Takeaways

  • Filters do the shortlisting: sort by relevance, most liked or newest, limit to a date window TikTok applies itself, and add like and view floors, so what arrives is already the set worth looking at.
  • Newest-first ordering makes monitoring trivial: for a daily sweep, the top of page one is the alert feed.
  • Search is a front end for content analysis: results carry video URLs, so transcription and typed extraction are the next loop.
  • An ambitious max_results is free: you are billed for the videos returned, not for the number you asked for.
TikTok Search API turning a keyword query into filtered, newest-first structured JSON results

1. Monitor your category, daily

The simplest useful job: every morning, what got posted about your category yesterday that anyone actually saw? A date bound plus a view floor turns a firehose into a short list you can read over coffee.

The date bound is not a filter applied to an all-time result list. With after_datetime set, the search itself runs newest first, the same way Sort by: Date posted works in the TikTok app, and stops once it passes your bound. A one-day sweep comes back full of one-day-old videos and bills only the few pages it reads. Run it on a schedule, diff against what you stored yesterday, and alert on what is new.

python

2. Discover creators against a real engagement floor

Influencer discovery usually starts from a follower-sorted list, which is the wrong sort. Start instead from posts that performed on your topic, then look at who made them — you get creators proven on your subject rather than creators who are merely large.

Sort by most_liked so the posts that travelled come first, widen coverage for a single keyword with parallel_search_slices, group the results by author, and rank by average views. Anyone appearing several times with strong numbers is a candidate; from there, run each handle through the profile scraper to check they are consistent rather than lucky.

python

3. Hear what is actually being said

This is the step conventional social listening cannot take. On TikTok the substance is spoken, not written — captions and hashtags are packaging. If you are only reading text fields, you are analysing the label on the tin.

Every search result carries its video URL, so transcription is the next loop. Now “what are people saying about us?” has a literal answer, in 99+ languages, including the complaints nobody bothered to type in the caption.

Captions are optional, not required. Ask for the transcript and you get the creator's captions when they exist; when they do not — which on TikTok is most of the time — speech-to-text reads the audio instead. You never get a blank row because someone skipped the subtitles. Both paths are documented: transcript and transcribe.

What is on air can be heard too. A LIVE room found with LIVE search has no video to transcribe afterwards, so it is transcribed while it is on air: the TikTok LIVE Transcription API delivers what is said in a room sentence by sentence, in real time.

python

4. Build a trend dataset you can query

Transcripts answer questions one video at a time. To answer them across a whole keyword you need columns, so define the fields you care about and get them back typed for every result.

Hook, brands mentioned, sentiment, main claim. That is a table, and a table answers questions prose cannot: which claim shows up in the negative posts, which hook pattern dominates the top decile by views, which competitor is being named most this month.

python

How much you get back, and what it costs

A single search returns roughly 100 to 140 unique videos for about 0.02 credits. That is the right setting for monitoring, where you want today's posts rather than an exhaustive archive. A narrow published_within window usually costs less, because TikTok stops returning pages once the window runs out.

When you need broader coverage of one keyword, parallel_search_slices runs several searches concurrently and deduplicates them, reaching up to roughly 480 unique videos at its maximum of 4. Cost scales close to linearly, so reach for it on a launch-week sweep, not on a daily job.

Transcription and extraction are billed per video when you chain them on. Filter hard first and you only pay to analyse the posts that matter — see the pricing page for the full picture. Failed searches are reversed automatically.

Conclusion

The difference between a mention counter and a keyword search API is that one tells you something happened and the other hands you the evidence. Filter to the posts that matter, transcribe them, ask for the fields you need, and TikTok stops being a place you monitor and becomes a source you can query. The solution page has the full parameter and response reference.

Frequently Asked Questions

What is a TikTok keyword search API used for?
Four patterns cover most of it: brand and category monitoring on a schedule, creator discovery filtered by a real engagement floor, understanding what is being said about a topic by transcribing the results, and building a trend dataset of hooks and formats you can query. Each starts with one call that takes a keyword and returns matching videos as structured JSON, newest first.
How many videos does one search return?
A single search returns roughly 90 to 120 unique videos. If you need broader coverage for one keyword, parallel_search_slices runs several concurrent searches and deduplicates them for you, reaching up to roughly 480 unique videos at the maximum setting of 4.
Can I search a specific date range?
Yes, two ways. published_within picks a rolling window (past_24_hours, this_week, this_month, last_3_months, or last_6_months) that TikTok applies itself, so the search only returns videos from that window. after_datetime and before_datetime take a date or a full ISO timestamp for exact bounds, and after_datetime on its own makes the search run newest first and stop once it passes your bound. Do not use parallel_search_slices for this; it controls how much coverage you get, not which dates are returned.
What filters are available?
Sort order through sort_by (relevance, most_liked, or newest) and a date window through published_within, both the same options as the TikTok app. Then exact dates through after_datetime and before_datetime, engagement floors and ceilings through min_likes and max_likes, and reach bounds through min_views and max_views. Filters are applied for you, so what comes back is already the shortlist.
How are results ordered?
Newest first by publish date unless you choose otherwise, applied consistently across paginated pages, full retrieval, and the downloadable JSON file. Set sort_by to most_liked to get the best-performing posts first, or to relevance to keep TikTok's own ranking. For monitoring workloads, sort_by=newest means the top of the first page is your alert feed.
How much does a TikTok keyword search cost?
A standard single search costs roughly 0.02 credits. Billing follows the videos a search returns, 1 residential request per 30, so a four-slice sweep of the same keyword, which returns about twice as many videos, is around 0.04 credits. Setting a very high max_results on a keyword that only has 110 matching videos costs the same as asking for 110.
Can I chain search into transcription or extraction?
Yes, and that is where most of the value is. Every result includes the video URL, so you can pass it straight to transcription for the spoken content, or to structured extraction with your own schema to get typed columns such as hook, products mentioned, and call to action.

Next Steps

TikTok Search API: Four Things to Build With Keyword Search | VidNavigator AI