"Does TikTok Have an API? What You Can and Cannot Read"
Yes, TikTok has APIs, but not one open data feed. Its official products cover signing users in, showing the logged-in user's own profile and videos, publishing content, running ads, selling through TikTok Shop, and approved academic research. None of them lets a commercial developer pass in an arbitrary @handle and read that account's public numbers. For that you need a public data API. This glossary entry explains each official API, draws the line between "your account" and "any public account," and shows a real read of a public TikTok profile.
The short answer by job
TikTok's developer program is a set of separate products, each with its own approval and scopes. Product names and the exact list change over time, so check the current catalog on TikTok for Developers before you build.
| If you want to... | Official product | Who it serves |
|---|---|---|
| Let users sign in with TikTok | Login Kit | Any approved app |
| Show a user's own profile and videos in your app | Display API | Only users who authorize your app |
| Publish or draft videos to a user's account | Content Posting API | Only users who authorize your app |
| Run and report on ads | Business / Marketing API | Your own ad accounts |
| Study TikTok as an academic | Research API (Research Tools) | Approved non-profit researchers |
| Search ads and commercial content | Commercial Content API | Transparency use, aimed at the EU |
| Export a user's own data | Data Portability API | The user, with consent |
| Sell products, manage orders | TikTok Shop / Partner Center API | Shop sellers and partners |
| Share or embed videos | Share Kit, Embed Videos, Green Screen Kit | Front-end integrations |
| Read any public account's numbers | No official product | Use a public data API |
That last row is the gap most people searching "does TikTok have an API" are trying to fill.
Your account vs. any public account
This is the split that matters, and it is where many guides get vague. The Display API is often described as access to "profiles and videos," but it only returns data for the user who logged in through Login Kit and granted your app scopes such as user.info.basic and video.list. You cannot call it with someone else's username.
| Official API | Can read | Cannot read |
|---|---|---|
| Display API | The authorizing user's profile info, stats (with user.info.stats) and video list |
Any account that has not authorized your app |
| Content Posting API | Status of posts your app created | Other accounts' content (it writes, it does not browse) |
| Business API | Your own ad accounts, campaigns and ad audience reporting | Organic data for arbitrary creators |
| Research API | Public videos, comments, user info, follower and following lists, playlists | Anything, if you are a commercial user (not eligible) |
| Commercial Content API | Ads and commercial content records | Organic creator metrics |
| oEmbed | Embed metadata for a public video URL | Counts, comments, follower data |
If your product needs follower counts, video views or comments for creators who will never log in to your app, the official consumer-facing APIs do not cover it.
How to get a "TikTok API key"
TikTok does not hand out a single key. The flow on TikTok for Developers is:
- Register a developer account.
- Create an app.
- Add products (for example Login Kit plus Display API) and request scopes:
user.info.basic,user.info.profile,user.info.stats,video.list,video.upload,video.publish. - Set your redirect URI and app details.
- Submit for review.
- Receive a client key and client secret.
Even after approval, every end user must still authorize your app before you can read their data. No official fee is listed for these APIs. The real cost is eligibility and review time.
The Content Posting API audit
Publishing has its own trap. Until your app passes TikTok's audit, unaudited clients can only post privately (SELF_ONLY) and are limited to a small number of posting users per day. The error you will see is unaudited_client_can_only_post_to_private_account(s). Upload (draft) mode is exempt from the private-only rule because the user finishes the post inside TikTok. A common complaint is that the API reports success but the video never appears publicly, which is usually this restriction at work. Confirm the current caps on the official Content Posting docs.
The Research API: deep, but not for commercial use
The Research API (now branded Research Tools) is the closest thing to "read any public account" that TikTok offers officially. It returns videos, comments, user info, follower and following lists and playlists. But eligibility is narrow:
- Non-profit academic institutions in listed regions, plus some non-profits under the EU's Digital Services Act framework. Approved non-academic non-profits may work through a Virtual Compute Environment instead of direct API access.
- Creators, advertisers and commercial users are not eligible.
- Applications need a research proposal, funding disclosure and independence from commercial interests, and review takes weeks.
- Approved access carries daily request and record quotas, and stored data must be refreshed on a fixed schedule, with data deleted once it is no longer available on TikTok.
Region lists differ across third-party articles, so take the current list directly from TikTok's Research API FAQ. For a side-by-side, see TikTok Research API vs a Public Data API.
oEmbed: the one endpoint that takes any URL
TikTok's embed endpoint, https://www.tiktok.com/oembed?url=<video-url>, accepts any public video URL without OAuth. It is meant for embedding, so it returns embed metadata such as the title, author name and URL, a thumbnail and the embed HTML. It does not return view counts, likes, comments or follower numbers. Useful for previews, not for analytics. Check the current response fields on the Embed Videos docs before relying on any of them.
Reading any public TikTok account with a data API
A public data API reads what any visitor sees on a public profile, for any public handle, with no login from the target and no app review. SocialLens is read-only: it reads public data, never posts, never acts as an account, and never touches private data.
curl "https://api.sociallens.dev/v1/profile?platform=tiktok&username=tiktok" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
Real response, read on 2026-12-04 (avatar URL trimmed):
{
"exists": true,
"username": "tiktok",
"platform": "tiktok",
"nickname": "TikTok",
"verified": true,
"private": false,
"followers": 97391143,
"followers_rounded": 97400000,
"is_exact": true,
"following": 2,
"likes": 471037570,
"videos": 1521,
"bio": "Your next discovery is waiting on TikTok.",
"created_at": "2015-02-28T17:22:29Z",
"external_link": null,
"category": null,
"fetched_at": "2026-12-04T04:00:28Z",
"credits": { "source": "paid", "charged": 1, "balance": 9971 }
}
followers is the exact integer (97,391,143), confirmed by is_exact: true, with the rounded display value alongside it. Fields TikTok does not expose, like external_link and category here, come back null instead of a guess. A handle that does not exist returns "exists": false and costs nothing. More on the count itself in TikTok Follower Count API.
The same key and shape cover videos and comments:
curl "https://api.sociallens.dev/v1/profile-posts?platform=tiktok&username=tiktok&limit=10" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
curl "https://api.sociallens.dev/v1/post-comments?platform=tiktok&url=https://www.tiktok.com/@tiktok/video/VIDEO_ID" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
Posts return each video's URL, caption, publish time and public counts such as views, likes and comments. Comments return each comment's text, author, likes and replies. For metrics on a single video by URL, see TikTok Video Data API. Search and transcripts use the same key.
Public data vs. owner-only data
| Data | Visible publicly | Where it comes from |
|---|---|---|
| Follower, following, total likes, video count | Yes | Public data API, or Display API for your own users |
| Bio, verified flag, private flag | Yes | Public data API |
| Video views, likes, comment counts | Yes | Public data API |
| Comment text and authors | Yes | Public data API |
| Keyword search, transcripts | Yes | Public data API |
| Full follower lists at research depth | Partially | Research API (academic only) |
| Traffic sources, watch time, retention | No | Creator's own TikTok analytics |
| Ad audience demographics | No | Business API for your own ad accounts |
| Private accounts | No | Not available to anyone but approved followers |
What the public data does not cover
A public read is not a backdoor to the official APIs, and it is worth being plain about the edges:
- Private accounts. They return
private: trueand no content. - Owner analytics. Traffic sources, retention and watch time belong to the creator. For audience questions, see TikTok Audience Demographics API for what can and cannot be inferred.
- Follower lists at Research API depth. That is academic-only.
- Fraud or authenticity scoring. You get raw numbers, not a verdict.
- LIVE data. TikTok's public developer products do not include a LIVE data API either.
- Sanction. Third-party data APIs are not endorsed by TikTok, so there is a dependency risk if the platform changes its pages. Factor that into anything critical.
Using TikTok's own APIs also binds you to its developer terms, and the Research API forbids commercial use. This is context, not legal advice.
Third-party options compared
| Option | How it works | Any public handle | Notes |
|---|---|---|---|
| SocialLens | Pay per successful read, prepaid credits never expire | Yes | One shape across 17 networks, 250 free reads, errors cost zero |
| Apify | Scraper actors on a compute platform | Yes | Flexible, you pick and maintain actors |
| EnsembleData | Per-call units | Yes | Per-endpoint unit cost |
| Data365 | Subscription tiers | Yes | Monthly plans |
| Phyllo | User-permissioned connect flow | No, connected creators only | Good when creators opt in |
| Open-source scraping libraries | Self-hosted, needs proxies | Yes | You own the maintenance |
For a deeper vendor breakdown, see Best TikTok Data API in 2026.
Giving an AI agent TikTok read access
No official TikTok product is built for LLM agents. SocialLens ships an MCP server that is read-only by design, so an agent can look up a creator but can never post or act:
SOCIALLENS_API_KEY=sk_live_YOUR_KEY npx -y sociallens-mcp
It is listed in the official MCP registry as dev.sociallens/sociallens-mcp. Assistants without a key can use the rate-limited lookup at https://sociallens.dev/lookup?username=tiktok&platform=tiktok. Setup details are in Best Social Media MCP Server for AI Agents and the agents guide.
Which route fits you
- Marketer or agency tracking creators: public data API.
- SaaS letting users connect their own TikTok: Login Kit plus Display API.
- Scheduling or publishing tool: Content Posting API, and plan for the audit.
- Advertiser: Business API for your ad accounts.
- Academic researcher: Research API, if eligible.
- AI builder: a read-only MCP server or public data API.
FAQ
Does TikTok have a public API? TikTok has several official APIs, but none is an open feed for reading arbitrary accounts. They serve your own authorized users, ads, commerce, embeds, or approved academic research.
Can the TikTok Display API read any username? No. It only returns the profile and videos of users who logged in and authorized your app. You cannot pass in an arbitrary @handle.
Is the TikTok API free? TikTok lists no fee for its official APIs. The cost is eligibility, app review and, for research, a lengthy application.
Can businesses use the TikTok Research API? No. Creators, advertisers and commercial users are not eligible, and the terms forbid commercial use.
How do I get a TikTok follower count for any account?
Use a public data API. A SocialLens /v1/profile read returns the exact count, flagged by is_exact, for any public account, at one credit per successful read.
Does any TikTok API return audience demographics for other creators? No official API does. Ad audience data comes only through the Business API for your own ad accounts.
Related guides
- Best TikTok Data API in 2026
- TikTok Research API vs a Public Data API
- TikTok Video Data API
- Social Media APIs Compared
Last updated: 2026-12-04