Free trial: 3 of 3 test requests left. Get your own API key with 100 free credits. No credit card.
Get the spoken transcript for a TikTok video by URL.
Endpoint
/v1/tiktok/videos/transcript
Query
Link to the TikTok video whose transcript should be returned.
Optional two-letter language code to request a transcript in a specific language when available.
When true and the video has no caption track, transcribes the audio with AI (videos up to 2 minutes). Adds 10 credits only when AI produced the transcript (11 total); caption reads and empty results stay at 1 credit.
Requires useAiFallback=true. Lifts the 2-minute AI limit. An AI transcript then costs 10 credits per started minute of video, short clips included (plus the base 1); caption reads and empty results stay at 1 credit. Long videos can take a minute or more.
const response = await fetch( "https://api.socialfetch.dev/v1/tiktok/videos/transcript?url=https://www.tiktok.com/@mrbeast/video/7596844935442189598", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);