TikTok Video Transcript API
Returns the spoken text of a TikTok video from its captions, with an option to fall back to AI transcription when no captions exist.
100 credits a call · single call · failed calls free · 10 free calls to start
curl "https://api.insightsocial.app/v1/tiktok/post/transcript?url=https%3A%2F%2Fwww.tiktok.com%2F%40stoolpresidente%2Fvideo%2F7499229683859426602" \-H "x-api-key: $INSIGHTSOCIAL_API_KEY"
When to use it
Use it when you need what was said rather than the numbers; post gives you the video's caption and metrics but no transcript.
Parameters
Query parameters for GET /v1/tiktok/post/transcript. Send your key in the x-api-key header.
| Name | Required | Description |
|---|---|---|
| url | Yes | Full URL of the TikTok video |
| language | No | Language of the transcript. 2 letter language code, ie 'en', 'es', 'fr', 'de', 'it', 'ja', 'ko', 'zh'. Selects the caption track, and is passed to AI transcription of a longer video as the spoken language. Without it, AI transcription detects the language itself and can mistake a less common one for English, so set it when you know the language. If AI transcription of a longer video cannot transcribe the language you set, the request returns 404 RESOURCE_NOT_FOUND with error.details.reason: language_unsupported rather than a transcript in another language; retrying returns the same result. |
| use_ai_as_fallback | No | Set to 'true' to fall back to AI transcription when the video has no captions. AI transcription covers videos up to 10 minutes (600 seconds): a longer video with no captions returns 400 INVALID_REQUEST with error.details.reason: video_too_long, duration_seconds and max_seconds, free and deterministic, so retrying returns the same answer. |
| max_age_s | No | The oldest cached copy you accept, in seconds. A copy that old or younger is served, with its age in age_s and the X-Cache-Age header. Without it a copy up to 2592000 seconds old is served. A lower value fetches fresh (billed) when the copy is older, and 0 always fetches live, like Cache-Control: no-cache. |
Response fields
The same unified schema every typed endpoint returns, so code written for TikTok reads the other platforms too. A field the platform did not provide is null and listed in unavailable.
| Field | Type | Notes |
|---|---|---|
| language | string | null | The content's language as the platform states it, e.g. en, pt-BR. Detected languages come later (§7.1). |
| text | string | null | |
| segments | array | null |
Every field, error and example is in the TikTok Video Transcript API reference.
How much does the TikTok Video Transcript API cost?
100 credits per successful call.
Failed calls are free
A call that errors or finds nothing costs 0 credits.
Know the price first
Add dry_run=1 and the response quotes the call without making it. Nothing is charged.
One balance
API calls and Chrome extension exports share the same credits, on the free plan too.
TikTok Video Transcript API: frequently asked questions
Send GET /v1/tiktok/post/transcript with the url parameter and your key in the x-api-key header. Returns the spoken text of a TikTok video from its captions, with an option to fall back to AI transcription when no captions exist.
100 credits per successful call. A call that errors or finds nothing costs 0 credits. A repeat call is charged again: the full price when it fetches new data, 2 credits when the answer comes from the shared cache. Add fresh=1 to force a new read. Only a retry with the same Idempotency-Key is free. Pro's 10,000 monthly credits cover about 100 calls at 100 credits each (about $0.10 a call). Add dry_run=1 to see the price of a call without making it.
No. There is no TikTok app, OAuth flow or app review. One InsightSocial API key works for this endpoint and every other platform, and your first 10 calls priced at 100 credits or less are free.
One call returns the transcript in the data object of the standard response envelope. Fields the platform did not provide are listed in unavailable, so a null there means unknown, not zero.
You get an error or an empty result, and it costs 0 credits. The API reads public TikTok data only, so private accounts and deleted content come back as not found rather than as partial data.
Yes. Add the hosted MCP server at https://api.insightsocial.app/mcp to your AI app and sign in. The assistant finds this endpoint by name, shows its price and calls it with your credits.
Guides that use this endpoint
More TikTok endpoints
- TikTok Video API10–20 credits
- TikTok Video Comments API10–30 credits
- TikTok Profile API10–20 credits
- TikTok Live API20 credits
- TikTok Profile Videos API10–110 credits
- TikTok Profile Engagement API80 credits
- TikTok Videos Download API140 credits
- TikTok Video Comment Replies API10 credits
- TikTok Comment API20–60 credits
- TikTok Search API10–470 credits
- TikTok Trending API50–150 credits
- TikTok Search Hashtag API10–110 credits