TikTok Search Scraper avatar

TikTok Search Scraper

Pricing

Pay per event

Go to Apify Store
TikTok Search Scraper

TikTok Search Scraper

Search TikTok by keyword. Extract videos with play counts, likes, comments, author info, and music metadata. Supports video and user search modes. Pay per result, no login required.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Stas Persiianenko

Stas Persiianenko

Maintained by Community

Actor stats

0

Bookmarked

11

Total users

9

Monthly active users

5 days ago

Last modified

Categories

Share

Search TikTok by keyword. Extract videos, engagement metrics, author info, and music metadata from TikTok search results. Supports both video and user search modes. No login required.

What does TikTok Search Scraper do?

TikTok Search Scraper finds content on TikTok by keyword — like searching directly on TikTok.com, but returning structured data you can analyze, export, and integrate into workflows. Enter your search keywords, and the scraper navigates to TikTok's search page, intercepts internal API responses, and returns rich, structured data about every result.

The scraper uses Playwright with residential proxies to load TikTok search pages in a real browser, then captures data from TikTok's internal search API as the page loads and scrolls. This approach ensures you get the same results a real user would see.

Who is TikTok Search Scraper for?

📣 Social media marketers and brand managers

  • Monitor brand mentions and competitor campaigns on TikTok in real time
  • Track how your hashtag campaigns are performing versus competitors
  • Identify which content formats and angles resonate with your target audience

🌟 Influencer agencies and talent scouts

  • Discover rising creators producing content in specific niches before they go mainstream
  • Build prospect lists by searching for creators in any topic area
  • Analyze author metrics (followers, total likes, video count) to rank creators by reach

🔎 Market researchers and analysts

  • Map TikTok trends for any topic — compare volume and engagement over time
  • Build training datasets for social media trend prediction models
  • Measure sentiment and content patterns around any keyword or topic

🎬 Content creators and strategists

  • Research what's working in your niche before creating new content
  • Find viral video formulas by analyzing top-performing search results
  • Discover underserved topics with less competition but strong engagement

Why use TikTok Search Scraper?

  • 🔓 No login required — scrapes public search results without TikTok credentials
  • 🔍 Real search results — returns exactly what TikTok shows for your query
  • 📦 30+ fields per video — captions, engagement metrics, author details, music metadata, hashtags
  • 👥 Video + user search — search for videos or TikTok accounts by keyword
  • Multiple keywords — run batch searches across many topics in a single run
  • 📈 Full engagement data — plays, likes, comments, shares, saves, and reposts
  • 💰 Pay per result — only pay for results actually extracted, no flat subscription fees

How much does it cost to search TikTok?

TikTok Search Scraper uses pay-per-event pricing — you pay only for results extracted, no flat subscription fee. All proxy and compute costs are included.

FreeStarter ($29/mo)Scale ($199/mo)Business ($999/mo)
Per result$0.0173$0.0150$0.0117$0.0090
100 results$1.73$1.50$1.17$0.90

Plus a one-time $0.025 run start fee per scraper run.

Real-world cost examples:

SearchResultsCost (Free tier)Cost (Starter)
"cooking recipes" — 10 videos10~$0.20~$0.18
"fitness motivation" — 30 videos30~$0.54~$0.48
3 keywords × 20 videos each60~$1.06~$0.93

Apify Free plan users get $5/month in free credits — enough for about 280 results.

Data you can extract

Video search results

FieldDescription
idTikTok video ID
textVideo caption/description
createTimeUnix timestamp of video creation
createTimeISOISO 8601 formatted creation date
webVideoUrlDirect link to the video on TikTok
playCountNumber of video plays
diggCountNumber of likes
commentCountNumber of comments
shareCountNumber of shares
collectCountNumber of saves/bookmarks
repostCountNumber of reposts
authorMetaAuthor profile data (name, followers, verified status, avatar)
musicMetaMusic/audio metadata (track name, artist, album)
videoMetaVideo technical data (resolution, duration, cover image)
hashtagsList of hashtags used in the video
mentionsList of mentioned users
isAdWhether the video is an advertisement
isSlideshowWhether the video is a slideshow/carousel
keywordThe search keyword that returned this result
scrapedAtTimestamp when the data was collected

User search results

FieldDescription
idTikTok user ID
usernameTikTok handle (unique ID)
nicknameDisplay name
profileUrlDirect link to the user's profile
avatarProfile picture URL
signatureUser bio/description
verifiedWhether the account is verified
followersNumber of followers
followingNumber of accounts followed
likesTotal likes received
videoCountNumber of videos posted
keywordThe search keyword that returned this result
scrapedAtTimestamp when the data was collected

How to search TikTok with this scraper

  1. Go to TikTok Search Scraper on Apify Store
  2. Click Try for free
  3. Enter your search keywords (e.g., "cooking recipes", "fitness tips")
  4. Set the maximum number of results per keyword (default: 30)
  5. Choose search type: Videos or Users/Accounts
  6. Click Start and wait for results
  7. Download your data as JSON, CSV, Excel, or connect it to your workflow

Input configuration

FieldTypeDescriptionDefault
keywordsstring[]List of keywords to search on TikTokrequired
maxResultsPerKeywordintegerMax results to extract per keyword (1–500)30
searchTypestringType of search: video or uservideo
proxyobjectProxy settings (residential recommended)Auto

Example input

{
"keywords": ["cooking recipes", "fitness motivation"],
"maxResultsPerKeyword": 30,
"searchType": "video"
}

Output example

Video result

{
"id": "7345678901234567890",
"text": "Easy 15-minute pasta recipe 🍝 #cooking #recipe #pasta",
"createTime": 1709500800,
"createTimeISO": "2024-03-04T00:00:00.000Z",
"webVideoUrl": "https://www.tiktok.com/@chefmaria/video/7345678901234567890",
"playCount": 2450000,
"diggCount": 185000,
"commentCount": 3420,
"shareCount": 12500,
"collectCount": 45000,
"repostCount": 890,
"authorMeta": {
"id": "6812345678901234567",
"name": "chefmaria",
"profileUrl": "https://www.tiktok.com/@chefmaria",
"nickName": "Chef Maria",
"verified": true,
"signature": "Home cook sharing daily recipes",
"avatar": "https://p16-sign-va.tiktokcdn.com/...",
"following": 245,
"fans": 890000,
"heart": 15200000,
"videoCount": 342
},
"musicMeta": {
"musicName": "original sound",
"musicAuthor": "chefmaria",
"musicOriginal": true,
"musicAlbum": "",
"musicId": "7345678901234567891"
},
"videoMeta": {
"height": 1024,
"width": 576,
"duration": 45,
"coverUrl": "https://p16-sign-va.tiktokcdn.com/...",
"definition": "720p"
},
"hashtags": ["cooking", "recipe", "pasta"],
"mentions": [],
"isAd": false,
"isSlideshow": false,
"keyword": "cooking recipes",
"scrapedAt": "2026-03-27T10:30:00.000Z"
}

User result

{
"id": "6812345678901234567",
"username": "chefmaria",
"nickname": "Chef Maria",
"profileUrl": "https://www.tiktok.com/@chefmaria",
"avatar": "https://p16-sign-va.tiktokcdn.com/...",
"signature": "Home cook sharing daily recipes",
"verified": true,
"followers": 890000,
"following": 245,
"likes": 15200000,
"videoCount": 342,
"keyword": "cooking recipes",
"scrapedAt": "2026-03-27T10:30:00.000Z"
}

Tips for best results

  • 🎯 Be specific with keywords — "vegan meal prep" returns more relevant results than "food"
  • 📏 Start small — test with 10 results first, then scale up once you verify the output matches your needs
  • 🔄 Use multiple keywords — add several related terms to build a comprehensive dataset
  • 👥 Try user search — when looking for influencers or accounts in a niche, switch to user search type
  • 💡 Combine with other scrapers — use TikTok Search to discover videos, then use TikTok Comments Scraper for comment analysis

Integrations

TikTok Search Scraper → Google Sheets Schedule daily keyword searches and export results to Sheets for your content calendar. Track which topics gain traction week over week using the built-in scheduling feature.

TikTok Search Scraper → Slack alerts Connect via Zapier or Make: run a keyword search, filter for videos over 1M plays, and push summaries to your Slack channel. Useful for brand monitoring or competitive intelligence.

TikTok Search Scraper → TikTok Comments Scraper pipeline Discover trending videos with this actor, then feed their URLs into TikTok Comments Scraper to analyze audience sentiment for those exact videos.

TikTok Search Scraper → CRM / lead enrichment Search for TikTok users by niche keyword to build influencer prospect lists, then export to your CRM for outreach. Combined with follower counts and verification status.

Scheduled trend monitoring Use Apify's built-in Scheduler to run keyword searches daily or weekly. Compare results over time to spot emerging topics in your industry before they peak.

Using TikTok Search Scraper with the API

Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('automation-lab/tiktok-search-scraper').call({
keywords: ['cooking recipes'],
maxResultsPerKeyword: 30,
searchType: 'video',
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python

from apify_client import ApifyClient
client = ApifyClient('YOUR_API_TOKEN')
run = client.actor('automation-lab/tiktok-search-scraper').call(run_input={
'keywords': ['cooking recipes'],
'maxResultsPerKeyword': 30,
'searchType': 'video',
})
items = client.dataset(run['defaultDatasetId']).list_items().items
print(items)

cURL

curl "https://api.apify.com/v2/acts/automation-lab~tiktok-search-scraper/runs" \
-X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{
"keywords": ["cooking recipes"],
"maxResultsPerKeyword": 30,
"searchType": "video"
}'

Use with AI agents via MCP

TikTok Search Scraper is available as a tool for AI assistants that support the Model Context Protocol (MCP).

Add the Apify MCP server to your AI client — this gives you access to all Apify actors, including this one:

Setup for Claude Code

$claude mcp add --transport http apify "https://mcp.apify.com"

Setup for Claude Desktop, Cursor, or VS Code

Add this to your MCP config file:

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com"
}
}
}

Your AI assistant will use OAuth to authenticate with your Apify account on first use.

Example prompts

Once connected, try asking your AI assistant:

  • "Use automation-lab/tiktok-search-scraper to find the top 20 TikTok videos about 'sustainable fashion' and show me the most viewed ones"
  • "Search TikTok for 'home workouts' and give me a summary of which hashtags appear most frequently"
  • "Find TikTok creators posting content about 'photography tips' — use user search mode and list them by follower count"

Learn more in the Apify MCP documentation.

TikTok Search Scraper accesses only publicly available content — the same data any visitor sees when searching on TikTok.com without logging in. Web scraping of public data is generally considered legal, as established by the U.S. Ninth Circuit's ruling in hiQ Labs v. LinkedIn (2022).

This scraper does not:

  • Access private or restricted content
  • Bypass authentication or paywalls
  • Violate GDPR or collect personal data beyond what is publicly displayed
  • Download or redistribute copyrighted video content

Always review and comply with TikTok's Terms of Service and applicable laws in your jurisdiction before scraping.

FAQ

How many results can I get per keyword? You can extract up to 500 results per keyword. TikTok typically returns 12–20 results per page scroll, so larger requests take proportionally longer.

Why am I getting fewer results than expected? TikTok may return fewer results for very niche or new keywords. The scraper extracts everything TikTok shows — if TikTok only has 15 results for your query, that's all you'll get.

Can I search for hashtags? For hashtag-based scraping, use our dedicated TikTok Hashtag Scraper which is optimized for that use case. This scraper is designed for keyword/topic search queries.

Does it work without proxies? The scraper is configured to use residential proxies by default, which is recommended for reliable TikTok access. Without proxies, you may encounter captchas or blocks.

The scraper returned 0 results — what happened? This usually means TikTok showed a captcha or bot detection page. The scraper automatically retires the session and retries up to 3 times. If results are still 0, try running again in a few minutes — TikTok's bot detection is session-dependent and resolves on retry.

Why do some videos have 0 for play counts or likes? Very new videos (posted in the last few hours) may not yet have propagated engagement stats in TikTok's API. You'll see the correct counts if you re-run after a few hours. Fields like fans, following, and videoCount on authors are always populated if the author has activity.

Can I schedule recurring searches? Yes! Use Apify's built-in scheduling to run searches hourly, daily, or weekly. This is useful for monitoring trends or tracking brand mentions over time.

Other TikTok tools:

Other social media scrapers: