TikTok Transcript API
Send a TikTok video address and get what is said in it as text: TikTok's caption track as a full transcript and in timed segments, with the language, the video's description, plays, likes and author.
- 10 free credits
- No card needed
- No scraper to build or maintain
curl "https://pipefetch.com/v1/tiktok/transcript?url=https%3A%2F%2Fwww.tiktok.com%2F%40nasa%2Fvideo%2F7709957996436131086" \
-H "x-api-key: YOUR_API_KEY"const res = await fetch('https://pipefetch.com/v1/tiktok/transcript?url=https%3A%2F%2Fwww.tiktok.com%2F%40nasa%2Fvideo%2F7709957996436131086', {
headers: { 'x-api-key': process.env.PIPEFETCH_API_KEY },
});
const { data, credits } = await res.json();import os, requests
res = requests.get(
"https://pipefetch.com/v1/tiktok/transcript",
params={"url": "https://www.tiktok.com/@nasa/video/7709957996436131086"},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
)
data = res.json()["data"]What you get
- The full transcript and the same text in timed segments
- The language and whether the captions are the creator's or TikTok's automatic ones
- The opening line, word count and words per minute
- Description, posting date, plays, likes, comments, shares and saves
- The author and their follower count
{
"data": {
"videoId": "7709957996436131086",
"url": "https://www.tiktok.com/@nasa/video/7709957996436131086",
"transcript": "The mission is controlled at the Caltech Jet Propulsion Laboratory. The spacecraft carries instruments for 11 scientific investigations. Fixed to each…",
"language": "en",
"captionType": "auto",
"availableLanguages": [
"en"
],
"hook": "The mission is controlled at the Caltech Jet Propulsion Laboratory.",
"wordCount": 473,
"wordsPerMinute": 160,
"segments": [
{
"start": 1.62,
"end": 5.7,
"text": "The mission is controlled at the Caltech Jet Propulsion Laboratory."
},
{
"start": 5.701,
"end": 9.921,
"text": "The spacecraft carries instruments for 11 scientific investigations."
}
],
"description": "Voyager 1 is a light-day from Earth. Let’s rewind a few billion miles! ✨ From the NASA archives, see what it was like to get our first close-up views …",
"postedAt": "2026-11-19T18:54:56.000Z",
"durationSeconds": 177,
"plays": 139200,
"likes": 5910,
"comments": 334,
"shares": 161,
"saves": 594,
"account": {
"username": "nasa",
"name": "NASA",
"followers": 2300000,
"isVerified": true
}
},
"credits": {
"used": 1,
"remaining": 99
}
}One GET request
Everything the endpoint accepts. The full reference, with the complete example response, is in the docs.
GET/v1/tiktok/transcript
Costs 1 credit per request. Only requests that return data are charged.
Parameters
| Name | Type | Description |
|---|---|---|
urlrequired |
string | The video address, https://www.tiktok.com/@<user>/video/<id>. |
Good to know
- The transcript is TikTok's own caption track: the one the creator added, or TikTok's automatic one (captionType says which). A video without captions answers 404 no_transcript and costs nothing.
- segments are the captions in timed phrases (start and end in seconds).
What people build with it
Content repurposing
Turn TikTok videos into posts, captions and articles.
Trend and script research
Read how videos in a niche open and what they say.
Searchable video
Index what is said in videos you track.
Video understanding for AI agents
An agent that gets a TikTok link reads its words in one call.
Buy credits once. Use them whenever.
This endpoint costs 1 credit per request, and a request that returns no data costs nothing. Move the slider to see what your volume costs.
A request costs 1 credit. Requests that return nothing are free.
- $2.42 per 1,000 credits
- About $12.08 a month at this pace
- Lasts about 2.4 months at this pace
- Credits never expire
Questions and answers
Is this the official TikTok API?
No. Pipefetch is an independent service and is not affiliated with TikTok. It returns what TikTok shows publicly to a visitor who is not signed in; you need no TikTok account, only one Pipefetch API key.
What if a video has no captions?
The transcript comes from TikTok's own caption track. A video without one answers 404 no_transcript and costs nothing.
What does a request cost?
One request costs 1 credit. Credit packs start at $9 for 3,000 credits, never expire, and a request that returns no data is not charged. New accounts get 10 free credits without a card.
More TikTok APIs
-
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
Other sources
YouTubeInstagramWebsitesFacebookGoogleThreadsLinkedInApp storesSteamXPinterestAmazonAirbnbReal estateKeywordsJob boardsEventbriteShopify storesPublic tendersTrustpilotProduct HuntAudio & video
Make your first request in a minute
Sign in, copy your key and call an endpoint. Your account starts with 10 free credits.