Transcript of a video
get_video_transcriptThe transcript of one TikTok video, from the subtitles of TikTok (most are made by its speech recognition, source ASR): timed segments (start and end in seconds, text), the whole text, the language, and the languages the video has. A video with no subtitles gives a not_found with reason unavailable and costs nothing. 1 credit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"video_id": "<video_id>"
},
"name": "get_video_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the transcript, as TikTok names it (eng-US) or its first part (eng). Default: the first speech-recognition transcript, else the first one. The languages of a video are in the field languages. | |
| fresh | No | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. | |
| video_id | Yes | Numeric video id, as a string: the number at the end of the address of the video |