TikTok Search API ๐Ÿ”ฅ avatar

TikTok Search API ๐Ÿ”ฅ

Pricing

from $0.25 / 1,000 results

Go to Apify Store
TikTok Search API ๐Ÿ”ฅ

TikTok Search API ๐Ÿ”ฅ

The fastest and cheapest way to search TikTok by keyword. Extract video data, engagement stats, and creator info.

Pricing

from $0.25 / 1,000 results

Rating

5.0

(1)

Developer

Sentry

Sentry

Maintained by Community

Actor stats

0

Bookmarked

7

Total users

4

Monthly active users

1.2 days

Issues response

13 days ago

Last modified

Share

Search TikTok by keyword and extract structured video data programmatically. The fastest and most affordable way to get TikTok search results on Apify โ€” and a practical replacement for TikTok's deprecated developer API.


Data returned

For every video matching your search keywords:

FieldDescription
urlDirect link to the TikTok video
descFull caption / description
createdAtUpload date (ISO 8601)
coverThumbnail image URL
dynamicCoverAnimated thumbnail URL
videoUrlPlayable video URL
durationVideo length in seconds
authorUsername (@handle)
nicknameDisplay name
verifiedVerified account status
avatarProfile picture URL
followersFollower count
followingFollowing count
videoCountTotal videos published
playsView count
likesLike count
commentsComment count
sharesShare count
bookmarksSave/bookmark count
hashtagsArray of hashtag strings
musicTitleBackground track name
musicAuthorMusic creator
musicUrlMusic playback URL
keywordSearch keyword that matched this video
idTikTok video ID
embedUrlEmbeddable player URL

Input

{
"keywords": ["cosplay", "street food", "gym motivation"],
"maxVideosPerKeyword": 100,
"maxVideosTotal": 1000,
"sortOrder": "mostRecent",
"datePosted": "thisMonth"
}
ParameterTypeDefaultDescription
keywordsstring[]โ€”One or more search terms. Required.
maxVideosPerKeywordinteger100Cap per keyword โ€” set as high as you need
maxVideosTotalinteger1000Hard cap across all keywords combined
sortOrderstringrelevancerelevance, mostRecent, or mostViews
datePostedstringallTimeallTime, today, thisWeek, thisMonth, 3months, 6months
includePhotoPostsbooleanfalseInclude photo carousel posts alongside videos
sessionCookiestringโ€”Advanced: your own TikTok session for personalised results

Output example

{
"keyword": "cosplay",
"id": "7384920183746251051",
"url": "https://www.tiktok.com/@mayacosplays/video/7384920183746251051",
"desc": "POV: you spent 3 months on this armor #cosplay #anime #handmade",
"createdAt": "2024-06-15T14:22:10Z",
"duration": 28,
"cover": "https://p16-sign.tiktokcdn-us.com/...",
"author": "mayacosplays",
"nickname": "Maya Cosplays",
"verified": false,
"followers": 284000,
"following": 412,
"plays": 1820000,
"likes": 94300,
"comments": 1240,
"shares": 8700,
"bookmarks": 12500,
"hashtags": ["cosplay", "anime", "handmade"],
"musicTitle": "original sound",
"musicAuthor": "mayacosplays"
}

Use cases

Content research โ€” find what's trending in any niche right now, 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 โ€” monitor search volume and sentiment around a brand, product, or category 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.


Pricing

Charged per result โ€” no minimum run fee, no flat cost per execution. You pay for what you collect and nothing more. At current rates, this is the lowest cost-per-result of any TikTok search scraper on Apify.


FAQ

Is there an official TikTok search API? TikTok's developer API does not expose search. This actor provides the same programmatic access to TikTok search results that TikTok's API never offered โ€” structured, typed data ready to use without any parsing.

What happened to the TikTok developer API? TikTok restricted and eventually shut down most of their public developer API access. This actor is designed specifically to fill that gap for developers and researchers who need TikTok search data programmatically.

How fast is it? Around 3โ€“5 seconds for 100 results. Multiple keywords are searched in a single run with results sorted globally at the end.

How does the cost compare to other TikTok scrapers? This actor consistently runs faster and costs less per result than alternatives on Apify. Because it requires no proxy and no browser, overhead is minimal and that saving passes directly to your bill.

Does it require a TikTok account or login? No. It works without any credentials by default.

Does it require a proxy? No. It runs reliably on standard Apify infrastructure without any proxy configuration or added cost.

How many results can I get per keyword? It depends entirely on how many results TikTok has indexed for that search term โ€” some keywords return dozens, others return thousands. The actor paginates automatically until TikTok has no more results or your limit is reached. Set maxVideosPerKeyword as high as you need.

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.

Can I filter by date or sort by views? Yes. Use datePosted to filter to recent content (today, this week, this month, 3 months, 6 months) and sortOrder to sort by most recent or most viewed.

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 follower counts and engagement stats accurate? Yes. All numeric fields are real integers, not strings or approximations. Follower counts, view counts, like counts, and comment counts are exact values as returned by TikTok.

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.