Paste a link
A video link.
Paste a TikTok link. Get what is said, as text.
A video link.
Each line comes back with its start time.
Copy the text, or save it as .txt or .srt.
Paste a link and get the text. No signup and nothing to install.
Each line keeps its start time.
.txt or .srt.Give an agent the words in a video, with times attached.
Download an .srt file and load it into a player.
Search a talk as text and cite the time.
Start from what was actually said.
1curl -G "https://api.socialscrape.dev/v1/tiktok/video/transcript" \2 -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3 --data-urlencode "url=https://www.tiktok.com/@nasa/video/7665075736742530317"1import os2import requests34params = {5 "url": "https://www.tiktok.com/@nasa/video/7665075736742530317",6}7res = requests.get(8 "https://api.socialscrape.dev/v1/tiktok/video/transcript",9 headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},10 params=params,11)12body = res.json()1314if body["ok"]:15 print(body["data"])16else:17 print(body["error"]["code"], body["error"]["message"])1const url = new URL("https://api.socialscrape.dev/v1/tiktok/video/transcript");2url.search = new URLSearchParams({3 "url": "https://www.tiktok.com/@nasa/video/7665075736742530317"4}).toString();5const res = await fetch(url, {6 headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },7});8const body = await res.json();910if (body.ok) {11 console.log(body.data);12} else {13 console.error(body.error.code, body.error.message);14}{ "ok": true, "credits_charged": 1, "credits_remaining": 4999, "cached": false, "cached_at": null, "request_id": "req_caca6f86f02fab9fc66bda7f", "data": { "object": "transcript", "platform": "tiktok", "video_id": "7665075736742530317", "url": "https://www.tiktok.com/@nasa/video/7665075736742530317", "language": "en", "source": "ai", "duration_seconds": 25, "text": "Something big just landed on TikTok.", "segments": [ { "start": 0, "end": 2.4, "text": "Something big just landed on TikTok." } ], "available_languages": null, "extra": null }, "cursor": null, "has_more": null }
Both are possible. The result is labelled Captions when TikTok supplied them and AI transcription when the audio was transcribed.
No. Private accounts are not read.
Yes. No account and no card. Each visitor gets a limited number of lookups an hour, so it stays free for everyone.
Send GET /v1/tiktok/video/transcript with your key in the x-api-key header. A request costs 1 credit for captions; AI transcription 1 up to 2 minutes, then 5 per started minute of the whole video. A repeat of something fetched recently costs 0 credits, and failed requests are free. See the reference.