TikTok

How to get a TikTok API key (2026)

How to get a TikTok API key in 2026: create a TikTok for Developers app, the client key and secret, app review, Research API rules, and when Social Fetch fits.

Social FetchUpdated

People who search for a "TikTok API key" usually want one of two things. One is TikTok's own developer credentials, so creators can sign in to your app, share their videos or post from it. The other is public profiles, videos and comments from accounts that never signed in to anything. TikTok's self-serve products are built for the first. Both are covered here, with TikTok's process as of November 2026.

The short answer: create an app on TikTok for Developers, copy the client key and client secret from its Credentials section, add the products you need and submit the app for review. Broad public data is only in the Research API, which is limited to approved researchers. A Social Fetch key is a separate credential for public TikTok data.

Two different things called a TikTok API key

TikTok for DevelopersSocial Fetch TikTok routes
What you getA client key and client secret, then user access tokensOne sfk_… key
How you get itCreate an app, add products, pass app reviewCreate it on the API Keys page
Sign in with TikTok, posting videosYes, Login Kit and Content Posting APINo
An authorised user's profile and public videosYes, Display APIYes, without their login
Any public profile, video, comments or searchResearch API, approved researchers onlyYes
TranscriptsNot offered by Login Kit or the Display APIYes, by video URL
Limits600 requests per minute per endpointCredits and available service capacity

Background reading: Does TikTok have an API?, Social Fetch vs the TikTok Research API and the TikTok platform page.

How to get an official TikTok API key

TikTok's create an app guide sets out these steps as of November 2026:

  1. Create a developer account with your email on TikTok for Developers. TikTok recommends creating an organization first.
  2. Create the app. Open your profile menu, go to Manage apps and click Connect an app. Choose an organization as the owner; TikTok discourages registering a real integration under an individual account.
  3. Copy your credentials. The client key and client secret are in the Credentials section under App details.
  4. Add products. Under Products, click Add products and pick what you need: Login Kit for signing users in, Display API for showing a user's profile and videos, Content Posting API for posting, and others. Each product has its own settings; Login Kit, for example, needs a redirect URI.
  5. Verify your URLs. Apps created after September 9, 2024 must verify their Terms of Service URL, Privacy Policy URL and web or desktop URL.
  6. Submit for review. In App review, explain how each product and scope is used. Upload at least one demo video of the full flow (up to five, 50 MB each), then click Submit for review.

Before approval, switch the app to Sandbox at the top of the app page to test without review. Sandbox mode is a restricted environment.

The client secret is for your server only. Keep it out of mobile apps, browser code and source control.

TikTok client key vs access token

TikTok doesn't call anything an "API key". What tutorials mean is one of:

  • the client key, which identifies your app (TikTok's equivalent of a client ID);
  • the client secret, used server-side when exchanging an authorisation code for tokens;
  • a user access token, which a TikTok user grants your app through Login Kit. This is what authorises Display API calls.

The token only reaches what the user granted. TikTok's Display API overview describes the user.info.basic scope (open ID, avatar, display name and similar) and the video.list scope, which reads a user's public videos. With a token in TIKTOK_ACCESS_TOKEN:

Request
bash

There is no self-serve endpoint that looks up an arbitrary TikTok user by handle.

The TikTok Research API

For public data beyond your own users, TikTok offers the Research API. Eligibility as of November 2026:

  • academic institutions in the U.S., EEA, UK, Canada or Switzerland;
  • not-for-profit or independent research bodies in the EU;
  • academic or not-for-profit organizations in Brazil studying online youth safety;
  • non-academic not-for-profits, under limited conditions.

Applicants must show research experience, be independent of commercial interests, disclose funding and provide evidence of ethical review. Ph.D. candidates need an endorsement letter. You apply from a TikTok for Developers account with a professional email, and TikTok says to expect an answer within about four weeks. A company building a product doesn't qualify.

Is the TikTok API free?

TikTok's developer pages for Login Kit, the Display API and the Research API describe app review, eligibility and rate limits rather than a price per request. The cost is approval: a reviewable app with verified URLs and a demo video for the self-serve products, and research eligibility for the Research API.

TikTok API rate limits

TikTok's v2 rate limits page allows 600 requests per minute each for /v2/user/info/, /v2/video/list/ and /v2/video/query/, as of November 2026. The rate is measured over a one-minute sliding window, and each endpoint's cap is enforced separately. Going over returns HTTP 429 with the error code rate_limit_exceeded. You can ask for higher limits through TikTok's support page.

Social Fetch's TikTok routes have no per-minute request quota; requests spend credits. When capacity is full, a request may return 503 temporarily_unavailable with a Retry-After header, which isn't charged. See Credits and Errors.

Get a Social Fetch key for public TikTok data

Social Fetch's TikTok routes accept a Social Fetch key, so you don't need a TikTok developer app, app review or anyone's login. They return public data as JSON. The key does not grant any permission under TikTok's terms; check those for your use.

  1. Create a free account or sign in.
  2. Open API Keys, type a name for the key and click Create key.
  3. Copy the key from the Save your API key window. It starts with sfk_ and is shown only once.
  4. Try a profile lookup in the Playground: the link fills in charlidamelio. Click Send. The Playground uses your signed-in workspace and spends its credits; you do not paste a key.
  5. Store the key in an environment variable named SOCIALFETCH_API_KEY and call the routes from your own code. Keep it on your server, out of public repositories and browser code.
Request
bash

Each endpoint page shows what a lookup costs, and successful responses say what they cost in meta.creditsCharged. Lookups that fail (502 lookup_failed, 503 temporarily_unavailable) are free. Plans and credit packs are on Pricing.

The TikTok routes most people start with:

  • Profile: a public profile with follower and like counts.
  • Profile videos: a profile's videos, newest or most popular first.
  • Comments: the public comments on a video.
  • Transcript: the spoken words in a video, by URL.

The full list is on the TikTok platform page and in the TikTok API reference. These routes read public data only; private accounts, drafts and DMs are out of reach, and nothing logs in as a TikTok user.

Which key do you need?

Get a TikTok developer app when creators should sign in to your product: to show their own videos on your site, or to post from your app with the Content Posting API. If you're an eligible academic or not-for-profit researcher, apply for the Research API.

Use a Social Fetch key when the job is reading public data from accounts that won't connect to your app: creator discovery, campaign tracking, comment analysis or transcripts at volume. For a full walkthrough, read How to scrape TikTok data, or How to get a TikTok transcript. The same split applies on other networks; the Reddit API key guide walks through it for Reddit.

FAQ

How do I get a TikTok API key?

Create a TikTok for Developers account, open Manage apps and click Connect an app, choosing an organization as the owner. Your client key and client secret are in the Credentials section under App details. Add products such as Login Kit, Display API or Content Posting API, verify your terms and privacy URLs, upload a demo video and click Submit for review. Sandbox mode lets you test before approval.

Can the TikTok API get any user's videos?

Not through Login Kit and the Display API. The Display API reads the profile and public videos of a TikTok user who has authorised your app. Broader public data is in the Research API, which TikTok limits to approved academic and not-for-profit researchers.

Who can use the TikTok Research API?

As of November 2026 TikTok lists academic institutions in the U.S., EEA, UK, Canada and Switzerland, not-for-profit research bodies in the EU, academic or not-for-profit organizations in Brazil studying youth safety, and non-academic not-for-profits under limited conditions. Applicants must be independent of commercial interests. TikTok says to expect an answer within about four weeks.

What are the TikTok API rate limits?

As of November 2026 TikTok's v2 rate limits page allows 600 requests per minute, on a one-minute sliding window, for each of user info, video list and video query. Going over returns HTTP 429 with the error code rate_limit_exceeded. You can ask TikTok support for higher limits.

Do I need a TikTok developer app to use Social Fetch?

No. Social Fetch's TikTok routes take a Social Fetch key (it starts with sfk_) in the x-api-key header. They return public profiles, videos, comments, search results and transcripts without TikTok app review or a user's login, and they cannot post or manage an account.

Share this article