Tiktok Search by Keyword API
Search TikTok by keyword to find trending content, relevant creators, and topics your target audience is actively discussing.
| 1 | import requests |
| 2 | |
| 3 | root = "https://ensembledata.com/apis" |
| 4 | endpoint = "/tt/keyword/search" |
| 5 | params = { |
| 6 | "name": "tesla", |
| 7 | "cursor": 0, |
| 8 | "period": "1", |
| 9 | "sorting": "0", |
| 10 | "country": "us", |
| 11 | "match_exactly": False, |
| 12 | "get_author_stats": False, |
| 13 | "token": "YOUR-TOKEN-HERE" |
| 14 | } |
| 15 | |
| 16 | res = requests.get(root+endpoint, params=params) |
| 17 | print(res.json()) |
| 18 |
Why Developer Teams Use Our API
Ranked Results On Demand
Query any keyword and get back the same ranked videos a real user would see in-app.
Influencer Shortlisting
Surface creators already ranking for a niche term to speed up outreach list building.
Topic Trend Discovery
Spot what content angles are gaining traction around a keyword before they go mainstream.
No App Required
Run keyword research through plain HTTP requests, no TikTok account or app session needed.
Live Search Rankings
Results reflect what's actually ranking on TikTok right now, not a cached snapshot.
Automate Ongoing Monitoring
Schedule repeat searches on key terms to track how a topic evolves over weeks.
Scrape Tiktok Data Effortlessly
Find trending topics and creators on TikTok without scrolling the app manually, just query our keyword search API and get ranked results fast.
Multi-Keyword Batching
Run several TikTok search terms back to back to build a broader topic map.
Content Gap Analysis
Spot underserved TikTok topics by comparing keyword result volume across niches.
Outreach Shortlist Builder
Turn TikTok keyword results into a ready-made list of creators to contact.
Tiktok Scraping Features
Uncover what resonates on TikTok for any keyword, useful for influencer outreach, competitor research, and spotting content that is gaining traction.
- Query any term and get back the same ranked TikTok videos and creators a real user would see.
- Surface niche creators already ranking for a topic to speed up influencer shortlisting.
- Bias results toward a specific region to sharpen relevance for local campaigns.
- Search hashtags directly as part of the keyword string without a separate lookup step.
- Schedule repeat searches on the same terms to watch a topic evolve over weeks.
Starting crawling Tiktok now!
Get Your API Key in Minutes
Create a free account (no credit card required) and receive an API token instantly to test endpoints, pull live data, and rapidly prototype integrations. Upgrade as your needs grow.
Get started freeDeveloper Support
Need help integrating or customizing data for your workflows? Our developer success team offers onboarding, guidance, and enterprise support to get your project production-ready.
Contact usFrequently Asked Questions
It returns a ranked list of TikTok videos and relevant creators matching your search term, similar to what a user would see searching in the app.
Yes, searching niche-relevant keywords surfaces the creators and videos currently ranking for that topic, which is useful for influencer discovery.
Results are pulled live from TikTok at request time, reflecting what is currently ranking for that keyword.
Each request takes a single keyword or phrase; to cover multiple topics, run separate requests for each keyword.
Each request returns a page of results, generally a few dozen entries, with a cursor available for retrieving a deeper result set.
Yes, an optional region parameter biases results toward that market; without it, results reflect TikTok's default ranking for the term.
Yes, you can include a hashtag directly in the search term and it's treated like any other keyword phrase.
Each result includes the same core fields as the Post Information endpoint - caption, view/like/comment counts, and creator details.
Yes, many teams call this endpoint on a schedule for a fixed set of keywords to continuously monitor emerging content and creators.