How to get a TikTok transcript
GET request to /v1/tiktok/transcript with your input. You get clean JSON back in seconds for 2 credits per call — no OAuth, scraping or platform SDKs. Transcribe a public TikTok video to text: the full transcript, timestamped segments and the spoken language as JSON.One of 23 endpoints in the TikTok API.
No-code option: TikTok transcript generator
How to get a TikTok transcript (step by step)
- 1
Get a free API key
Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.
- 2
Call the TikTok Transcript API
Send an authenticated GET request to /v1/tiktok/transcript with your input. No OAuth, no scraping setup.
- 3
Read the JSON response
Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.
Code example
curl "https://api.captapi.com/v1/tiktok/transcript?url=https%3A%2F%2Fwww.tiktok.com%2F%40nasa%2Fvideo%2F7697300954667994381" \
-H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."What the response looks like
{
"success": true,
"data": {
"platform": "tiktok",
"url": "https://www.tiktok.com/@nasa/video/7697300954667994381",
"language": "en",
"text": "From breaking records on Mars to lighting up the skies over Earth, NASA put on quite a show this week. Here's what's new. And you're NASA minute. There's a new driving distance champion on Mars.",
"segments": [
{
"text": "From breaking records on Mars to lighting up the skies over Earth,",
"startMs": 340,
"endMs": 3420
},
{
"text": "NASA put on quite a show this week.",
"startMs": 3421,
"endMs": 5381
},
{
"text": "Here's what's new. And you're NASA minute.",
"startMs": 5382,
"endMs": 7521
},
{
"text": "There's a new driving distance champion on Mars.",
"startMs": 8380,
"endMs": 11280
}
],
"fetchedAt": "2026-11-18T17:43:20.232Z"
}
}Billing metadata (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | Public TikTok video or photo-carousel URL, e.g. https://www.tiktok.com/@khaby.lame/video/7646812028874673439 or https://www.tiktok.com/@user/photo/ID (the url channel-posts returns for mediaType photo). Not a YouTube/Instagram/Facebook URL. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble. |
| language | string | No | Preferred caption language as an ISO code, e.g. "en". Defaults to auto-detect. |
| cache | boolean | No | Serve from the 24h shared cache when available (0 credits on hit). Default true — set false to always fetch fresh. |
Frequently asked questions
What does the TikTok Transcript API do?
The TikTok Transcript API lets you extract the full, timestamped transcript from a public TikTok video using one GET request to /v1/tiktok/transcript. It returns clean JSON — no OAuth or infrastructure setup required.
How many credits does the TikTok Transcript API cost?
Each successful call costs 2 credits. Cache is on by default (0 credits on hit); pass cache=false to always fetch fresh. Failed or empty results are never charged.
Do I need a TikTok API key or OAuth?
No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle access, rate limits, retries, and authentication for you.
How do I transcribe a TikTok video with the API?
Send GET /v1/tiktok/transcript?url=<video URL> with your Captapi key in the Authorization: Bearer header. The response has text (the full transcript), segments with startMs / endMs, language and source. Loop over your URLs to transcribe many TikTok videos from your own code, n8n or an AI agent over MCP.
What if the TikTok video has no captions or no speech?
No captions: the audio is transcribed with speech-to-text and source is asr. No speech at all (music only, or silent): you get 422 NO_SPEECH and 0 credits are charged. A photo post is transcribed from its sound when it has one (422 NO_SPEECH if that sound has no speech). A post that cannot be transcribed answers 422 NO_TRANSCRIPT at 0 credits with a reason: video_not_available_on_web (TikTok plays it in its app only, for example a TikTok Shop video), video_too_large, photo_post (a photo post with no sound), or audio_not_decodable (the video's audio cannot be decoded). None of these is worth retrying.
Which languages does the TikTok transcript support?
The spoken language is detected automatically and returned in language. For short clips you can pass language (an ISO-639-1 code such as en or tr) to pin it.
Is there a free TikTok transcript generator?
Yes. The free TikTok Transcript Generator at /tools/tiktok-transcript uses the same endpoint: paste a link and copy the text, no sign-up. Use the API when you need JSON, timestamps or many videos.
What if the TikTok video has no captions?
When no captions are available, Captapi transcribes the audio with AI speech-to-text automatically, so you still get a usable transcript.
Is the TikTok Transcript API suitable for production use?
Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Use it for analytics, monitoring, and content automation.
Ready to get a TikTok transcript?
Start free with 100 credits — no credit card required.
Get your free API key