TikTok Post Scraper
Pricing
from $2.50 / 1,000 tiktok starters
TikTok Post Scraper
Scrapes TikTok posts by hashtag and keyword search. Extracts video metadata, engagement metrics (likes, comments, shares, bookmarks, views), creator info, and top comments.
Pricing
from $2.50 / 1,000 tiktok starters
Rating
0.0
(0)
Developer

yourlocalhost
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share
Scrapes TikTok posts by hashtag and keyword search. Extracts video metadata, engagement metrics (likes, comments, shares, bookmarks, views), creator info, and top comments.
What it does
This Actor visits TikTok hashtag pages and search results using Playwright, extracting video metadata from each listing. When "Fetch Full Post Details" is enabled, it opens each individual video page to capture rich engagement data — likes, comments, shares, bookmarks, view count, and top comments. Supports both hashtag browsing and keyword search, with configurable delays and proxy support for production-scale scraping.
Use cases
- Viral product discovery — find trending products via
#tiktokmademebuyit,#amazonfinds, etc. - Hashtag monitoring — track engagement metrics and content volume for specific hashtags
- Influencer research — identify top creators and high-performing content in your niche
- Content strategy — analyse what types of TikTok content drive the most engagement
- Trend detection — feed TikTok engagement signals into product discovery pipelines
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
hashtags | array | No | ["#ukshop", "#uktiktok", "#amazonfinds", "#tiktokmademebuyit", "#ukfinds"] | TikTok hashtags (with or without # prefix) |
searchKeywords | array | No | [] | Search keywords/queries for TikTok search |
maxVideosPerSource | integer | No | 20 | Max videos per hashtag or keyword (1–200) |
fetchPostDetail | boolean | No | true | Open each video page for rich engagement data. Slower but much richer output |
minDelay | integer | No | 3000 | Min delay between requests in ms (1000–30000) |
maxDelay | integer | No | 12000 | Max delay between requests in ms (2000–60000) |
proxyConfiguration | object | No | No proxy | Proxy settings for anti-bot protection |
Tip: Set
fetchPostDetail: truefor full engagement metrics. Set it tofalsefor faster runs with basic video metadata only.
Example input
{"hashtags": ["#ukshop", "#amazonfinds", "#tiktokmademebuyit"],"searchKeywords": ["trending gadgets 2025"],"maxVideosPerSource": 20,"fetchPostDetail": true}
Output
Each video is pushed as a separate record to the Apify dataset.
| Field | Type | Description |
|---|---|---|
video_id | string | Unique TikTok video ID |
creator_username | string | Creator's TikTok handle |
caption | string | Video caption/description |
likes_count | number | Number of likes |
comments_count | number | Number of comments |
shares_count | number | Number of shares |
bookmarks_count | number | Number of saves/bookmarks |
views | number | View count |
video_url | string | Direct URL to the TikTok video |
cover_url | string | Video thumbnail/cover image URL |
source_type | string | "hashtag" or "search" |
hashtags | string | Hashtags in the caption |
search_query | string | null | Search keyword (if source is search) |
extracted_at | string | ISO 8601 date-time of extraction |
Example output
{"video_id": "7345678901234567890","creator_username": "@gadget_guru_uk","caption": "This kitchen gadget is INSANE 🤯 #tiktokmademebuyit #amazonfinds #ukshop","likes_count": 245000,"comments_count": 3200,"shares_count": 18400,"bookmarks_count": 52000,"views": 2100000,"video_url": "https://www.tiktok.com/@gadget_guru_uk/video/7345678901234567890","cover_url": "https://p16-sign.tiktokcdn.com/cover/example.jpg","source_type": "hashtag","hashtags": "#tiktokmademebuyit #amazonfinds #ukshop","search_query": null,"extracted_at": "2026-03-06T14:30:00.000Z"}
How to run
On Apify Platform
- Go to the Actor's page on Apify Console
- Enter hashtags and/or search keywords, configure detail fetching
- Click Start and wait for the run to finish
- Download results from the Dataset tab in JSON, CSV, or Excel format
Locally
$apify run
Deploy to Apify
apify loginapify push
Built with
- Apify SDK — actor framework and dataset management
- Playwright — browser automation for TikTok pages