Social media5 min readBy Purrkey teamUpdated

How to transcribe a TikTok video from its audio

Transcribe a TikTok video's spoken audio into timed segments with speaker labels, language detection, and optional word timings

On this page

You have 12 TikTok video URLs for a quote roundup and need the spoken lines with start and end times, speaker labels and language for each clip. Run each URL through anyapi.tiktok.video_transcript_full, then read the timed segments and compare the recognized text with the native captions before you decide which lines to quote. No run has been executed for this guide; the worksheet below is a design

Example input and the worksheet design

The example URL is invented. Example URL: https://www.tiktok.com/@studio.lantern/video/7412345678901234567. Replace it with the URL copied from the post's share menu

The deliverable has one row per segment, with the video fields repeated for each segment. Values here are placeholders showing the shape

Video IDVideo URLCreator handleDuration secondsLanguageSourceSegment textStart secondsEnd secondsSpeakerWordsReview note
(id)(url)(handle)(number)(code)(audio_asr, transcript_unavailable or no_audio)(sentence)(number)(number)(label)(timings or empty)(quote or re-check)

What the tool takes

The contract marks url as required. Paste the TikTok video URL copied from the post's share menu. wordTimestamps is optional and defaults to false; set it to true only when you need per-word timings inside each segment. The price block lists the path, and the tool is called through POST /v1/runs with toolId anyapi.tiktok.video_transcript_full

How to read the output for a quote decision

found is the first field to read. When found is false, reason is not_found; the contract says a found: false answer is a successful call, not an error. No segment text is available in that case

When found is true, data carries id, url, ownerUsername, durationSeconds, language, source, transcript and segments. data.ownerUsername is the creator handle with no @ character at the front. data.durationSeconds is the video duration in seconds, and data.language is the detected spoken language of the audio. data.transcript holds the spoken-word transcript for the clip. data.segments is an array of timed sentence-level segments in playback order. Each segment has text, startSeconds, endSeconds and speaker; words appears only when wordTimestamps is true

data.source decides the review path. audio_asr means the words come from speech recognition over the video's audio, never from a caption track TikTok published. transcript_unavailable means recognition did not finish, so the transcript is empty for that reason and no audio time is charged. no_audio means there was no audio track or the post had no video; the transcript is empty and only the request price is charged, with no audio time

Use audio_asr segments for the quote roundup. Compare the segment text with the native captions and put the line in the quote list when the text is fit to quote; mark it for manual re-check when the two disagree. When source is transcript_unavailable or no_audio, do not quote the audio line and mark the row for manual re-check

Limit for the speaker column: speaker labels cannot identify people. They are guesses, not identities, and the label is not a name. They are stable within one response and meaningless across responses. Use them to separate lines in one response, not to identify people

words carries per-word start and end timings only. The contract says the recognizer scores a phrase rather than a word, so there is no per-word confidence to report. For creator context around the roundup, the companion guide is Research TikTok creators

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to transcribe the spoken audio of 12 TikTok videos for a quote roundup. Check the current inputs and price of anyapi.tiktok.video_transcript_full before running anything. Call the tool once per URL. Leave wordTimestamps at its default false unless per-word timings are needed. Return one table with these columns: Video ID, Video URL, Creator handle, Duration seconds, Language, Source, Segment text, Start seconds, End seconds, Speaker, Words, Review note. Use one row per segment and repeat the video fields for each segment. If found is false, put not_found in the Review note and leave the segment fields empty. Do not invent lines.

Example URL to replace with your first URL: https://www.tiktok.com/@studio.lantern/video/7412345678901234567

Replace the example URL with your own list. Keep the first run to one URL so you can inspect the response before running the other 11

Estimated tool cost

Prices from the Purrkey catalog, read through the Purrkey catalog on November 13, 2026. The unit is max_call, which the catalog explains as "Maximum per call. Successful runs settle at the actual AnyAPI charge." The table is a ceiling, not a settled charge

StepFormulaUnit pricePlanned quantityTotal
One-video check1 call x max price$0.0995 per call1$0.0995
Twelve-video run12 calls x max price$0.0995 per call12$1.194

One video uses 1 call; 12 videos use 12 calls. Model fees for the agent are not counted

Next action

Open TikTok video transcript full and run the first URL from your list. Use the one-video response to fill the worksheet before you run the other 11

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with TikTok.
Explore TikTok tools and pricing

FAQ

How do I transcribe a TikTok video from its audio?

Send the video URL to anyapi.tiktok.video_transcript_full and read data.segments, which carries text, startSeconds, endSeconds and speaker, plus data.language and data.source.

What inputs does anyapi.tiktok.video_transcript_full take?

The contract marks url as required and wordTimestamps as optional with a default of false. Set wordTimestamps to true only when you need per-word timings.

What does data.source mean?

audio_asr means the words come from speech recognition over the video's audio, never from a caption track TikTok published. transcript_unavailable means recognition did not finish, and no_audio means there was no audio track or no video.

Are speaker labels identities?

No. The contract says speaker labels are guesses, not identities, and the label is not a name. They are stable within one response and meaningless across responses.

What happens when the tool returns found: false?

The contract says a found: false answer is a successful call, not an error, and reason is not_found.

How much does it cost to transcribe 12 TikTok videos?

At the catalog's maximum of $0.0995 per call, 12 calls are at most $1.194. One call is at most $0.0995. Successful runs settle at the actual AnyAPI charge, and model fees for the agent are not counted.

Can I get word-level timings?

Yes. Set wordTimestamps to true. Words carry start and end timings only; there is no per-word confidence because the recognizer scores a phrase rather than a word.

Next step

Try this with TikTok

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See TikTok tools

Share this article