Get TikTok video transcript
Get the spoken transcript for a TikTok video by URL.
Headers
Get your API keyAPI key (`sfk_...`)
Link to the TikTok video whose transcript should be returned.
min 1 chars · max 4096 chars · pattern: ^https:\/\/
Optional two-letter language code to request a transcript in a specific language when available.
min 2 chars · max 2 chars
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.
Endpoint-specific response payload.
Whether the transcript lookup resolved to a TikTok video.
one of: found, not_found
Video identity when the lookup resolved.
TikTok video id.
min 1 chars
Canonical public TikTok URL for the video.
min 1 chars
Transcript content when one is available for the resolved video.
`webvtt` for a caption track (timed cues). `text` for an AI transcript, which is plain text; its timings, when available, are in `segments`.
one of: webvtt, text
Raw transcript text.
Timed transcript segments (sentence or phrase level). Null or omitted when timings are not available. AI transcript timings are approximate.
Transcript segment text.
Segment start offset in milliseconds.
≥ 0
Segment end offset in milliseconds.
≥ 0
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
True when served from shared response cache. Credits still apply (full endpoint price); Age header may be present.
Code example
curl "https://api.socialfetch.dev/v1/tiktok/videos/transcript?url=https://www.tiktok.com/@mrbeast/video/7596844935442189598" \
-H "x-api-key: YOUR_API_KEY"Responses
Transcript lookup result.