TikTok Transcripts
The captions of one TikTok video with their times, answered as the document: `transcripts` and `available_languages`.
The captions of one TikTok video with their times, answered as the document: transcripts
and available_languages. Name the video with url, or video_id with username. Without
language the original caption is answered (a machine translation is not preferred); with it,
an exact match is preferred (en, eng and eng-US all select English) and otherwise the same
base language. A language the video lacks, or a video with no captions, is a 200 with
available_languages and an error and no transcripts. duration is the cue's own length.
zero_retention is not handled.
X-API-Key<token>Your API key.
cancel_token?stringA name you make up for this request (a UUID is fine), so you can later GET /v1/cancel
with it. Only you know it, so only you can cancel. Use a new one for every request, retries included: a cancelled token stays cancelled for a few minutes.
1 <= length <= 128url?stringThe video's address, or a vm.tiktok.com / vt.tiktok.com / tiktok.com/t/ share link.
video_id?stringThe number at the end of the video's address. Needs username.
^\d+$username?stringThe creator's username. Needs video_id.
^@?[a-zA-Z0-9_.]{1,24}$language?stringA caption language (en, eng, pt-BR ...). Default: the original caption.
^[a-zA-Z]{2,3}(-[a-zA-Z0-9]{2,8}){0,2}$The transcript, as the document. When the page could not be parsed, the usual envelope.
application/json- response
The first keys of a document-form answer. Unlike DocumentHead there is no
search_information unless the engine has one (there is none for the AI engines,
Events, Events Details, Facebook, Tripadvisor Place, Trending Now and the Apple engines' places).
search_metadata*search_parameters*The parameters the search ran with, defaults filled in; engine is the engine's name.
search_information?transcripts?array<>available_languages?array<>error?stringWhy there is no transcript (no captions, or a language the video lacks).
curl -X GET 'https://api.justserp.com/v1/tiktok/transcripts?url=https%3A%2F%2Fwww.tiktok.com%2F%40tiktok%2Fvideo%2F7700009319382650142'{ "search_metadata": { "id": "string", "status": "Success", "created_at": "string", "request_url": "string", "html_url": "string" }, "search_parameters": {}, "search_information": {}, "transcripts": [ { "text": "string", "start": 0, "duration": 0 } ], "available_languages": [ { "name": "string", "lang": "string", "is_selected": true } ], "error": "string"}TikTok Comments GET
The comments of a TikTok video or photo post, or with `comment_id` the replies to one comment, answered as the document: `video`, `comments`, `pagination` (and `parent_comment` for replies).
TikTok Autocomplete GET
The suggestions TikTok's search box gives for what has been typed, in its order, answered as the document: `suggestions`.