TikTok Search Scraper
Pricing
from $1.60 / 1,000 results
TikTok Search Scraper
Scrape all public TikTok videos that use a given music/sound URL. Get captions, stats, covers, author profiles, and music details with pagination and proxy support.
Pricing
from $1.60 / 1,000 results
Rating
0.0
(0)
Developer
Alien Force
Maintained by CommunityActor stats
0
Bookmarked
15
Total users
4
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Overview
Scrape TikTok search results by keyword — videos or creators — in one Apify Actor.
The TikTok Search Scraper turns any TikTok keyword into clean, structured data: captions, views, likes, covers, music, and author profiles for the top videos TikTok lists for that keyword, or the creators behind them. Use it for content research, trend monitoring, influencer discovery, competitor tracking, or bulk export to CSV/JSON and your own pipelines.
Key Features
- TikTok keyword search scraper: Run one search query and pull the top public videos TikTok lists for it.
- Videos and creators: Scrape video posts with engagement stats and media links, or the creators behind them, with accounts whose username or name matches the query first.
- Smart keyword matching: When a phrase has no results of its own, the Actor tries close variants and TikTok's suggested keywords, and the status message names the keyword it used.
- Sort and date filters: Relevance, most liked, or latest — plus date-posted windows for videos.
- Results region: Pick the country whose results you want, wherever your proxy is.
- Fast and light: Runs on 512 MB with Apify datacenter proxies by default; most searches finish in seconds.
- Clear run reporting: Empty searches finish successfully with a
RUN_REPORTrecord; blocked runs fail with a clear message.
Input Schema
Input Properties
-
searchQuery- Type:
string(required) - Description: Keyword or phrase to search on TikTok (single query per run).
- Example:
"the rock"
- Type:
-
searchType- Type:
string - Description:
videosreturns the top videos for the query.usersreturns the creators behind those videos: accounts whose username or name matches the query come first, then accounts whose bio mentions it, then the rest by how many of the query's videos they posted and by follower count. Default isvideos. - Example:
"users"
- Type:
-
limit- Type:
integer - Description: Maximum number of results to save. TikTok lists about 100 top videos per query, so larger limits end there; creators repeat across videos, so
usersruns return fewer rows. Set to0to save everything available. Default is3. - Example:
50
- Type:
-
sortType- Type:
string - Description:
relevance(TikTok's order),mostLiked, orlatest. Sorting applies to the top videos TikTok lists for the query. Default isrelevance. Ignored forusers. - Example:
"mostLiked"
- Type:
-
datePosted- Type:
string - Description: Keep only videos posted within
24h,week,month,3months, or6months;allkeeps every date. The filter applies to the top videos TikTok lists for the query, so short windows can return fewer results. Default isall. Ignored forusers. - Example:
"week"
- Type:
-
region- Type:
string - Description: Two-letter code of the country whose TikTok results you want, for example
US,GB, orBR. Leave it empty to follow the Country picked in the proxy settings, or the United States when none is picked. - Example:
"US"
- Type:
-
proxyConfiguration- Type:
object - Description: Apify datacenter proxies work by default. For a few keywords TikTok lists more videos to IP addresses outside the United States — in our tests
catreturned 17 videos from US addresses and 91 through a United Kingdom residential proxy. For the fullest list on those keywords, pickRESIDENTIALwith a country outside the US and setregionto the country you want. Switch toRESIDENTIALproxies if requests get blocked. - Example:
{ "useApifyProxy": true }
- Type:
searchQuery is required.
Input Example
{"searchQuery": "the rock","searchType": "videos","limit": 50,"sortType": "mostLiked","datePosted": "all","region": "US","proxyConfiguration": {"useApifyProxy": true}}
United States results through a United Kingdom residential proxy, for the fullest list on keywords such as cat or minecraft:
{"searchQuery": "minecraft","limit": 0,"region": "US","proxyConfiguration": {"useApifyProxy": true,"apifyProxyGroups": ["RESIDENTIAL"],"apifyProxyCountry": "GB"}}
Output
One dataset row per result. The shape depends on searchType.
Common fields
| Field | Type | Description |
|---|---|---|
searchType | string | videos or users |
searchQuery | string | Search query used for the run |
Videos (searchType: "videos")
| Field | Type | Description |
|---|---|---|
id | string | Video ID |
desc | string | null | Caption |
createTime | integer | null | Create time (Unix timestamp, seconds) |
url | string | null | Canonical video URL |
author | object | null | Author details (id, uniqueId, nickname, signature, verified, avatarThumb, secUid) |
stats | object | null | Engagement (diggCount, shareCount, commentCount, playCount, collectCount) |
music | object | null | Music / sound (id, title, authorName, playUrl) |
video | object | null | Media (id, duration, cover, playAddr, downloadAddr, width, height) |
Users (searchType: "users")
| Field | Type | Description |
|---|---|---|
uid | string | null | User ID |
uniqueId | string | Username handle |
nickname | string | null | Display name |
signature | string | null | Bio |
followerCount | integer | null | Follower count |
heartCount | integer | null | Total likes on the profile |
verified | boolean | null | Verified flag |
avatar | string | null | Avatar URL |
secUid | string | null | Stable account ID |
profileUrl | string | null | Canonical profile URL |
Output Example (videos)
{"searchType": "videos","searchQuery": "the rock","id": "7707207880688160031","desc": "The Rock Hid a Terrifying Health Scare From His Own Wife for 24 Hours 😳💔 #USA #FYP #TheRockJohnson ...","createTime": 1794474245,"url": "https://www.tiktok.com/@benjamin.fortune1/video/7707207880688160031","author": {"id": "7668618665365652494","uniqueId": "benjamin.fortune1","nickname": "Benjamin Fortune","signature": null,"verified": false,"avatarThumb": "https://...","secUid": "MS4wLjABAAAAlQEoelTCAnsOFaodvLQpmMRNYC0FAaeqaF8o-9eteVSUpwAjahBwXQHRsqZ1KTTt"},"stats": {"diggCount": 11,"shareCount": 1,"commentCount": 0,"playCount": 1728,"collectCount": 2},"music": {"id": "7707208197517429535","title": "original sound","authorName": "Benjamin Fortune","playUrl": "https://..."},"video": {"id": "7707207880688160031","duration": 66,"cover": "https://...","playAddr": "https://...","downloadAddr": "https://...","width": 720,"height": 1280}}
Output Example (users)
{"searchType": "users","searchQuery": "the rock","uid": "6745191554350760966","uniqueId": "therock","nickname": "The Rock","signature": "CEO of #RockTok ...","followerCount": 80200000,"heartCount": 692200000,"verified": true,"avatar": "https://...","secUid": "MS4wLjABAAAAM3R2BtjzVT-uAtstkl2iugMzC6AtnpkojJbjiOdDDrdsTiTR75-8lyWJCY5VvDrZ","profileUrl": "https://www.tiktok.com/@therock"}
Some media fields (for example video.downloadAddr) may be null when TikTok leaves them out. Play, cover, and download URLs expire after a few hours; fetch the files promptly if you need them.
Limits
- TikTok lists about 100 top videos per keyword (70–99 across 30 popular keywords in our tests), so larger limits end there.
latestanddatePostedwork on that list: they surface the newest of TikTok's top videos for the keyword.- Every row is a video post; photo (carousel) posts are left out.
- For a few keywords TikTok lists fewer videos to US IP addresses; see
proxyConfigurationabove for the fix.
Handling of empty and blocked runs
Empty and failed outcomes stay out of the dataset. They show up in the log and in the RUN_REPORT record in the run's key-value store.
- No results for the query: the Actor tries the phrase as written, close variants, then TikTok's suggested keywords. If none has results, the run succeeds with 0 rows and a
RUN_REPORTthat says so. - Results from a related keyword: the status message names it, for example
Scraped 3 video(s) for "dance" (results for "dance videos"). - No videos in the date window: the run succeeds with 0 rows and a
RUN_REPORTmessage such asNo videos for "cat" were posted in the past 24 hours. - Blocked requests: retried automatically on fresh proxy IPs. If nothing could be scraped, the run fails with a message suggesting
RESIDENTIALproxies. - Partial success: if later pages stop, the rows already saved stay in the dataset.
Each skipped entry has a reason of emptySearch or scrapeFailed. keyword names the keyword the results came from, when there were any.
{"itemsScraped": 0,"keyword": null,"skippedCount": 1,"skipped": [{"searchQuery": "zxqv wlorp blenk","searchType": "videos","reason": "emptySearch","message": "TikTok has no results for \"zxqv wlorp blenk\"."}],"emptySearch": true,"finishedAt": "2026-11-12T13:53:03.049Z"}