Apify Tiktok Scraper
Pricing
from $0.01 / 1,000 results
Apify Tiktok Scraper
Pricing
from $0.01 / 1,000 results
The type of scraping to perform. 'search' for keyword search, 'hashtag' for hashtag feeds, 'profile' for user profile feeds.
List of search queries, hashtags (with #), or usernames (with @) to scrape.
[ "SamsungGalaxyS25Ultra"]Maximum number of items to scrape per query. Default is 200.
TikTok session cookies in one of these formats: 1) Raw Cookie header string, 2) JSON array (EditThisCookie/Playwright format), 3) Netscape cookies.txt format. Required fields: sessionid, sessionid_ss, sid_tt, sid_guard.
Sort search results by relevance or latest posts.
Server-side time filter for search mode: all, 1 day, 7 days, 30 days, 90 days, or 180 days.
Only keep posts published on or after this date. Accepts 'YYYY-MM-DD' or an ISO datetime string (e.g. '2025-01-01' or '2025-01-01T00:00:00Z'). Applied client-side to all modes; can be combined with dateTo.
Only keep posts published on or before this date. Accepts 'YYYY-MM-DD' (inclusive, through end of day UTC) or an ISO datetime string. Applied client-side to all modes; can be combined with dateFrom.
ISO language code used to scope search results (sets the lang URL parameter and the browser locale). Default is 'id' (Indonesian).
Whether to scrape comments for each video.
Whether to download media files to KV store (video URLs expire in ~2 hours).
'compat' matches the Threads-style schema, 'native' is full TikTok data, 'both' includes all fields.
Comments Per Post
commentsPerPost
Optional
Maximum number of comments to scrape per video.