TikTok Search API: Keywords, Hashtags, and Public Data
Choose a TikTok search API by the search you need: native keywords, hashtags, creators, or approved research. Includes a SenseCollect request example.
A TikTok search API helps software discover TikTok content or accounts from search inputs. Providers use the term for different products: native keyword results, hashtag feeds, creator search, or topic discovery. Decide which result set you need before choosing an endpoint.
SenseCollect's TikTok search API supports topic discovery through hashtags. Its search endpoint translates a topic into relevant hashtags and collects associated public videos. It is useful for finding content around a subject, but it does not reproduce TikTok's native keyword-search ranking.
Compare the main search routes
| Route | Best suited to | Important boundary |
|---|---|---|
| Official TikTok Research API | Approved research projects | Application and access requirements apply |
| Third-party native search API | Keyword results or account discovery | Check supported tabs, sorting, and result coverage |
| Topic-to-hashtag discovery | Finding public content around a theme | Hashtag selection influences what is collected |
| Direct hashtag collection | Monitoring a defined tag | Content outside that tag is not represented |
TikTok provides an official Research API with an approval process. Its video query documentation describes query conditions and pagination. Access to that product is separate from a general-purpose commercial search subscription.
If your requirement is the exact results a user sees under a native search tab, verify that explicitly with a provider. A hashtag endpoint, profile feed, and keyword endpoint may all return videos while answering different questions.
Search a topic with SenseCollect
Begin with a narrow topic you can judge manually:
curl "https://sensecollect.com/v1/tiktok/search?query=ai%20fitness%20coaches" \ -H "x-api-key: $SENSECOLLECT_KEY"The topic guides hashtag discovery. Review the returned videos for subject relevance before running a larger research project. Broad phrases such as “business” can mix unrelated audiences, products, and languages.
When you already know the hashtag, use the direct endpoint:
curl "https://sensecollect.com/v1/tiktok/hashtag?hashtag=fitnesscoach&limit=100" \ -H "x-api-key: $SENSECOLLECT_KEY"The direct hashtag endpoint supports a configured limit of up to 500. Availability can reduce the number returned. Use the API documentation for response handling, job completion, and credit behavior rather than assuming every request immediately contains a finished dataset.
What to retain from each collection
Where available, public video records can include creator information, caption text, and engagement counts such as plays, likes, comments, and shares. Save the input topic or tag and collection time alongside those records.
Keep source identifiers when available so the same video appearing under several hashtags does not inflate your totals. Retain the hashtag-to-video relationship separately: knowing that a video belongs to several research buckets can be useful even after deduplication.
Do not fill missing metrics with zero unless the source explicitly reports zero. An absent play count means you cannot calculate a reliable play-based engagement rate for that row.
Build a useful creator research shortlist
Choose a concrete research question, such as “which creators explain beginner strength exercises?” Collect a small group of closely related tags and review the actual videos, not just their captions.
Score candidates against criteria you can observe:
- Subject fit: do recent videos consistently cover the relevant topic?
- Format fit: are they publishing tutorials, demonstrations, reviews, or entertainment?
- Public engagement: what do the available metrics show across several videos?
- Brand fit: does a manual review support the intended partnership?
- Contact route: is there an appropriate public business contact or profile link?
Hashtags and captions do not prove a creator's location or audience demographics. Public counts also do not establish purchase intent. Use the shortlist to decide what deserves further review, then verify the details needed for a campaign.
Measure changes without overstating coverage
Keep the same input tags and collection settings when comparing runs. Record video publication time separately from collection time: an older video has had more time to accumulate interactions.
A change in the collected sample can reflect source availability or retrieval behavior as well as content performance. Report “among the videos collected for these tags” instead of making claims about all of TikTok.
If you need native keyword rank tracking, use a source that records the query, tab, sort order, and rank. SenseCollect's topic search should not be used to label a creator “number one for this keyword.”
Frequently asked questions
Does TikTok have an official search API?
TikTok's Research API supports public-data queries for approved projects. Evaluate its eligibility and supported fields for your use case. Other TikTok developer products serve different purposes.
Does SenseCollect search native TikTok keyword results?
Its topic endpoint translates a query into hashtag discovery. For a known tag, use the hashtag endpoint directly. Neither should be described as an exact recreation of a user's native search results.
Can I get private analytics or audience demographics?
SenseCollect's TikTok endpoints collect public content data. They do not provide private account analytics or guaranteed audience demographic information.
How should I start?
Try one focused topic, inspect the returned sample, and decide whether hashtag discovery answers your question. The TikTok API page lists the available endpoints and parameters.
Get the data behind this research.
One API key returns the same structured records from Maps, Amazon reviews, and TikTok. Start free with 2,500 credits.