AS
Apify Store
/epctex/tiktok-search-scraper
Tiktok Search Scraper
Unleash the power of data extraction with our advanced TikTok Search Scraper. Gather videos, hashtags, posts, URLs, share numbers, followers, hearts, names, music-related data, and more. Download data
liveasyncunknown~30s typical
social mediaseo toolstiktoksearch
$0.00038
per result + $0.005 call
plus $0.001 platform fee per run
Actor charges $0.0003 per result; Cracked adds 25% plus a $0.005 call fee
Bring your own Apify Store key: provider portion drops to $0.
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run apify /epctex/tiktok-search-scraper for me.
Input
| Field | Type | Description |
|---|---|---|
| search | array | TikTok search keywords to query (e.g. anime, music). Each keyword triggers a Search Query charge. |
| startUrls | array | TikTok search URLs to scrape directly. Each URL triggers a Search Query charge. |
| maxItems | integer | Maximum total posts to output across entire run. |
| endPage | integer | The page number that you want to end with. By default there is no end page. |
| dateRange | string (DEFAULT | ALL_TIME | YESTERDAY | THIS_WEEK | THIS_MONTH | LAST_THREE_MONTHS) | Date range for search. It uses the standard date filtering of TikTok search. |
| location | string (AF | AL | DZ | AS | AD | AO) | ISO 3166-1 alpha-2 country code to retrieve results from specific region. Useful for geo-targeted content research and regional trend analysis. |
| sortType | string (RELEVANCE | MOST_LIKED | DATE_POSTED) | Sort order for search results: Relevance, Most Liked, or Date Posted. |
| customMapFunction | string | JavaScript function to transform each output post. Use to add computed fields, modify values, or remove unnecessary data. NOT intended for filtering - filtering may result in automatic bans. Must be a single function, e.g. (object) => { return {...object} }. Leave empty if you do not need to transform the output - an unusable function is ignored and the original items are saved instead. |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"apify","endpoint":"/epctex/tiktok-search-scraper","input":{"search":["anime","tiktok"],"startUrls":["https://www.tiktok.com/search?q=music&t=1670685477846","https://www.tiktok.com/search?q=dance&t=1670685484412"],"maxItems":3,"endPage":1,"dateRange":"DEFAULT","location":"US","sortType":"RELEVANCE","customMapFunction":"(object) => { return {...object} }"},"wait":false}'poll
curl "https://cracked-ai-pearl.vercel.app/v1/runs/<runId>?wait=30" -H "Authorization: Bearer ck_live_..."cli
npx cracked-ai run -p apify -e /epctex/tiktok-search-scraper -i '{"search":["anime","tiktok"],"startUrls":["https://www.tiktok.com/search?q=music&t=1670685477846","https://www.tiktok.com/search?q=dance&t=1670685484412"],"maxItems":3,"endPage":1,"dateRange":"DEFAULT","location":"US","sortType":"RELEVANCE","customMapFunction":"(object) => { return {...object} }"}' -w 120mcp
run_tool({ provider: "apify", endpoint: "/epctex/tiktok-search-scraper", input: {"search":["anime","tiktok"],"startUrls":["https://www.tiktok.com/search?q=music&t=1670685477846","https://www.tiktok.com/search?q=dance&t=1670685484412"],"maxItems":3,"endPage":1,"dateRange":"DEFAULT","location":"US","sortType":"RELEVANCE","customMapFunction":"(object) => { return {...object} }"}, wait: false })Try it
Runs against your signed-in workspace balance. Sign in if you have not.