TikTok Video Search API
Pricing
from $0.25 / 1,000 videos
TikTok Video Search API
Search TikTok by keyword and get the videos TikTok shows for it, in TikTok's order: plays, likes, comments, shares, caption, hashtags, creator (with followers), sound, cover and post date, plus each video's rank. Keywords in, clean JSON out. No login.
Pricing
from $0.25 / 1,000 videos
Rating
0.0
(0)
Developer
DeepMine
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
40 minutes ago
Last modified
Categories
Share
Search TikTok by keyword and get the videos TikTok shows for that search, in TikTok's own order, as clean rows: plays, likes, comments, shares, saves, caption, hashtags, the creator and their follower count, sound, cover, post date and each video's rank in the results.
Type keywords the way you would on TikTok, or paste a tiktok.com/search?q=... link. No TikTok account, no cookies, no login.
| Creator | Caption | ▶️ Plays | ❤️ Likes | 📅 Posted | 🔍 Keyword | 🏅 Rank |
|---|---|---|---|---|---|---|
| @nativetyfood | $6.25 pork roll in Taiwan 🇹🇼 #taiwan #taipei #taip… | 11,800,000 | 389,900 | 2024-04-01 | street food | 2 |
| @street.food.1610 | Fastest fried rice EVER 😳🔥#food #foodie #streetfoo… | 8,500,000 | 574,400 | 2026-03-31 | street food | 3 |
| @deinfitnessmangae | Full Body Workout #workout #trainning #homeworkout… | 223,000 | 12,900 | 2026-08-12 | home workout | 1 |
$0.40 per 1,000 videos on the Starter plan ($0.50 Free, $0.30 Scale, $0.25 Business). The prefilled run (100 videos) costs about $0.04.
Why this one
- Up to ~250 videos per keyword. The Actor pages through the whole search TikTok shows logged-out visitors (216 for "street food", 243 for "skincare routine", 254 for "booktok recommendations" on 2026-09-27), not just the first screen.
- Rank included.
rankis the video's position in TikTok's results, so you can track who ranks for a term over time. - Creator size on every video. Each row carries the creator's follower count and verified badge: find creators in a niche straight away.
- Many keywords per run, searched in parallel, each with its own limit and summary. Rows come keyword by keyword, in your order.
- Fails loudly, never silently. Every run saves a per-keyword summary (
OUTPUT). If TikTok refuses a keyword on every retry, the run is marked failed instead of quietly returning less. - Fast and light. Plain HTTP, no browser: 5 keywords and 782 videos took 32 seconds in our test.
Input
| Field | What it does | Default |
|---|---|---|
keywords | Search terms, one per line: street food, skincare routine, https://www.tiktok.com/search?q=booktok. | street food |
maxVideosPerKeyword | Videos per keyword, up to 1,000 (but see "How many videos per keyword?"). | 100 |
postedAfter | Keep only videos posted after this date (2026-09-01, or via the API 30 days). | all |
proxyConfiguration | Apify Proxy. Datacenter (the default) works; switch to residential only if a run reports blocks. | Apify datacenter |
Example:
{"keywords": ["street food", "skincare routine"],"maxVideosPerKeyword": 200}
Output
One row per video, keyword by keyword in your order, each keyword's videos in TikTok's order (rank 1, 2, 3...). Two table views in the Console:
- 📊 Overview: 🖼️ Cover, 🏷️ Username, 👤 Creator, 📝 Caption, 🔗 TikTok, ▶️ Plays, ❤️ Likes, 💬 Comments, 🔁 Shares, 👥 Followers, 📅 Posted, 🔍 Keyword, 🏅 Rank
- 📈 Stats: 🏷️ Username, 🔗 TikTok, ▶️ Plays, ❤️ Likes, 💬 Comments, 🔁 Shares, 🔖 Saves, 👥 Followers, ⏱️ Duration, 📅 Posted, 🔍 Keyword, 🏅 Rank
Output fields
Every row has these keys, in this order. A value TikTok didn't send is null (never an empty string or a made-up 0).
cover: the video's cover image.authorName: the creator's display name.caption: the full caption, hashtags included.captionSnippet: the caption's first 50 characters on one line, for tables.authorUsername: the creator's TikTok username, without @.videoUrl: the video's page on TikTok.authorVerified: the creator has TikTok's verified badge.plays: views.likes: likes.comments: comments.shares: shares.saves: saves (TikTok's Favorites).authorFollowers: the creator's followers when the video was collected.durationSeconds: length in seconds (nullfor photo posts).postedAt: when it was posted (UTC).rank: position in TikTok's results for the keyword.hashtags: hashtags in the caption, without #.soundTitle: the sound's title ("original sound" is the creator's own audio).soundUrl: the sound's page on TikTok.photos: the images of a photo post (slideshow);nullfor videos.videoId: TikTok's video ID.keyword: the search keyword (your input).scrapedAt: when it was collected (UTC).
Example row:
{"cover": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-...","authorName": "nativetyfood","caption": "$6.25 pork roll in Taiwan 🇹🇼 #taiwan #taipei #taipeitaiwan #streetfood #taiwanfood #nativety","captionSnippet": "$6.25 pork roll in Taiwan 🇹🇼 #taiwan #taipei #taip…","authorUsername": "nativetyfood","videoUrl": "https://www.tiktok.com/@nativetyfood/video/7352887253321960746","authorVerified": false,"plays": 11800000,"likes": 389900,"comments": 1720,"shares": 3826,"saves": 14159,"authorFollowers": 1500000,"durationSeconds": 99,"postedAt": "2024-04-01T14:05:00Z","rank": 2,"hashtags": ["taiwan", "taipei", "taipeitaiwan", "streetfood", "taiwanfood", "nativety"],"soundTitle": "original sound - Native Ty Food","soundUrl": "https://www.tiktok.com/music/original-sound-native-ty-food-7352887503252163370","photos": null,"videoId": "7352887253321960746","keyword": "street food","scrapedAt": "2026-09-27T19:07:35Z"}
Notes:
rankcounts every video TikTok returned, including onespostedAfterfiltered out, so gaps are normal with a date filter.- TikTok rounds large counters on its web pages (269.9K plays shows as
269900); small numbers are exact. Now and then TikTok sends a video's plays, likes, shares and saves as 0 next to real comments; those come asnull. - Image links expire.
coverandphotosare signed by TikTok and stop working about 2 days after the run. Download the images you need soon after the run.
Run summary (OUTPUT)
{"results": 459,"inputs": [{"input": "street food", "status": "ok", "results": 216, "stopReason": "end", "keyword": "street food"},{"input": "skincare routine", "status": "ok", "results": 243, "stopReason": "end", "keyword": "skincare routine"},{"input": "porn", "status": "no_results", "results": 0, "stopReason": "no_results", "error": "TikTok shows no results for this keyword (it hides results for some terms)"}]}
status per keyword: ok, no_results (TikTok shows nothing, or hides results for that term), invalid, blocked (TikTok refused it on every retry; the run fails so you notice), stopped (your spending limit). stopReason: max_results, or end when TikTok showed no more videos. filteredOut counts videos dropped by postedAfter.
How many videos per keyword?
TikTok shows logged-out visitors a fixed list of roughly 150 to 250 videos per search, and it's the same list for every visitor (three separate visits to "street food" together added only 6%). For more coverage, add related keywords or long-tail variations ("street food bangkok", "street food nyc").
Pricing
Pay per result, no start fee and no minimum. Example: 1,000 videos cost $0.40 on the Starter plan.
| Your Apify plan | Per 1,000 videos |
|---|---|
| Free | $0.50 |
| Starter | $0.40 |
| Scale | $0.30 |
| Business | $0.25 |
You pay only for rows that reach your dataset. Keywords with no results and invalid inputs cost nothing. When your spending limit is reached, the run stops.
FAQ
Do I need a TikTok account? No. The Actor reads only what TikTok shows logged-out visitors.
Can I sort by date or by views? TikTok's web search doesn't offer that to logged-out visitors, so results come in TikTok's relevance order. Use postedAfter to keep recent videos, and sort on postedAt or plays after the run.
Why did a nonsense keyword return videos? TikTok falls back to loosely related videos when nothing matches well. Check caption and hashtags if you need exact matches.
The same video under two keywords? It gets a row under each keyword, each with its own rank.
Hashtags? Searching #booktok works like any keyword. For a hashtag's own feed plus its total views, use our TikTok Hashtag Videos API.
Feedback
Missing a field, or a result that doesn't look right? Open an issue on the Issues tab and we'll look into it. If the data helps you, a short review on this page helps other people find it.