# TranscriptClip Transcript API (v1)

Turn a TikTok, Instagram, YouTube, X, Facebook or RedNote video link into a timestamped transcript, with the caption, post date and view counts, as JSON.

- Docs page: https://transcriptclip.com/transcript-api
- OpenAPI 3.1 spec: https://transcriptclip.com/api/v1/openapi.json
- Base URL: `https://transcriptclip.com/api/v1`
- Auth: `Authorization: Bearer <API key>`. Keys start with `sk_`; create one at https://transcriptclip.com/settings/apikeys.
- Access: accounts that have bought a credit pack or a plan (https://transcriptclip.com/pricing). Free sign-up minutes do not unlock the API.
- Cost: 1 credit per started minute of video (YouTube with the creator's own captions: 1 per started 5 minutes). Failed requests and links already in your library cost nothing. The API, the website and the MCP server share one balance.
- Format: JSON in UTF-8, snake_case fields, times in ISO 8601 UTC.

## Endpoints

| Method | Path | What it does |
| --- | --- | --- |
| POST | `/transcripts` | Transcribe one video link |
| GET | `/transcripts/{id}` | Get a transcript, or check one that is still running |
| GET | `/transcripts` | List your library, newest first · free |
| POST | `/batches` | Transcribe up to 50 links in one request |
| GET | `/batches/{id}` | A batch's progress, with each link's result |
| GET | `/account` | Minutes left, plan and limits |

### POST /transcripts

Body: `{"url": "<video link>", "language": "<optional ISO 639-1 code>"}`. Leave `language` out to auto-detect.

The request waits up to about 25 seconds:

- **200** with the finished transcript (most short videos), or
- **202** with `"status": "processing"` and an `id` (and a `Location` header). Poll `GET /transcripts/{id}` every few seconds until `status` is `done` or `failed`.

A link already in your library returns at once with `"from_library": true` and `"credits_charged": 0`.

```bash
curl https://transcriptclip.com/api/v1/transcripts \
  -H "Authorization: Bearer $TRANSCRIPTCLIP_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.tiktok.com/@creator/video/7412…"}'
```

```python
import os, requests

res = requests.post(
    "https://transcriptclip.com/api/v1/transcripts",
    headers={"Authorization": f"Bearer {os.environ['TRANSCRIPTCLIP_KEY']}"},
    json={"url": "https://www.tiktok.com/@creator/video/7412…"},
)
transcript = res.json()
```

```javascript
const res = await fetch("https://transcriptclip.com/api/v1/transcripts", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.TRANSCRIPTCLIP_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ url: "https://www.tiktok.com/@creator/video/7412…" }),
});
const transcript = await res.json();
```

Response (200):

```json
{
  "id": "5d1c8a2e-…",
  "status": "done",
  "platform": "tiktok",
  "author": "creator",
  "duration": 42,
  "language": "English",
  "source": "ai",
  "published_at": "2026-11-28T16:04:11.000Z",
  "caption": "3 hooks that doubled my watch time #ugc",
  "stats": { "views": 184200, "likes": 9310, "comments": 212 },
  "text": "Stop scrolling if you sell anything online…",
  "segments": [
    { "start": 0, "end": 2.6, "text": "Stop scrolling if you sell anything online." }
  ],
  "credits_charged": 1
}
```

Polling a long video (Python):

```python
import os, time, requests

KEY = os.environ["TRANSCRIPTCLIP_KEY"]
H = {"Authorization": f"Bearer {KEY}"}
URL = "https://www.tiktok.com/@creator/video/7412…"

res = requests.post("https://transcriptclip.com/api/v1/transcripts", headers=H, json={"url": URL})
t = res.json()
while t.get("status") == "processing":
    time.sleep(5)
    t = requests.get(f"https://transcriptclip.com/api/v1/transcripts/{t['id']}", headers=H).json()
if t["status"] == "done":
    print(t["text"])
else:
    print(t["error"]["code"], t["error"]["message"])
```

### GET /transcripts/{id}

One of your transcripts: the full object once `done`, only `id/status/url/platform/created_at` while `processing`, or `error` when `failed` (still HTTP 200: the request worked).

### GET /transcripts

Your library, newest first, without the text. Query: `page` (from 1), `page_size` (≤ 100, default 20), `search` (author or link), `status` (`processing` | `done` | `failed`). Response: `{"data": [...], "page", "page_size", "total"}`. Free.

### POST /batches

Body: `{"urls": ["<link>", ...], "language": "<optional>", "name": "<optional project name>"}`. Runs in the background a few at a time; links already in your library are not run or charged again; lines that aren't video links are skipped. Answers **202** `{"id", "status": "processing", "queued", "project_id"}` (or 200 with `"id": null` when every link was already in your library). One batch at a time per account (409 `batch_running`).

### GET /batches/{id}

`{"id", "status": "processing" | "paused" | "done" | "cancelled", "total", "counts": {"done", "failed", "cancelled", "processing"}, "credits_charged", "transcripts": [{"id", "status", "url", "platform", "author", "duration", "credits_charged", "error"?}]}`. Get each finished text with `GET /transcripts/{id}`. `paused` = out of minutes; it carries on after a top-up.

### GET /account

`{"plan": "lite" | "creator" | "agency" | null, "credits", "limits": {"requests_per_minute", "concurrent_transcripts", "links_per_batch", "batch_links_per_day", "max_video_minutes": {"audio", "youtube_captions", "youtube_captions_minutes_per_credit"}}}`. `plan: null` = credit packs only.

## The transcript object

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | Transcript id, also its place in your library |
| `status` | enum | processing, done or failed |
| `platform` | enum | tiktok, instagram, youtube, x, facebook or rednote |
| `author · title · caption` | string? | Who posted it and the text they posted with it, hashtags included |
| `published_at` | string? | Post date, ISO 8601 in UTC |
| `duration` | number | Video length in seconds |
| `language · source` | string · enum | Spoken language; native (the platform’s captions) or ai (our speech-to-text) |
| `text` | string | The whole transcript as plain text |
| `segments[]` | {start, end, text} | Timestamped lines, in seconds from the start |
| `stats` | object? | views, likes, comments, shares, saves, when the platform shares them |
| `music` | string? | The sound the video uses (TikTok) |
| `credits_charged` | number | Minutes this call used; 0 for a link already in your library |

Also: `url`, `created_at`, `batch_id` (when part of a batch), `from_library` (POST only), and `error: {code, message}` when `status` is `failed`. Optional fields are left out when the platform doesn't share them.

## Errors

Every error body is `{"error": {"code": "...", "message": "..."}}`. Branch on `code`; show `message` to people. No error ever uses minutes.

| HTTP | code | Meaning |
| --- | --- | --- |
| 400 | `invalid_request` | The request body is not valid. |
| 400 | `invalid_link` | Not a supported video link. Send one public TikTok, Instagram, YouTube, X, Facebook or RedNote video. |
| 401 | `unauthorized` | Missing, wrong or revoked API key. Send it as "Authorization: Bearer sk_…". |
| 402 | `no_credits` | Not enough minutes left for this video. Nothing was charged. |
| 403 | `purchase_required` | The API is for accounts that have bought a credit pack or a plan: https://transcriptclip.com/pricing |
| 404 | `not_found` | Not found. A video may be private, deleted or region-locked; an id may not be yours. |
| 409 | `batch_running` | A batch is still running on this account. Wait for it to finish. |
| 409 | `too_many_projects` | This account has too many projects. Delete one on the site. |
| 422 | `needs_subscription` | Videos over 10 minutes need a plan. Nothing was charged. |
| 422 | `too_long` | This video is over the limit: 60 minutes, or 3 hours for YouTube with the creator's captions. |
| 422 | `too_large` | The video file is too large to transcribe. |
| 422 | `no_speech` | No speech was found in this video. |
| 422 | `no_audio` | This post has no audio. |
| 422 | `photo_post` | This post is photos, not a video. |
| 422 | `login_required` | This video is age-restricted or only visible when logged in. |
| 422 | `share_link` | RedNote links from the address bar don't open. Use the link from the app's Share button. |
| 429 | `rate_limited` | Too many requests this minute for your plan. See Retry-After. |
| 429 | `concurrency_limit` | Too many transcripts running at once for your plan. Wait for one to finish. |
| 429 | `daily_limit` | Today's batch link limit is reached. It resets at 00:00 UTC. |
| 503 | `unavailable` | Transcription is unavailable right now. Retry in a minute. |

Retry `unavailable` after a minute and `rate_limited` after the `Retry-After` header's seconds. The other codes fail the same way again.

## Limits per account

|  | Credit pack | Lite | Creator | Agency |
| --- | --- | --- | --- | --- |
| Price | $9.90 once | $5.90/mo | $9.90/mo | $29.90/mo |
| Minutes | 300 / 700 | 300 | 1,000 | 4,000 |
| Requests / minute | 10 | 10 | 30 | 60 |
| Transcripts at once | 2 | 2 | 5 | 10 |
| Links per batch · per day | 10 · 10 | 10 · 50 | 50 · 200 | 50 · 500 |
| Longest video | 10 min | 60 min | 60 min | 60 min |

Every request counts toward requests per minute, reads included. On a plan, YouTube videos with the creator's captions can run up to 3 hours.

## FAQ

**Who can use the API?**

Any account that has bought a credit pack or a plan. A one-time pack is enough, and your keys keep working while you have minutes left. The free minutes you get at sign-up are for the website. See [pricing](https://transcriptclip.com/pricing).

**Do API calls use the same minutes as the website?**

Yes. The website, the API and the [MCP server](https://transcriptclip.com/mcp) share one balance: your plan’s monthly minutes first, then any pack minutes. A transcript costs 1 credit per started minute of video.

**What happens when a video fails?**

You get an error code and you’re charged nothing. Retry "unavailable" errors after a minute; the others (private video, no speech) will fail the same way again.

**How long can a video be?**

Up to 10 minutes with a credit pack, and up to 60 minutes on any plan. On a plan, YouTube videos with the creator’s own captions can run up to 3 hours, at 1 credit per 5 minutes.

**Why did my request return 202?**

The transcript took longer than about 25 seconds, usually a long video. It keeps running: check GET /api/v1/transcripts/{id} every few seconds until its status is "done". It’s also saved in your library on the site.

**Is there a machine-readable spec?**

Yes: an OpenAPI 3.1 file at /api/v1/openapi.json. Import it into Postman, Insomnia or a code generator, or hand it to an AI agent.
