TikTok Transcript
Check whether a public TikTok post exposes transcript/subtitle files and return the available subtitle URLs by language. Accepts a public post URL or numeric video ID.
Try on PlaygroundAuthentication
Send your Crawlkit API key as a Bearer token in the Authorization header.
Authorization: Bearer ck_your_api_keyRequest Parameters
Send these JSON body fields in your request payload.
| Name | Type | Description |
|---|---|---|
url | string | Public target URL. |
Example Request
Use direct HTTP requests against the public API base URL.
Example request
1const response = await fetch('https://api.crawlkit.sh/v1/crawl/tiktok/transcript', {2 method: 'POST',3 headers: {4 'Authorization': 'Bearer YOUR_API_KEY',5 'Content-Type': 'application/json'6 },7 body: JSON.stringify({8 "url": "https://www.tiktok.com/@khaby.lame/video/7234567890123456789"9})10});11 12const { data } = await response.json();13console.log(data.transcript.available, data.transcript.subtitles.length);Response
Success (200 OK): Returns service-specific structured payload.
Success response (200 OK)
1{2 "success": true,3 "data": {4 "url": "https://www.tiktok.com/@khaby.lame/video/7234567890123456789",5 "transcript": {6 "available": true,7 "subtitles": [8 {9 "language": "en",10 "format": "webvtt",11 "url": "https://v16-web.tiktokcdn.com/subtitle/..."12 }13 ]14 },15 "timing": {16 "total": 182017 },18 "creditsUsed": 1,19 "creditsRemaining": 9520 }21}