TikTok Search API & Scraper: Video Search by Keyword
Pricing
from $0.17 / 1,000 results
TikTok Search API & Scraper: Video Search by Keyword
TikTok search scraper and API: search TikTok videos by keyword; get views, likes, comments, shares, saves, caption, hashtags, music, date, video URL, creator followers. Sort: relevance, newest or most viewed. $0.24 per 1,000 videos on Starter, 12x cheaper than the most-used TikTok scraper. No login.
Pricing
from $0.17 / 1,000 results
Rating
5.0
(1)
Developer
DeepMine
Maintained by CommunityActor stats
1
Bookmarked
1.4K
Total users
858
Monthly active users
an hour ago
Last modified
Categories
Features
Share
TikTok Search API: Video Search by Keyword
Search TikTok videos by keyword and get each video's views, likes, comments, shares, saves, caption, hashtags, music, upload date and video URL, plus the creator's followers. It searches logged out: no TikTok account, cookies or proxy setup needed.
$0.24 per 1,000 videos on the Starter plan ($0.25 Free, $0.21 Scale, $0.17 Business), with no start fee and no add-on charges: every option below is included in that price. The prefilled run (street food + cosplay, 50 each, 100 videos) costs about $0.024 on Starter.
- Deep: TikTok ends one search at about 140 videos. Turn on Expand with related searches and the run also searches TikTok's own related phrasings of your keyword until it reaches your max, so one keyword can go well past 140.
- Keywords and hashtags: search words,
#hashtags, or both in one run. A hashtag search is TikTok's own search for the tag, ranked by relevance, so it also returns related videos without the tag; turn on Only videos with the exact hashtag to keep just the tagged ones (the others are not charged). - Distinct creators: One video per creator or Max videos per creator keep one busy account from filling your results. Videos left out are not charged.
- Reliable: when TikTok refuses searches for a few minutes, the run waits and retries on a fresh session instead of failing. You pay only for videos saved.
Real rows from one street food search:
Creator (author) | Caption (desc, shortened) | Views (plays) | Likes | Comments | Shares | Creator followers | Posted (createdAt) |
|---|---|---|---|---|---|---|---|
| @streetfoodiee | #streetfood #jajananstreetfood … | 25.7M | 466.7K | 7,538 | 20.1K | 512.7K | 2024-04-08 |
| @hughabroad | $0.70 burger 🍔 #hughabroad #streetfood | 4.6M | 139K | 1,054 | 4,512 | 1.6M | 2025-11-05 |
| @juderusga | $30 street bread! #mexico🇲🇽 #mexicocity … | 886.8K | 101.3K | 718 | 1,499 | 530.7K | 2026-04-14 |
| @dereats | Found a local street stall in China selling a $4 sirloin spaghetti set … | 121.7K | 5,725 | 55 | 412 | 2,671 | 2026-07-15 |
Next step with the videos you found (same account, no login, pay per result):
- More from the same creators, hashtags or links: paste the
authornames into TikTok Scraper for more videos from the same creators, or theurlfields into TikTok Comments Scraper for the comments under them. - The creators: pass the
authorfields to TikTok Profile Scraper for each creator's videos and exact profile counts (followers, total likes, bio link, join date). - Fresh stats for a list of videos: pass the
urlfields to TikTok Video Scraper to re-read plays and likes later, with the country each was posted from. - What viewers say: pass the
urlfields to TikTok Comments Scraper for comments and replies, buyer questions flagged. - Accounts instead of videos: TikTok User Search Scraper returns the accounts TikTok's Users tab shows for a keyword.
- This Actor or TikTok Video Search Scraper? Same search, same price. Here: compact rows,
matchedKeywordsfor videos several keywords found, a run-widemaxVideosTotal, photo posts on request. Video Search: each video'srankin TikTok's results, apostedAfterdate filter, photo posts with their images, and the same column names as our Profile, Hashtag and Sound Actors, so their datasets join without mapping.
Data returned
For every video matching your search keywords:
| Field | Description |
|---|---|
url | Direct link to the TikTok video |
desc | Full caption / description |
shortDesc | Caption cut to 120 characters, for tables |
captionLanguage | Language of the caption, as TikTok detects it (e.g. en, ko) |
createdAt | Upload date (ISO 8601) |
duration | Video length in seconds |
width, height, definition | Video size in pixels and quality (e.g. 720p) |
cover | Thumbnail image URL |
dynamicCover | Animated thumbnail URL |
videoUrl | The video file (MP4, best H.264 quality TikTok lists). Opens without cookies, from any IP; the link is signed and expires, so download soon after the run. null for photo posts |
hasCaptions, captionLanguages | Whether TikTok has captions for the video, and in which languages (e.g. eng-US) |
isAiGenerated | TikTok labels the post as AI-generated |
placeName, placeAddress | The place tagged on the video, when there is one |
country | Country the video was posted from, when TikTok's search answer includes it (usually null) |
authorId | Creator's TikTok user ID |
author | Username (@handle) |
nickname | Display name |
verified | Verified account status |
avatar | Profile picture URL |
authorBio | The creator's profile bio |
authorPrivate | The creator's account is private |
followers | Follower count |
following | Following count |
videoCount | Total videos published |
authorLikes | Total likes across the creator's videos |
plays | View count |
likes | Like count |
comments | Comment count |
shares | Share count |
bookmarks | Save/bookmark count |
reposts | Repost count |
hashtags | Array of hashtag strings |
musicTitle | Background track name |
musicAuthor | Music creator |
soundUrl | The sound's TikTok page (every video that uses it) |
soundIsOriginal, soundAlbum | Whether the sound is the creator's own, and the album of a licensed track |
soundId | TikTok sound ID |
musicUrl | Always null since October 2026: TikTok's audio link only opens for the visitor that loaded it. Use soundUrl |
keyword | Search keyword that matched this video |
matchedKeywords | Every keyword in the run that found this video (one row and one charge per video) |
id | TikTok video ID |
embedUrl | Embeddable player URL |
Input
{"keywords": ["street food", "gym motivation"],"hashtags": ["foodtruck"],"maxVideosPerKeyword": 400,"expandRelatedSearches": true,"maxVideosPerAuthor": 2,"maxVideosTotal": 2000,"sortOrder": "mostViews","datePosted": "allTime"}
| Parameter | Type | Default | Description |
|---|---|---|---|
keywords | string[] | — | One or more search terms (give keywords, hashtags or both) |
hashtags | string[] | — | Hashtags to search, with or without #. Rows carry them as keyword, e.g. #foodtruck. TikTok's relevance search for the tag: it also returns related videos without the tag |
exactHashtagOnly | boolean | false | Keep only videos that carry the hashtag in their hashtags or caption; the others are left out and not charged, so a hashtag can return fewer than your max |
expandRelatedSearches | boolean | false | When a keyword runs out before its max, also search TikTok's related phrasings of it and add their new videos (rows keep your keyword) |
uniqueAuthors | boolean | false | Keep only the first video of each creator across the run |
maxVideosPerAuthor | integer | — | Keep at most this many videos per creator across the run |
maxVideosPerKeyword | integer | 100 | Cap per keyword — set as high as you need |
maxVideosTotal | integer | 1000 | Hard cap across all keywords combined |
sortOrder | string | relevance | relevance keeps TikTok's order; mostRecent and mostViews re-sort the collected videos |
datePosted | string | allTime | allTime, today, thisWeek, thisMonth, 3months, 6months (applied to the collected videos, so a narrow window can return fewer than your max) |
includePhotoPosts | boolean | false | Include photo carousel posts alongside videos |
Output example
{"keyword": "street food","matchedKeywords": ["street food"],"id": "7566677026967538966","url": "https://www.tiktok.com/@hughabroad/video/7566677026967538966","desc": "$0.70 burger 🍔 #hughabroad #streetfood","createdAt": "2025-11-05T23:00:00Z","duration": 86,"author": "hughabroad","nickname": "Hugh Abroad","verified": false,"followers": 1600000,"videoCount": 911,"authorLikes": 79600000,"plays": 4600000,"likes": 139000,"comments": 1054,"shares": 4512,"bookmarks": 7757,"hashtags": ["streetfood"],"musicTitle": "original sound - Hugh Abroad"}
Shortened: the real record also has every other field in the table above (videoUrl, soundUrl, authorBio, reposts, captionLanguages, placeName...). The Console's All fields view shows them all.
Who uses it
Marketing and social teams track a niche, a brand or a campaign hashtag and see which videos and creators lead it.
Influencer agencies search a topic with One video per creator on and get a list of distinct creators with follower counts, ready for outreach.
Data and research teams pull thousands of videos per topic on a schedule for dashboards, trend models or training data.
AI agents and assistants call it as a tool over Apify's MCP server (Claude, ChatGPT, Cursor and other MCP clients): "find the 200 most viewed street food videos this month" becomes one tool call that returns typed rows.
Content research — see what's working in any niche, filtered by date or sorted by views.
Influencer discovery — search by topic and filter by engagement metrics and follower counts to find creators worth reaching out to.
Competitor monitoring — track what videos are being published in your space, who's gaining traction, and how audiences are responding.
Market research — watch how many videos, views and comments a brand, product or category gets over time.
Social listening — track keywords, hashtags, and topics across TikTok at scale.
Dataset building — collect labeled TikTok video data for machine learning, classification, or analysis projects.
Trend detection — pull recent videos on a keyword and watch engagement patterns to catch rising topics early.
Integrations
- API: start a run and read the dataset with one HTTP call (
POST https://api.apify.com/v2/acts/deepmine~tiktok-search-api/run-sync-get-dataset-items?token=...with the input as the body), or use Apify's Python and JavaScript clients. - MCP: add
deepmine/tiktok-search-apito Apify's MCP server and any MCP client can search TikTok. - No-code: Apify's n8n, Make and Zapier integrations start runs and pass the rows on; Google Sheets, Slack and webhooks are built into the Console's Integrations tab.
- Schedules: run the same keywords every day or hour from the Console's Schedules page;
createdAtanddatePostedkeep each run to recent videos. - Exports: JSON, CSV, Excel, XML or RSS from the dataset, or straight into your own storage.
Reliability: what happens when something goes wrong
- TikTok refuses a request: the run tries a different connection for temporary refusals and timeouts. If TikTok still does not answer, the run stops retrying and reports the interruption.
- TikTok stops partway: the run keeps and delivers every video it found, and the status message names the keyword and suggests trying it again later.
- Nothing found: a keyword TikTok has no results for, or one it restricts, ends as a successful run with a clear message, and you pay nothing.
- Time limit: close to your run's timeout the run stops searching and saves what it found, so a short timeout never loses the videos already collected.
- Charges: you pay per video saved to the dataset, once per video per run (even when several keywords or phrasings find it). Skipped videos and refused searches cost nothing.
Related Actors
- Profiles, hashtags and search in one Actor: TikTok Scraper takes keywords, hashtags, profiles and video links in one run.
- Every video of a creator you found: TikTok Profile Scraper returns a profile's details and its videos.
- The video files: TikTok Video Downloader gives the direct MP4 link without the watermark.
- The same topic on Instagram and YouTube: Instagram Scraper and YouTube Scraper.
- The same keywords on Threads: Threads Search Scraper returns the Threads posts that match a keyword or hashtag, with likes, replies and dates.
- Comments under the videos you found: pass the
urlfields to TikTok Comments Scraper. - The same brand on Facebook: Facebook Posts Scraper returns a page's public posts with reactions, comments and shares, to read next to the videos you found.
- What people say about it on Reddit: Reddit Scraper exports Reddit posts and comment threads for the same keyword.
- Local businesses behind a trend: Google Maps Scraper finds businesses by category and city, with phones, websites and ratings.
- What is said in the videos: TikTok Transcript API returns the transcript from TikTok's own captions.
Pricing
One price per video saved, with no start fee and no add-ons: expand, hashtags and the creator limits are included.
| Apify plan | Per 1,000 videos | 4,000 videos (10 keywords × 400, expand on) |
|---|---|---|
| Free | $0.25 | — (Free runs stop at 50 videos) |
| Starter | $0.24 | $0.96 |
| Scale | $0.21 | $0.84 |
| Business | $0.17 | $0.68 |
You pay only for videos saved to the dataset, and a video found by several keywords is charged once. Set a maximum cost per run in the Console and the run stops there.
FAQ
Is there an official TikTok search API? TikTok's official Research API includes video search, but only for approved academic researchers. This Actor gives you the public search results TikTok's website shows, as structured data, with no application or approval.
Does it require a TikTok account or login? No. It searches TikTok logged out and never asks for your cookies or credentials.
Does it require a proxy? No proxy configuration is required from you.
How many results can I get per keyword?
Logged out, TikTok ends one search at about 140 videos (street food: 140 on 2026-11-16). With Expand with related searches on, the run goes on with TikTok's own related phrasings of your keyword (for street food: street food india, street food asia...) until it reaches your max or the related searches run out. Every row keeps your keyword, and a video found twice is saved and charged once.
Logged out, TikTok shows only one page for some broad words such as anime, cat or makeup, and that page is mostly photo posts (anime: 9 videos and 51 photo posts). The run's status message names any keyword whose results ended early. A more specific keyword goes deeper (anime edit returned 150 of 150), and Include photo posts returns the photo posts as well.
Can I search multiple keywords at once?
Yes — pass an array and every keyword is searched in one run, with all results combined into a single dataset. A video found under several keywords is one row and one charge: keyword is the first keyword that found it and matchedKeywords lists every keyword that did.
Can I filter by date or sort by views?
Yes. Use datePosted to keep recent videos (today, this week, this month, 3 months, 6 months) and sortOrder to sort by most recent or most viewed. Both apply to the videos collected for your keyword.
How fresh are the results? Results come directly from TikTok's live search index — the same videos you'd see searching on TikTok.com at that moment.
Are the counts exact?
They're whole numbers exactly as TikTok returns them. TikTok itself rounds large counts, so views and followers often look like 25700000.
What regions does it cover? Defaults to US region results. TikTok's search index includes global public content.
Is the data ready to use without further processing? Yes. Every field is typed — integers are integers, dates are ISO 8601 strings, booleans are booleans. Drop it straight into a spreadsheet, database, or downstream API.
How do I leave feedback? If the data helped, a short review on the Actor's Store page helps other buyers find it. Found a problem? Open an issue on the Issues tab and we'll fix it.
Calling it via API?
Use deepmine/tiktok-search-api (was sentry/tiktok-search-api before September 3, 2026), or the Actor ID 1SpIR6vF0cL8oUfaU, which never changed.
⭐ Getting good results? Rate this Actor: it takes 10 seconds and helps others find it.