TikTok transcript API
Send a TikTok video link, get back what the video says: the full text, timed segments and the caption languages it has, as JSON. 1 credit per successful call. The text comes from the captions TikTok publishes (most of them auto-generated), so it matches what viewers see.
- 1 credit per successful call
- $0.83–$1.45 per 1,000
- Cached 24 hours, repeats free
- 10–30 req/s
A link in, the words out
Pass the link in the query, or the video id in the path with /v1/tiktok/posts/7300000000000000123/transcript. Both return the same object.
textis the full transcript,segmentsthe timed lines (seconds from the start)languageslists every caption language; pick one withlang=es- No captions?
available: false, billed 1 credit because the post had to be fetched
curl "https://api.handlehaul.com/v1/tiktok/post/transcript?url=https%3A%2F%2Fwww.tiktok.com%2F%40river_wren29%2Fvideo%2F7300000000000000123" \
-H "X-Api-Key: $HANDLEHAUL_API_KEY"
const res = await fetch(
"https://api.handlehaul.com/v1/tiktok/post/transcript?url=https%3A%2F%2Fwww.tiktok.com%2F%40river_wren29%2Fvideo%2F7300000000000000123",
{ headers: { "X-Api-Key": process.env.HANDLEHAUL_API_KEY } }
);
const { data, meta } = await res.json();
console.log(data, meta.credits_charged);
import os, requests
r = requests.get(
"https://api.handlehaul.com/v1/tiktok/post/transcript",
params={"url": "https://www.tiktok.com/@river_wren29/video/7300000000000000123"},
headers={"X-Api-Key": os.environ["HANDLEHAUL_API_KEY"]},
)
print(r.json()["data"])
// npm install handlehaul
import { HandleHaul } from 'handlehaul';
const hh = new HandleHaul(); // reads HANDLEHAUL_API_KEY
const { data, meta } = await hh.tiktok.transcriptByUrl({
url: 'https://www.tiktok.com/@river_wren29/video/7300000000000000123',
});
console.log(data, meta.credits_charged);
# pip install handlehaul
from handlehaul import HandleHaul
hh = HandleHaul() # reads HANDLEHAUL_API_KEY
res = hh.tiktok.transcript_by_url(
url="https://www.tiktok.com/@river_wren29/video/7300000000000000123",
)
print(res.data, res.meta["credits_charged"])
{
"data": {
"video_id": "7300000000000000123",
"available": true,
"language": "en",
"languages": [
"en"
],
"is_auto_generated": true,
"text": "Hi, this is a sample caption. Post 0123 talks about coffee. Thanks for watching!",
"segments": [
{
"start": 0,
"end": 1.58,
"text": "Hi, this is a sample caption."
},
{
"start": 1.581,
"end": 3.421,
"text": "Post 0123 talks about coffee."
},
{
"start": 3.422,
"end": 5,
"text": "Thanks for watching!"
}
]
},
"meta": {
"request_id": "req_…",
"cached": false,
"cache_age_seconds": 0,
"credits_charged": 1,
"credits_remaining": 26943
}
}
Endpoints for this job
Each costs 1 credit per successful call; lists take a cursor. Every TikTok endpoint is on the TikTok API page, full parameters in the docs.
- GET/v1/tiktok/post/transcriptin: url or id, langTranscript by URLSame transcript, with the link in the query
- GET/v1/tiktok/posts/{post}/transcriptin: id or URL, langTranscriptSpoken text of a video from its auto-captions
- GET/v1/tiktok/posts/{post}in: id or URLPostOne video or photo post: counts, caption, author, sound, media URLs
- GET/v1/tiktok/users/{user}/postsin: handle, id or secUid, cursorPostsVideos and photo posts, newest first, with views, likes, comments, shares, saves
What it costs
1 credit per successful call on every pack, so the bill is calls × the pack's price per 1,000. Naming an account by a handle we have not looked up in the last 7 days adds 1 lookup credit; send the numeric id from any result to skip it. Failed calls are free and credits never expire.
| Pack | Per 1,000 calls | 1,000 transcripts 1,000 calls | 10,000 transcripts 10,000 calls | 100,000 transcripts 100,000 calls |
|---|---|---|---|---|
| $29 · 20,000 credits | $1.45 | $1.45 | $14.50 | $145.00 |
| $99 · 80,000 credits | $1.24 | $1.24 | $12.40 | $124.00 |
| $249 · 250,000 credits | $1.00 | $1.00 | $10.00 | $100.00 |
| $499 · 600,000 credits | $0.83 | $0.83 | $8.30 | $83.00 |
A repeat of the same video within 24 hours comes from cache and is free (1 hour when the video had no captions yet, since TikTok can add them shortly after upload). Scale (1M+ calls a month) starts at $0.75 per 1,000. See pricing.
Good to know
Captions, not speech recognition
We read the captions TikTok publishes for the video; we do not run our own speech-to-text. Photo posts and videos without speech usually have none. If you already fetch post data, has_captions tells you in advance.
Languages
By default you get the video's original caption language. Ask for another with lang; if that language is missing, available is false and languages shows what exists.
Built for batches and agents
Loop over links from a sheet or a crawler, or let Claude, Cursor or n8n call it through the MCP server. At 30 requests per second that is up to 108,000 videos an hour.
TikTok transcript API questions
Is there an API for TikTok transcripts?
GET /v1/tiktok/post/transcript?url=… returns the transcript of a public TikTok video as JSON: text, timed segments and the caption languages. 1 credit per successful call.How much does a TikTok transcript cost?
What happens when a video has no captions?
available: false and still costs 1 credit, because we had to fetch the post to find out. A private, deleted or missing video is an error and costs nothing.Is this speech-to-text?
Can I get transcripts without code?
How many videos can I transcribe per hour?
Related
TikTok video API
Views, likes, shares, caption and sound of any video.
Read more →TikTok profile & followers API
Exact counts, then followers and following.
Read more →AI content research
Top videos, transcripts and comments for scripts.
Read more →More: all TikTok endpoints · TikTok transcript API docs · pricing · free tools · MCP, CLI and SDKs
Start with the TikTok transcript API
$29 for 20,000 calls on Instagram and TikTok. Credits never expire.
Want to test first? Sandbox keys are free and unlimited, with sample data in the live schema.