TikTok API

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"
The response

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
200 OK · application/json
{
  "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
  }
}
Reference

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

NameTypeDescription
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).

Open the reference

Use cases

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.

Pricing

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.

5,000credits a month
5005,00050,000250,000
5,000requests at 1 credit

A request costs 1 credit. Requests that return nothing are free.

Best fit
Builder pack
12,000 credits, one-time payment
$29once
  • $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
Start with 10 free credits

See all packs and what a credit buys

FAQ

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

More TikTok APIs

Also on the same key

Other sources

Make your first request in a minute

Sign in, copy your key and call an endpoint. Your account starts with 10 free credits.