<p class="crumbs"><a href="/apis/">Data APIs</a> / <a href="/apis/tiktok/">TikTok</a></p>

# TikTok transcript API

What is said in a TikTok video: full text and timed segments; TikTok captions first, AI transcription for videos up to two minutes otherwise.

| Item | Value |
| --- | --- |
| Endpoint | `GET https://api.feedmcp.com/v1/tiktok/videos/transcript/get` |
| ID | `tiktok.videos.transcript.get` |
| Price | **$0.002** / call |
| Returns | One Transcript object |
| Auth | `Authorization: Bearer $FEEDMCP_API_KEY` |

> Needs the video link with the author handle (the `url` in video, search and account results); a bare ID does not work. Without TikTok captions it falls back to AI transcription for videos up to two minutes; longer ones return `video_too_long`, free of charge.

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | yes | Video link with the author handle (tiktok.com/@user/video/number; the url in video results) |
| `language` | string | no | Caption language, a two-letter code such as en, zh or ja; the default track if left out |

Every endpoint also takes `view=full` to include the platform's raw data as `raw`, at the same price.

## Returned fields

`data.item` is one Transcript object, with the same fields on every platform:

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | The video or post ID, as the platform’s detail endpoint takes it |
| `platform` | string | Platform |
| `url` | string \| null | Video or post link |
| `language` | string \| null | Caption language (when the platform says) |
| `text` | string | The full transcript |
| `segments` | {start, end, text}[] | Timed segments in seconds (YouTube, TikTok, Instagram and Reddit; empty elsewhere) |
| `duration_seconds` | number \| null | Video length in seconds |
| `source` | 'captions' \| 'ai' \| null | captions (the platform’s own), ai (AI transcription) or null (not known) |

## When you are charged

$0.002 per call that returns data. Not found, no data, bad parameters, platform errors and timeouts are free.

Each answer carries `meta.billing`: what this call cost and the balance left.

## Request

### cURL

```bash
curl "https://api.feedmcp.com/v1/tiktok/videos/transcript/get?url=https%3A%2F%2Fwww.tiktok.com%2F%40wildcampescape%2Fvideo%2F7706167669208124702" \
  -H "Authorization: Bearer $FEEDMCP_API_KEY"
```

### Python

```python
import os, requests

r = requests.get(
    "https://api.feedmcp.com/v1/tiktok/videos/transcript/get",
    params={"url": "https://www.tiktok.com/@wildcampescape/video/7706167669208124702"},
    headers={"Authorization": f"Bearer {os.environ['FEEDMCP_API_KEY']}"},
    timeout=30,
)
print(r.json())
```

### JavaScript

```js
const res = await fetch("https://api.feedmcp.com/v1/tiktok/videos/transcript/get?url=https%3A%2F%2Fwww.tiktok.com%2F%40wildcampescape%2Fvideo%2F7706167669208124702", {
  headers: { Authorization: `Bearer ${process.env.FEEDMCP_API_KEY}` },
});
console.log(await res.json());
```

### MCP

From an AI with FeedMCP installed, the `call` tool:

```json
{
  "endpoint": "tiktok.videos.transcript.get",
  "params": {
    "url": "https://www.tiktok.com/@wildcampescape/video/7706167669208124702"
  },
  "max_price": "0.002"
}
```

## Response

The data below is made up; the shape is the real one.

```json
{
  "code": "ok",
  "request_id": "req_7Qm2kXb9TzLp",
  "data": {
    "item": {
      "id": "7706167669208124702",
      "platform": "tiktok",
      "url": "https://www.tiktok.com/@trail.mia/video/7706167669208124702",
      "language": null,
      "text": "Pitch the tent before dark.",
      "segments": [
        {
          "start": 0.5,
          "end": 1.8,
          "text": "Pitch the tent before dark."
        }
      ],
      "duration_seconds": 58.2,
      "source": null
    }
  },
  "page": null,
  "warnings": [],
  "meta": {
    "endpoint": "tiktok.videos.transcript.get",
    "platform": "tiktok",
    "fetched_at": "2026-11-19T08:00:00.000Z",
    "source": "FeedMCP",
    "catalog_revision": "d09a736bd39e8b3f",
    "billing": {
      "charged": true,
      "amount": "0.002",
      "currency": "USD",
      "balance": "9.98"
    }
  }
}
```

Errors are described in [Errors](/docs/errors/): each says whether you were charged (`charged`) and whether to retry (`retry`).

## Other TikTok endpoints

- [TikTok video search](/apis/tiktok/videos/search/)：$0.002
- [TikTok video](/apis/tiktok/videos/get/)：$0.002
- [TikTok video comments](/apis/tiktok/videos/comments/list/)：$0.002
- [TikTok profile](/apis/tiktok/users/get/)：$0.002
- [TikTok account videos](/apis/tiktok/users/videos/list/)：$0.002
- [TikTok trending searches](/apis/tiktok/trends/list/)：$0.002
- [TikTok ad search](/apis/tiktok/ads/search/)：$0.002
- [TikTok ad](/apis/tiktok/ads/get/)：$0.002
- [TikTok Shop product search](/apis/tiktok/shop/products/search/)：$0.002
- [TikTok Shop product](/apis/tiktok/shop/products/get/)：$0.002
- [TikTok Shop product reviews](/apis/tiktok/shop/products/reviews/list/)：$0.002
- [TikTok Shop seller products](/apis/tiktok/shop/sellers/products/list/)：$0.002
- [TikTok comment replies](/apis/tiktok/videos/comments/replies/list/)：$0.002
- [TikTok account search](/apis/tiktok/users/search/)：$0.002

## Questions

### How much does the TikTok transcript endpoint cost?

$0.002 per call that returns data. Not found, no data, bad parameters, platform errors and timeouts are free.

### Do I need a platform account?

No. Only public data is read.

### Where do I find the ID or link?

A video ID is the number after /video/ in a video link; an account is the username after @ (without the @); a TikTok Shop product is the number after /pdp/, a shop is shop.id in a product.

### How do I use it from an AI?

Install the [MCP server](/mcp/) and ask; your AI calls `tiktok.videos.transcript.get`.

---

HTML version: https://feedmcp.com/apis/tiktok/videos/transcript/get/
