TikTok Research API: who can get access, and what to do if you cannot
Checked on 2026-11-19.
TikTok's Research API is open to academic and not-for-profit researchers in a short list of regions, for non-commercial projects that TikTok approves one by one. Companies, creators and advertisers are not eligible. Here are the conditions as TikTok's own pages state them, and what is left when you do not qualify.
Who can apply
TikTok's Research Tools page names the regions: "Qualified researchers in the U.S., Europe, Canada, and Brazil can apply to study public data about TikTok content and accounts." An applicant has to be located in an eligible region and belong to one of these:
- "Academic institutions in the U.S., EEA, UK, Canada, or Switzerland"
- "Not-for-profit and/or independent research institution, organization, association, or body in the EU." TikTok adds that it is "currently beta testing this service with select researchers in the U.S., UK, Switzerland, Norway, Iceland, and Liechtenstein."
- "Academic institutions or not-for-profit organizations based in Brazil and looking to study online youth safety."
The applicant also has to show "demonstrable experience and expertise in the research area", be "independent of commercial interests", disclose the funding, provide "a clearly defined research proposal", commit to data security and confidentiality requirements, give evidence of an ethical review and accept the Research Tools Terms of Service. A Ph.D. candidate adds an endorsement letter from a professor or dissertation advisor.
The FAQ is blunt about everyone else. "I am a creator, advertiser, or commercial user. Am I eligible for access to the Research Tools?" "No."
How the application works
1. Create a TikTok for Developers account with your professional email address, such as your university's.
2. Complete the application form with information about yourself, your organization and your research.
3. Wait. "You can typically expect to hear back from us within 4 weeks of submission."
The project's principal researcher submits the form and can add up to 9 collaborators, whom TikTok reviews first. Collaborators from another organization need that organization's own application.
After approval TikTok generates a research client for the project. You exchange its client key and secret for an access token, valid for 2 hours, and send it with every request. A video query by hashtag:
import os
import requests
# The client key and secret of the research client TikTok creates after approval.
token = requests.post(
"https://open.tiktokapis.com/v2/oauth/token/",
data={
"client_key": os.environ["TIKTOK_CLIENT_KEY"],
"client_secret": os.environ["TIKTOK_CLIENT_SECRET"],
"grant_type": "client_credentials",
},
timeout=30,
).json()["access_token"] # valid for 2 hours
res = requests.post(
"https://open.tiktokapis.com/v2/research/video/query/",
params={"fields": "id,username,video_description,create_time,view_count,like_count,comment_count,share_count"},
headers={"Authorization": f"Bearer {token}"},
json={
"query": {"and": [{"operation": "EQ", "field_name": "hashtag_name", "field_values": ["animal"]}]},
"start_date": "20230101",
"end_date": "20230115",
"max_count": 100,
},
timeout=30,
)
for video in res.json()["data"]["videos"]:
print(video["id"], video["view_count"], video["like_count"])What you get, and its limits
The codebook describes the data: public videos and public accounts of people aged 18 and over with their counts, comments as text with like and reply counts, and follower and following lists. The limits, from the reference and the FAQ:
- Daily quota. "Currently, the daily limit is set at 1000 requests per day, allowing you to obtain up to 100,000 records per day across our APIs." Follower and following lists have their own: up to 20,000 calls and 2M records a day. Quotas reset at 12 AM UTC, and of increases the FAQ says "We can't grant exceptions".
- Date range. A video query returns at most 100 videos per request and needs two dates: "The end_date must be no more than 30 days after the start_date".
- Freshness. Video queries read archived data: "New videos take up to 48 hours to be added to the search engine, and statistics such as view count and follower count can take up to 10 days to update."
- Errors. A
scope_not_authorizedanswer means the research application has not been submitted or approved.
The rules after approval
The Research Tools Terms of Service (in effect from January 22, 2026) forbid using the tools "for any commercial or unauthorized purpose"; papers about the approved research are the stated exception. Where you can download personal data, you agree to "regularly refresh TikTok Research Data at least every thirty (30) days" and to delete what is no longer available at each refresh. Results may not be published "in a manner that can be linked back to a specific TikTok user or other individual", and TikTok may adjust the quota or revoke access at any time.
Two other doors TikTok names
Not-for-profit organizations outside universities get public data "under limited conditions", through TikTok's Virtual Compute Environment. Its test stage returns a random sample, "limited to 5,000 records per day"; after that you submit scripts, and "Scripts that request individual data will be rejected."
Vetted researchers under the EU Digital Services Act may be eligible for data on systemic risks in the EU. TikTok "does not accept direct applications from researchers" for this: its page sends them to the European Commission's data access portal.
If you do not qualify
Accounts that agree to share. The Display API returns the profile and the public videos, with view and like counts, of TikTok users who log in to your app. The app has to pass TikTok's review. TikTok's embeds show a video or a profile on your page and return no counts.
Public videos and accounts you already have links for. Here only unofficial tools remain. yt-dlp returns a video's counts on your own computer, and the TikTokApi library reads comments and profiles through a browser it controls. Pipefetch has three TikTok requests: one video with its plays, likes, comments, shares and saves; the top comments of a video, up to 100; and one profile with exact follower, like and video counts.
import os
import requests
res = requests.get(
"https://pipefetch.com/v1/tiktok/video",
params={"video": "https://www.tiktok.com/@scout2015/video/6718335390845095173"},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
timeout=90,
)
if res.status_code == 404:
print("No such video, or it is private") # not charged
else:
res.raise_for_status()
video = res.json()["data"]
print(video["playCount"], video["likeCount"], video["commentCount"])
print(video["shareCount"], video["collectCount"]) # shares and savesThis does not replace the Research API's dataset. There is no search by keyword, hashtag, region or date, no list of an account's videos, no follower lists, no replies and nothing beyond a video's top 100 comments, and the video endpoint's play and like counts are TikTok's rounded display values for large numbers (160.3K arrives as 160300). It looks up videos and accounts you already know: 1 credit a request, 1 credit per started 20 comments, and nothing when a request finds nothing.
None of the unofficial routes has TikTok's approval, and Pipefetch is not affiliated with TikTok. TikTok's Terms of Service list among the things users must not do: "extract any data or content from the Platform using any automated system or software that is not provided by TikTok or approved in writing by TikTok". A study that has to show TikTok agreed to its data collection needs an official door.
Which route fits you?
| Your situation | Route |
|---|---|
| University researcher in a listed region, non-commercial project | Apply for the Research API |
| Not-for-profit research body in the EU, outside academia | Apply; access is through the Virtual Compute Environment |
| Vetted researcher under the Digital Services Act | The European Commission's data access portal |
| A product whose users connect their own TikTok accounts | The Display API |
| A company, creator or advertiser, or a region that is not listed | No Research API. For links you already have: yt-dlp, the TikTokApi library or an HTTP API such as Pipefetch |
Try it with 100 free credits. No card needed. No scraper to build or maintain. Get an API key or read the docs.
APIs used in this guide
-
1 credit
TikTok Video API
Plays, likes, comments, shares and saves of one TikTok video, with its caption, hashtags, sound and creator.
GET /v1/tiktok/video -
1 credit / 20
TikTok Comments API
The top comments of a TikTok video with likes, reply counts, dates, creator-liked flags and the commenters' usernames.
GET /v1/tiktok/comments -
1 credit
TikTok Profile API
Exact followers, likes and video count of a TikTok account, with its bio, bio link, verified, business and TikTok Shop flags.
GET /v1/tiktok/profile
More TikTok guides
- How to get a TikTok video's views and likes in Python
- How to get the comments of a TikTok video in Python
- How to get a TikTok follower count in Python
- How to get TikTok video views, likes and shares in Node.js
- How to get TikTok views, likes and follower counts in Google Sheets
Guides for other sources
Every source
YouTube
- How to get a YouTube transcript in Python
- How to get a YouTube transcript in Node.js
- YouTube API quota exceeded: what the error means and how to fix it
- How to find a YouTube channel ID from a handle or URL
- How to download YouTube subtitles as SRT or VTT
- youtube-transcript-api RequestBlocked or IpBlocked: why it happens and how to fix it
- How to get YouTube comments in Python
- How to search YouTube from Python
- How to list a YouTube channel's videos in Python
- How to summarize a YouTube video with an LLM in Python
- How to get YouTube transcripts and video stats in Google Sheets
- How to get YouTube video views and likes in Python
- How to get YouTube transcripts in n8n, Make and Zapier
- LangChain YoutubeLoader fails on a server: why, and a loader that works
- How to get a YouTube channel's subscriber count in Python
- How to give Claude or Cursor access to YouTube (MCP server)
- How to get YouTube comments in Node.js
- How to analyze YouTube comments with an LLM in Python
- How to list a YouTube channel's Shorts in Python
- How to search YouTube from JavaScript
- How to get an Instagram follower count in Python
- Instagram Basic Display API alternatives: what to use after the shutdown
- Instaloader 401 Unauthorized, 429 and "Login required": what to do
- How to calculate an Instagram engagement rate in Python
- How to get an Instagram follower count in Node.js
- How to get Instagram follower counts in Google Sheets
- How to get Instagram Reel views in Python
Websites
- Clearbit Logo API alternatives: get a company logo from its domain
- How to extract email addresses from a website in Python
- How to turn a web page into Markdown in Python
- How to detect what a website is built with, in Python
- How to get the contact emails and phone numbers of websites in Google Sheets
- How to build a LangChain tool that reads web pages and searches Google
- How to turn a web page into Markdown in JavaScript for RAG
- How to extract social media links from a website in Python
- How to get a website's favicon in Python
- How to check robots.txt in Python before you fetch a page
- How to get a Facebook Page's posts without app review
- Is there a Facebook Marketplace API?
- Facebook Groups API alternatives after its removal in 2024
- How to get a Facebook Page's follower count and contact details in Python
- How to get Google search results in Python
- pytrends 429 TooManyRequestsError: what it means and what to do
- How to get Google Trends data in Python
- Why is Wyoming first in Google Trends?
- How to get Google search results in Node.js
- How to get Google search results into Google Sheets
- How to give an LLM live Google results with tool calling
Threads
- How to get LinkedIn company data in Python
- How to search LinkedIn jobs from Python
- How to get a LinkedIn company page's latest posts in Python