TikTok Video Transcript
TikTok Video Transcript records contain available speech or captions from public videos, with language, plaintext or WebVTT format, source URL, shortcode, and collection time. These records support spoken-content search, keyword and topic analysis, accessibility review, and source-linked quotation research.
TikTok Video Transcript API Features
- Multi-URL transcript lookupProcess one or more public TikTok video URLs in one task and pass an optional language preference with each lookup.
- Normalized text and provenanceThe TikTok Video Transcript API returns transcript text with language, plaintext or WebVTT format, source URL, record ID, shortcode, and collection time in a consistent structure.
- Available-only recordsEmit a result only when a source returns non-empty transcript text, so the response distinguishes available transcripts without placeholder rows.
TikTok Video Transcript API Parameters
| Parameters | Required | Description |
|---|---|---|
urls | Required | One or more resolvable public TikTok video URLs, separated by commas or new lines. |
language | Optional | Optional preferred transcript language; use a two-letter code such as en, es, or fr. |
How to Use the TikTok Video Transcript API
Submit known public TikTok video URLs to the TikTok Video Transcript API as an asynchronous task, poll its task ID, then reconcile the normalized transcript records with the requested sources.
- Prepare one or more resolvable public TikTok video URLs and, when needed, a two-letter language code such as en.
- POST urls and the optional language to /v1/tiktok/video-transcript, then save the returned task_id.
- Poll /v1/tasks/{task_id} until the status is succeeded or failed; success can still contain fewer records than submitted URLs.
- Read data.results.items, match each url to the input set, and follow results.next_cursor while results.has_more is true.
curl -X POST "https://api.socq.ai/v1/tiktok/video-transcript" \
-H "Authorization: Bearer $SOCQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{"urls":["https://www.tiktok.com/@stoolpresidente/video/7499229683859426602"],"language":"en"}'
# Poll GET /v1/tasks/{task_id}
# Read data.results.items and follow next_cursor while has_more is trueTikTok Video Transcript API Use Cases
- Searchable spoken-content archives: Index TikTok Video Transcript API text with source URLs, language, format, shortcodes, and collection time so selected public videos can be searched by spoken terms.
- Keyword and topic analysis: Analyze normalized text across a known video set to locate recurring words, phrases, and themes while retaining the source link for review.
- Accessibility and quotation review: Use available transcript text and format metadata to prepare readable copies or find passages, then verify them against the linked public video.
TikTok Video Transcript API Pro Tips
- Validate that every target resolves to the intended public TikTok video before submission because the request accepts non-empty URL strings without enforcing the TikTok host or /video/{id} path.
- Canonicalize URLs and remove tracking variants before batching them into the TikTok Video Transcript API because trimming and deduplication only collapse identical submitted strings.
- When choosing a language, use a two-letter code such as en and route downstream processing by the returned language field rather than assuming the preference was fulfilled.
- Compare returned url values with the submitted list after success so unavailable, private, deleted, restricted, caption-free, or speech-free videos remain visible to your workflow.
- Branch parsing on format, preserve WebVTT cues when present, and use collected_at for lineage because created_at does not contain the video publication time.
Related APIs
Beyond the TikTok Video Transcript API, use these APIs when you need a different type of public TikTok data.
- TikTok Profiles API — Retrieve public profile identity, biographies, account flags, and audience counts by username.
- TikTok Comments API — Collect public top-level comments, authors, engagement, mentions, and creator interaction flags.
- TikTok Videos API — Retrieve creator, caption, media, music, tags, mentions, and engagement from video URLs.
- TikTok User Videos API — Collect public profile-feed videos by username with captions, creators, media, timestamps, engagement, and source-account context.
- TikTok Trending Feed API — Collect the current public video feed for a region with creator, caption, cover, timestamp, and visible engagement fields.
- TikTok Song API — Retrieve public sound metadata by clip ID or music URL.
- TikTok Hashtags API
- TikTok Search API
- TikTok Comment Replies API
- TikTok Followers List API
- TikTok Following List API
- TikTok Live Room Info API
- TikTok Search Users API
- TikTok Song Videos API
- TikTok Popular Songs API
- TikTok Top Search API
- TikTok User Live API
- TikTok Audience Demographics API
- TikTok Similar Accounts API
- TikTok Reposts API
- TikTok Playlists API
- TikTok Hashtag Views API
- TikTok Sound Search API
- TikTok Live Search API
- TikTok Photo Search API
- TikTok Trending Searches API
- TikTok Creator Search Insights API
- TikTok Live Ranking API
- TikTok Live Shopping API
- TikTok Fake Views Checker API
- TikTok Comment Keywords API