How to scrape TikTok videos, profiles and comments
To scrape TikTok videos you request the public profile, hashtag or video page through a residential exit under a real browser fingerprint, then read the public fields: caption, hashtags, play, like, comment and share counts, the author handle and follower count, and public comments. TikTok is one of the stricter sites about automated traffic, and what it shows depends on the country. A delivered page costs $0.0015, or $0.0025 when it needs a browser, and $0 if it stays blocked (prices checked November 2026).
$0.0015 per delivered page · $0 for a page that stays blocked · $2 free every month, no card
Run it on a live page
Type a URL that blocks scrapers. The request leaves from a home connection in the country you pick, and you get the page and the response back.
What you can collect from a public TikTok page
Public profile, hashtag and video pages carry the fields trend and creator research runs on:
| Field | What you get | Found on |
|---|---|---|
| Video URL, ID, caption | The video identity and the text posted with it | Profile page, video page |
| Hashtags, sound | The tags and the audio the video uses | Video page |
| Plays, likes, comments, shares | The public engagement counts | Profile page, video page |
| Author handle, followers | The public identity and size of the account | Profile page |
| Comments | Comment text, like count and date | Video page |
Only public pages are in scope: what a signed-out visitor can see. Private accounts, direct messages and anything behind a login are not. Usernames and comments are personal data, downloading videos to repost them is a copyright matter, and TikTok's terms apply to automated access.
Why TikTok is hard to scrape
TikTok builds its pages with JavaScript and signs the requests its own app makes, so copying a URL into a script usually returns an empty shell or a verification puzzle. It is quick to challenge datacenter addresses and non-browser fingerprints. Availability also changes by country: the app is restricted in some places and shows different content in others, so the exit country decides what you get back.
The official routes and their limits
TikTok has official data access for approved researchers and commercial APIs for advertisers and partners. Neither is open to a team that simply wants public video metrics for market research, which is why the public pages are the usual source. If you qualify for the research programme, use it.
Three ways to scrape TikTok, and what each costs you
1. Python and a headless browser
Open-source TikTok scrapers exist and they break often, because the request signing and the page change. A headless browser is more durable and heavier: you run and scale the browsers, rotate residential proxies and handle the verification puzzle when it appears.
2. No-code scrapers
Hosted point-and-click scrapers return profiles and hashtags without code. They suit a one-off report; pricing and country control vary by tool.
3. A managed scraping API
You send the TikTok URL and get the rendered page back as Markdown, HTML or JSON. The QuanticData Web Scraping API bills $0.0015 per delivered page, $0.0025 when a browser render was needed, and $0 for a page that stays blocked. Keep your own client instead with the Web Unlocker at $5.00 per GB residential. If you want typed rows instead of pages, the TikTok scraper API takes a query and returns structured results. Test your own URLs first; results vary by page and region.
TikTok scraping methods compared
| Your own script | No-code tool | QuanticData API | |
|---|---|---|---|
| Setup | Code, proxies and a headless browser to keep running | Point and click, set up per site | One request with the URL |
| Getting past blocks | Yours to solve: proxies, fingerprints, retries | Limited, and it shows at volume | Handled: residential exit, browser fingerprint, retries |
| JavaScript pages | A headless browser you run and scale | Depends on the tool | Rendered automatically when the page needs it |
| Exit country | Whatever proxies you buy | Rarely selectable | Chosen per request |
| What you pay | Free script, paid proxies and upkeep | Depends on the tool | $0.0015 per delivered page, $0.0025 rendered |
| A page that stays blocked | Your time | Depends on the tool | $0 |
Frequently asked questions
Is it legal to scrape TikTok?
Collecting genuinely public pages can be permissible, but it is governed by TikTok's terms and by data-protection law wherever it applies. Private accounts, logged-in data and collecting personal data without a lawful basis are not. Take advice for your jurisdiction and use case.
How do you scrape TikTok comments?
Comments load in batches under a public video as the page scrolls, so the page has to be rendered. You get the comment text, like count and date. Usernames are personal data: keep them only if you have a lawful reason.
Why does TikTok return an empty page to my script?
The page is built by JavaScript and TikTok challenges traffic that does not look like a browser on a home connection. A request rendered under a real browser fingerprint from a residential exit returns the public page; a blocked one costs $0 on QuanticData.
Does the country matter when scraping TikTok?
Yes. TikTok is restricted in some countries and shows different videos in others. Choose the exit country per request so you see what users in that market see.
Can you scrape TikTok for free?
QuanticData gives $2 of API usage every month with no card, roughly a thousand delivered pages at $0.0015 each, and the demo on this page runs a few requests free. For ongoing volume you pay per delivered page, with blocked pages free.
Keep going
Run your first TikTok page free
$2 of API usage every month, no card. A page that stays blocked costs $0.
Get my free API key