TikTok Transcript & Video Metadata Scraper avatar

TikTok Transcript & Video Metadata Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
TikTok Transcript & Video Metadata Scraper

TikTok Transcript & Video Metadata Scraper

Extract existing TikTok transcripts, captions, WebVTT subtitles, timestamps, and structured metadata from public TikTok videos. Supports single URLs, bulk processing, and AI workflows.

Pricing

from $1.00 / 1,000 results

Rating

5.0

(1)

Developer

LanceAPI

LanceAPI

Maintained by Community

Actor stats

0

Bookmarked

21

Total users

9

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

🎬 TikTok Transcript & Video Metadata Scraper API

Turn public TikTok video URLs into clean transcripts, subtitles, translations, and structured video metadata—one result per URL.

This Actor saves you from building a fragile multi-step workflow. It first uses captions already available for the video. If a video has no usable captions and you enable AI transcript fallback, it can generate a transcript from the spoken audio automatically. Need another language? Enable translation and receive the original transcript and translated version together in the same result.

⭐ Why users choose it

A transcript when you need certainty

Many TikTok videos have captions, but some do not. The default transcriptMode: "auto" gives you a practical safety net: existing captions are always preferred, and AI transcription runs only when no usable caption is available. You do not need to inspect every video first or build a second workflow for missing transcripts. Choose captions_only when you want the lowest cost, or ai when you want a consistent AI transcript for every video.

Extract and translate in one run

Set translate to true, choose a target language, and the Actor handles the rest. The original transcript remains untouched, while translated text, timed segments, WebVTT, and SRT are returned separately. It is a simple one-step path from a TikTok URL to multilingual content.

Transcript plus useful context

Each successfully resolved video can include its description, creator, engagement counts, hashtags, duration, sound information, cover image, and publication time. This makes the Dataset ready for content research, competitor analysis, indexing, and AI workflows.

Safe bulk processing

Submit one URL or a batch. Each URL is processed independently, so one invalid, private, deleted, or temporarily unavailable video does not stop the rest of the run.

🚀 Quick start

{
"tiktokUrls": [
"https://www.tiktok.com/@samuelszuchan/video/7654471521490062605?is_from_webapp=1&sender_device=pc"
],
"transcriptMode": "auto",
"captionLanguage": "auto",
"translate": true,
"targetLanguage": "es",
"includeSrt": true,
"includeVtt": true
}

The Actor returns one Dataset record for each unique URL. A profile or an @username works in the same field and is expanded into individual videos first.

{
"tiktokUrls": [
"https://www.tiktok.com/@creator",
"https://vm.tiktok.com/ZMabcdef/",
"https://www.tiktok.com/@other/video/7654471521490062605"
],
"maxVideosPerProfile": 20,
"postedAfter": "2026-01-01",
"transcriptMode": "auto",
"onlyNewVideos": true
}

Input

FieldTypeDefaultDescription
tiktokUrlsstring[]—The main field. Each item may be a video URL, a vm.tiktok.com / vt.tiktok.com / /t/ short link, a profile URL, or an @username. Kinds can be mixed in one list.
profilesstring[]—The dedicated place for whole profiles (@creator or https://www.tiktok.com/@creator), several at once. Handled exactly like a profile in tiktokUrls; a profile listed in both fields is scanned once.
transcriptModestringautoauto: TikTok captions first, AI only when no usable caption exists. captions_only: captions only, never AI. ai: always AI, even when TikTok captions exist.
captionLanguagestringautoauto prefers the video's own spoken language. Any language code (en, es, zh-Hans, …) is a soft preference: when the video has no such track, its original caption is used instead of failing.
maxVideosPerProfileinteger20How many videos to take from each profile (1–1000), from either field.
postedAfterstring—YYYY-MM-DD (UTC midnight) or an ISO timestamp. Profile videos published earlier are skipped. The Console shows a date picker.
onlyNewVideosbooleanfalseProfile monitoring: remember what was already delivered and process only newer videos on later runs.
includeHookbooleanfalseExtract the spoken words of the first 5 seconds from the real segments into hookText. No extra AI call, no extra charge.
includeSrtbooleanfalseAdd transcriptSrt. Generated locally from the same transcript: no extra call, no extra charge.
includeVttbooleanfalseAdd transcriptVtt. Generated locally from the same transcript: no extra call, no extra charge.
translatebooleanfalseKeep the original transcript and add a translated version in the same result.
targetLanguagestringenLanguage for the translated transcript. Used only when translate is enabled.

tiktokUrls and profiles are combined and de-duplicated, so either place works: a user who knows they want whole profiles can use the dedicated list, and a user who pastes everything into one box gets the same result. Anything found twice is scanned, written and charged once.

The retired fields batchTargets, videoUrl and bulkUrls are still accepted so existing Tasks and API clients keep working. They are read only when tiktokUrls and profiles are both empty, one at a time and never merged, so a stale value can never add an unrelated video to a run.

aiTranscript and preferredLanguage are still accepted for existing API clients: aiTranscript: true maps to auto, aiTranscript: false maps to captions_only, and preferredLanguage is read as captionLanguage when captionLanguage is empty. The legacy switch is only a fallback: a Task that never chose a mode keeps captions_only and is never silently billed for AI, while an explicit transcriptMode always wins. New integrations should use transcriptMode and captionLanguage.

All Apify users can submit up to 200 targets per run. Exact duplicate strings are removed before processing, and a video discovered twice (for example by short link and by profile) is written and charged once.

Profiles and batches

A profile target (@creator or https://www.tiktok.com/@creator) is expanded into up to maxVideosPerProfile videos, then every video goes through exactly the same transcription path as a single URL. Photo and slideshow posts are reported as unsupported_media — this Actor transcribes speech and does not run image OCR.

With onlyNewVideos, the first run establishes a baseline (the newest maxVideosPerProfile videos). Later runs skip videos that were already delivered, retry videos that failed, and keep videos above the per-run cap pending for the next run. The state is stored in the Actor's Key-Value Store, so it survives across runs and works with Schedules. A pagination failure never permanently hides undiscovered videos: the next run re-scans instead of trusting a partial boundary.

Caption language and translation are different

  • captionLanguage chooses among captions that already exist for the video.
  • targetLanguage tells the Actor what language to create when translate is enabled.
  • If the transcript is already in the target language, it is reused without a translation charge.

Output

Core transcript fields:

FieldDescription
successtrue when the row is a completed business result (transcript, NO_SPEECH, or NO_CAPTIONS).
statussuccess, partial_success, no_transcript, private_video, deleted_video, invalid_url, unsupported_media, or error.
transcriptStatusextracted, no_speech, no_captions, or unavailable.
transcriptModeThe mode that produced the row.
transcriptTextPlain transcript text.
transcriptSegmentsTimestamped { start, end, text } segments.
transcriptVttWebVTT subtitle document.
transcriptSrtSRT subtitle document when requested.
transcriptSourcetiktok_caption, tiktok_auto_caption, or ai.
captionLanguageThe caption track that actually produced the transcript.
captionLanguageRequestedauto or the language that was asked for.
availableCaptionLanguagesEvery caption language the video carries.
machineTranslatedtrue when the selected TikTok track is a machine translation.
hookTextThe spoken words of the first 5 seconds, when includeHook is enabled.
languageSelected or detected transcript language.

Optional translation fields:

FieldDescription
translationTextTranslated plain text.
translationSegmentsTranslated timed segments with the original timestamps preserved.
translationVttTranslated WebVTT subtitles.
translationSrtTranslated SRT subtitles.
translationLanguageRequested target language.

Video and creator fields include videoId, tiktokUrl, videoDescription, authorUsername, authorNickname, authorId, viewsCount, likesCount, commentsCount, sharesCount, collectCount, coverImageUrl, hashtags, videoDuration, video dimensions, publication time, region, sound information, creator totals, verification status, ad status, and the AI-generated flag.

Source tracking fields: sourceTarget (the submitted value), sourceTargetType (video, profile, unsupported, or invalid), and sourceProfile (the profile handle when the row came from a profile expansion).

Status behavior

StatusWhat it meansWhat remains available
successAll requested stages completed.Metadata, transcript, and requested translation.
partial_successVideo metadata or the original transcript succeeded, but a later requested stage could not finish.Completed earlier-stage data is preserved.
no_transcriptVideo metadata was found and the transcript stage finished without text. transcriptStatus says why: no_speech (ASR ran, nobody spoke), no_captions (captions_only and the video has no caption), or unavailable.Video and creator metadata.
private_videoThe video is not publicly accessible.A structured status record.
deleted_videoThe video is missing or unavailable.A structured status record.
invalid_urlThe input is not a supported TikTok URL.A structured status record.
unsupported_mediaThe target is a TikTok photo or slideshow post, which has no spoken audio.A structured status record.
errorVideo resolution failed before usable metadata could be produced.A structured status record and safe error message.

Importantly, a transcript-stage problem does not erase video information that was already retrieved. For example, if AI transcription is temporarily unavailable, the result is partial_success with the video metadata preserved and the transcript fields empty.

Example: AI fallback with translation

{
"status": "success",
"videoId": "7654471521490062605",
"tiktokUrl": "https://www.tiktok.com/@samuelszuchan/video/7654471521490062605",
"transcriptText": "Here are three ways to improve your next video.",
"transcriptSegments": [
{ "start": 0.46, "end": 3.2, "text": "Here are three ways to improve your next video." }
],
"transcriptSource": "ai",
"language": "en",
"translationText": "Aquí tienes tres formas de mejorar tu próximo video.",
"translationSegments": [
{ "start": 0.46, "end": 3.2, "text": "Aquí tienes tres formas de mejorar tu próximo video." }
],
"translationLanguage": "es",
"videoDescription": "Three practical video tips",
"authorUsername": "samuelszuchan",
"viewsCount": 125000,
"likesCount": 8400,
"commentsCount": 316,
"sharesCount": 540,
"processedAt": "2026-09-14T12:00:00.000Z"
}

API usage

Actor ID:

lance_api/tiktok-transcript-scraper

JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('lance_api/tiktok-transcript-scraper').call({
tiktokUrls: [
'https://www.tiktok.com/@samuelszuchan/video/7654471521490062605?is_from_webapp=1&sender_device=pc',
],
transcriptMode: 'auto',
captionLanguage: 'auto',
translate: true,
targetLanguage: 'es',
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("lance_api/tiktok-transcript-scraper").call(run_input={
"tiktokUrls": [
"https://www.tiktok.com/@samuelszuchan/video/7654471521490062605?is_from_webapp=1&sender_device=pc"
],
"transcriptMode": "auto",
"captionLanguage": "auto",
"translate": True,
"targetLanguage": "es",
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

cURL

curl --request POST \
"https://api.apify.com/v2/acts/lance_api~tiktok-transcript-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"tiktokUrls": [
"https://www.tiktok.com/@samuelszuchan/video/7654471521490062605?is_from_webapp=1&sender_device=pc"
],
"transcriptMode": "auto",
"captionLanguage": "auto",
"translate": true,
"targetLanguage": "es"
}'

Keep your Apify token in a secure environment variable. Do not place it in source code, prompts, screenshots, or shared logs.

🤖 Use with AI agents

What is AI Agent support?

An AI agent can run this Actor for you, collect its Dataset, and turn the results into summaries, comparisons, tables, or research notes. Instead of writing API requests yourself, you can ask ChatGPT, Claude, Cursor, Codex, or another compatible AI client in everyday language.

Before you start

You need an Apify account, an Apify API token, and an AI client compatible with the Apify MCP Server.

AI clientSupported when compatible with Apify MCP Server
ChatGPT✅
Claude✅
Cursor✅
Codex✅

Connect your AI client

This Actor works with any AI client compatible with the Apify MCP Server. Connect the client using your own Apify account and API token, then ask it to find and run lance_api/tiktok-transcript-scraper. Connection screens vary by client and can change over time, so follow the current documentation for your AI client or Apify MCP Server.

Copyable Agent prompt

Use the Apify Actor lance_api/tiktok-transcript-scraper for the TikTok URLs I provide.
Return one row per URL. Preserve every returned status, including no_transcript,
partial_success, invalid_url, private_video, deleted_video, unsupported_media, and
error. Use captionLanguage only to select an existing caption language; never
describe it as translation. Set transcriptMode to auto (captions first, AI only
when no usable caption exists), captions_only (never AI), or ai (always AI). If I
request another language, set translate to true and use targetLanguage. Keep the
original transcript separate from the translation. A profile or @username in
TikTok URLs (or in the dedicated profiles list) is expanded into individual
videos; use maxVideosPerProfile, postedAfter, and onlyNewVideos to control that
expansion.
After the run, retrieve the Dataset and summarize only the data actually returned.
Never invent missing transcripts, metadata, speaker labels, or word-level timing.
Do not retry invalid URLs indefinitely. Explain partial results clearly, and never
omit URLs that returned no_transcript or another non-success status.

Example conversations

  • “Summarize these TikTok videos. If captions are missing, use AI transcript fallback.”
  • “Compare the opening hooks in these videos and show the view and like counts beside each one.”
  • “Extract every transcript, translate it to English, and export a table with the original and translated text.”
  • “Show only videos without transcripts, but keep their URLs, creators, descriptions, and engagement data.”

Pricing when used by AI agents

AI client calls use exactly the same event-based pricing as direct Actor, API, Task, or schedule runs. Pricing is not based on the number or length of prompts. Using an AI client through MCP does not change the Actor's pricing.

AI Agent FAQ

Which AI clients can use this Actor?

Any AI client compatible with the Apify MCP Server, including ChatGPT, Claude, Cursor, and Codex.

Can my AI agent summarize or compare the transcripts?

Yes. The agent can use the returned transcript and metadata for summaries, tables, comparisons, and other analysis.

Does AI Agent access cost extra?

It does not change this Actor's pricing. Your AI client or platform may have its own separate plan.

Where should I store my Apify API token?

Use the secure credential or environment-variable storage supported by your AI client. Never paste the token into an ordinary prompt.

💰 Pricing

Pricing is event-based. You pay only for the parts that successfully produce usable results.

Base result pricing

ChargeFreeAll other Apify tiersWhen charged
Video result (video-result)$0.002/result$0.001/resultOnce per valid video, when usable video metadata is returned: success, no_transcript, or a metadata-preserving partial_success.

An existing TikTok caption therefore costs the base result fee only. The previous transcript-result event is no longer charged: a caption must not add a second result fee, and an AI transcript adds minutes instead.

Optional AI transcript and translation pricing

Optional serviceFreeStarterScaleBusiness
AI transcription, per 1,000 started video minutes$5.00$3.50$3.00$2.50
Translation, per started 1,000 source characters$0.10$0.09$0.08$0.07

AI transcription uses the transcript-minute event. Each started minute of a completed ASR run is one unit: 60 seconds is 1 unit and 61 seconds is 2 units. Completion is what matters, not the text: a run that finishes and detects no speech (NO_SPEECH) is charged normally, because the audio was processed. A request that failed (HTTP error, timeout, media download failure, quota/auth failure, unverifiable response) is never charged, and a single video is charged at most once no matter how many media sources or retries it took.

Translation uses the translation-1k-characters event. Each started 1,000 Unicode characters in the original transcript is one unit: 1–1,000 characters is 1 unit and 1,001–2,000 is 2 units. Spaces, punctuation, numbers, English letters, and Chinese characters each count as characters. Billing is based on the original transcript, not the translated output. If source and target are the same language, translation is reused without this charge.

The events combine according to the work completed:

ResultCharged events
Metadata with an existing TikTok transcriptvideo-result
Metadata with a completed AI transcriptvideo-result + started transcript-minute units
Metadata with a completed AI run that detected no speechvideo-result + started transcript-minute units
Successful translationThe applicable events + started translation-1k-characters units
captions_only and the video has no captionvideo-result only
Metadata found, but AI transcription failedvideo-result only
Original transcript succeeded, but translation failedvideo-result (+ minutes for an AI transcript); no translation charge
private_video, deleted_video, invalid_url, unsupported_media, or resolution errorNo event

Requesting multiple output formats, retrying a media source, or hitting a translation cache does not multiply charges. Every charge is confirmed against the platform's reported charged count, so a run that hits the user's budget limit reports the units that were really charged. Exact duplicate inputs are removed before processing. The Actor's Pricing tab is the source of truth for the currently published event configuration.

🎯 Use cases

  • Summarize and classify TikTok videos with AI agents
  • Compare hooks, scripts, calls to action, and messaging
  • Create searchable transcript archives and RAG datasets
  • Produce multilingual subtitles without a separate translation workflow
  • Export transcript and engagement tables for research
  • Add public TikTok context to content-analysis pipelines

How it works

  1. Validate the input and pick exactly one input source, then deduplicate targets.
  2. Expand profile and @username targets into videos using maxVideosPerProfile, postedAfter, and onlyNewVideos.
  3. Resolve each public TikTok video.
  4. Retrieve publicly available caption data and select the strongest available track (captionLanguage, original language first, machine-translated captions flagged).
  5. When the transcript mode allows it and no usable caption exists, generate an AI transcript from the video's spoken audio.
  6. When requested, translate the final transcript while keeping the original.
  7. Normalize transcript formats, the SRT/VTT documents, the hook, and public video metadata.
  8. Write one structured Dataset record per unique video and settle its billing events right away.

FAQ

Does AI transcription replace existing TikTok captions?

No. Existing usable captions always come first. AI is a fallback only in the default auto mode, and only when no usable caption is available. captions_only never runs AI; ai always runs it and bills the started minutes.

Why is a video with no speech still charged for AI transcription?

Because the audio was really processed. A completed ASR run that detects no speech returns transcriptStatus: "no_speech" and is charged by the minute, exactly like a run that produced text. Failed, timed-out, unverifiable, or media-download-failed runs are never charged.

What happens if AI transcription cannot run?

The Actor keeps any video metadata already retrieved and returns partial_success with empty transcript fields. AI transcription minutes are not charged when no completed ASR run exists, and the base video-result fee still applies because metadata was returned.

Does translation overwrite the original transcript?

No. Original fields remain unchanged. The translated version is returned in separate translation* fields.

What if translation fails?

The original transcript and metadata remain available with status: "partial_success". No translation event is charged.

Can I process multiple videos or whole profiles?

Yes. Put video URLs, short links, profile URLs, and @usernames together in tiktokUrls, or use the dedicated profiles list when you want to be explicit about whole profiles. Each video receives its own Dataset record and is isolated from failures on other inputs. Up to 200 targets are accepted per run, and a video discovered twice (for example by short link and by profile) is only written and charged once.

Are speaker labels or word-level timestamps included?

No. Segments include caption-level start time, end time, and text. Speaker diarization and word-level timestamps are not claimed.

Does the Actor return comments?

It returns the public comment count when available, not individual comments.

Limitations and responsible use

  • Only public TikTok videos are supported. Private, deleted, restricted, or otherwise unavailable content cannot be accessed.
  • Caption, media, metadata, and engagement availability can vary by video, region, and time.
  • AI transcription quality depends on speech clarity, language, background sound, and recording quality.
  • Translation preserves segment timing but translated sentence length and phrasing can differ from the original.
  • Cover and media URLs can expire and should not be treated as permanent assets.
  • Use the Actor responsibly and comply with applicable platform terms, privacy requirements, and copyright law.

Support

Open the Actor's Issues tab in Apify Console or email lanceapi2026@hotmail.com. Include the Run ID, returned status, safe error message, and a public example URL when appropriate. Never send API tokens, cookies, session IDs, or other secrets.