TikTok Scraper
Get TikTok Transcript
Extracts existing transcripts, captions, or subtitles from a TikTok video by URL. Returns id, url, and transcript (native captions are WEBVTT-formatted; AI fallback returns text). AI fallback is opt-in via use_ai_as_fallback=true and is used only when native captions are unavailable. Over 120 seconds, videos cannot be AI-transcribed by default. These routes remain synchronous. Allow at least 30 seconds on your client.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| urlstring · required | string | required | TikTok video URL |
| languagestring · optional | string | optional | Language of the transcript. 2 letter language code, ie 'en', 'es', 'fr', 'de', 'it', 'ja', 'ko', 'zh' |
| use_ai_as_fallbackstring · optional | string | optional | Defaults to false. Over 120 seconds, videos cannot be AI-transcribed by default. These routes remain synchronous. Allow at least 30 seconds on your client. |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"transcript": {
"type": "string"
}
},
"additionalProperties": true
}