If you are building a SaaS product, an analytics dashboard, a brand-monitoring tool, or anything that touches public social data, the legality of "scraping" TikTok is probably the single biggest blocker between your prototype and your first paying customer. It is also the question that gets the most contradictory answers online.
This post is a developer-friendly overview of where things stand in 2026. It is not legal advice. Nothing here creates an attorney-client relationship, and the conclusions you draw must be checked against your jurisdiction, your business model, and your actual data flows by a qualified lawyer. With that out of the way, let's look at what has actually been settled, what is still grey, and how to ship product responsibly.
The word "scraping" is doing a lot of work. In practice, there are at least three very different activities being lumped together:
GET https://api.tikliveapi.com/userinfo-by-username/?username=charlidamelio and receive a JSON document describing publicly visible profile data. No login session, no headless browser, no bypass of access controls.tiktok.com/@username, and parse the rendered DOM. Still public data, but you are now executing TikTok's JavaScript and rendering their UI on your infrastructure.These three are legally and ethically distinct, even though "scraping" covers all of them in casual usage. Most of the rest of this post is about category 1 - structured REST consumption of publicly available data - because that is the modality our customers operate in and the one with the clearest legal precedent.
TikTok's public Terms of Service prohibit, in summary, automated access that uses "robots, spiders, or other automated means" to access the service without express written permission. They also prohibit reverse engineering, circumventing technical access controls, and commercial use of content without a separate license.
Two important nuances:
This distinction is exactly what the hiQ v. LinkedIn line of cases is about.
The hiQ Labs v. LinkedIn litigation, which moved through US federal courts between 2017 and 2022, is the closest thing to a doctrinal anchor for public-data scraping in the United States. The headline holding from the Ninth Circuit was that scraping publicly available data - data that does not sit behind a login wall - is unlikely to violate the CFAA's "without authorization" provision. The reasoning: you cannot meaningfully "exceed authorization" on a page that is open to the entire internet.
What hiQ did NOT establish:
For US-based developers consuming public TikTok data via a REST proxy, hiQ is a meaningful defensive precedent. It is not a free pass.
The General Data Protection Regulation does not care whether data is "public." It cares whether the data is "personal" - meaning it relates to an identified or identifiable natural person. A username, follower count, profile picture, bio, and the videos posted by a named creator are all personal data under GDPR even when the creator publicly posted them.
What this means for a developer consuming a public TikTok API:
Special-category data (political opinions, health, sexual orientation, etc.) is a separate, much higher bar. If your TikTok use case touches inferences in those categories, you need direct legal review. For a full implementation walkthrough of lawful bases, LIAs, and DSAR tooling, see the GDPR deep dive for TikTok data products.
California's Consumer Privacy Act, as amended by the CPRA, applies if you meet revenue or volume thresholds and process personal information of California residents. The core obligations relevant to a TikTok data product:
The CCPA includes an exception for "publicly available information" but defines it narrowly - data lawfully made available from government records, or data that a consumer has made available through a "widely distributed media." Public TikTok posts arguably fit, but the safe assumption is that user-level data triggers obligations regardless. The operational side - notices, opt-out links, request handling - is covered in our CCPA and CPRA compliance guide for TikTok data apps.
Brazil's Lei Geral de Proteção de Dados (LGPD) mirrors GDPR's structure closely: lawful basis required, data subject rights, fines up to 2% of Brazilian revenue. India's Digital Personal Data Protection Act (DPDP), in force since 2023, takes a notice-and-consent approach with significant operator obligations and an emerging regulator (the Data Protection Board). Other regimes worth knowing if you operate globally:
The takeaway: if your TikTok-derived product serves users globally, design for the strictest applicable regime (usually GDPR) and document your exceptions.
This is where many developers conflate two very different things.
This is why "downloading a TikTok video without watermark" sits in a different legal box than "tracking how many followers an account has." TikLiveAPI offers both via /download-video/ (returning direct CDN URLs in video and video_hd keys) and /post-detail/ (returning the same in play, wmplay, hdplay). The legality of using those download URLs in your product depends on what you do with the file: a takedown notification tool that fetches it transiently is very different from a republishing service. Takedown workflows and safe-harbor mechanics get a fuller treatment in our builder's guide to copyright and DMCA for TikTok content.
Generally lower risk:
Higher risk, requires legal review:
Things to avoid entirely:
A few architectural choices are worth flagging because they directly affect your compliance posture as a consumer of the API:
X-Api-Key header, not via a TikTok session.A minimal request looks like this:
curl -H "X-Api-Key: YOUR_API_KEY" \
"https://api.tikliveapi.com/userinfo-by-username/?username=tiktok"
The response gives you a user object and a stats object in camelCase (uniqueId, secUid, followerCount, heartCount, and so on) - all derived from publicly visible profile data. For paginated endpoints like /user-posts/, you continue using the returned cursor while hasMore is true. For /user-followers/ and /user-following/, pagination uses a time timestamp parameter, and the following endpoint's top-level key is followings (plural). For /post-comments/, each item's identifier is id, not cid. These details matter when you are mapping responses into your own data model with privacy controls.
You can experiment in the interactive API playground before committing to any persistence model.
Bring in qualified counsel before you:
A two-hour consultation with a specialist data-protection lawyer is much cheaper than a regulator's letter, and orders of magnitude cheaper than a class action.
Can I get sued for using a TikTok scraper API? In theory, anyone can sue anyone. In practice, the realistic risks are (a) ToS-based account or access termination, (b) regulator action if you mishandle personal data, and (c) copyright claims if you republish content. The risk profile depends heavily on your business model and jurisdiction.
Is GDPR stricter than CCPA? Generally, yes. GDPR requires an upfront lawful basis for processing and applies to any personal data of EU residents regardless of your revenue. CCPA has revenue and volume thresholds and is more focused on disclosure and opt-out rights. If you comply with GDPR, you are usually most of the way to CCPA compliance, but not vice versa.
Is using a third-party API safer than scraping myself? From a technical-debt standpoint, almost always. From a legal standpoint, it depends. A third-party API that only serves public data and does not bypass access controls puts you in roughly the same legal posture as scraping the same data yourself, with less operational risk. You remain the data controller for what you do with the response. Pricing for our service is listed on the credit packages page.
Do I need a Data Processing Agreement (DPA)? If you process personal data on behalf of a business customer (B2B SaaS), yes - GDPR Article 28 requires a written DPA between controller and processor. Many enterprise customers will demand one in procurement regardless of jurisdiction.
Can I train an AI model on the data? This is one of the hottest legal questions of 2026 and there is no settled answer. Several pending cases address whether training on publicly available content is fair use (US) or compatible with the GDPR's purpose limitation principle (EU). If your product trains generative models on creator content, get specialist advice before launching.
What happens if a TikTok user deletes their account or a post? Your obligations under GDPR's right to erasure are independent of what TikTok does. If you hold personal data and the data subject requests deletion, you generally have to comply (subject to narrow exceptions). Building a deletion-and-refresh pipeline into your architecture from day one is much easier than retrofitting it. Questions on integration patterns? Reach us via the contact page or browse the rest of the blog for more developer-focused write-ups.
This article is a developer-friendly overview, not legal advice. The rules vary by jurisdiction, your specific business model, the categories of data you touch, and how you process them. Before launching a commercial product, consult a qualified data-protection or technology lawyer in each jurisdiction where you operate. The goal of this post is to help you ask better questions - not to substitute for the answers a lawyer would give you.
Ready to put what you read into code? Try our endpoints live or grab the full reference.