How to fetch a TikTok video transcript by URL
Fetch the caption track TikTok published for a video and return its transcript, language, and canonical URL from one Purrkey call
On this page
You have 20 TikTok video URLs from a campaign and need the words TikTok published for each one, so you can compare hooks and claims across the set. One request per URL returns the caption track TikTok wrote, and the table you build from those responses shows which clips need a manual review or a full audio transcription
The deliverable is one row per video with found, reason, id, language, transcript, and url. No run has been executed for this guide, and the values in the tables below are placeholders showing the shape
What the tool takes
anyapi.tiktok.video_transcript runs through POST /v1/runs with toolId anyapi.tiktok.video_transcript. The required field is url: a public TikTok video or photo post, or a TikTok share link
The input schema refuses a profile link, a /@USER/ID link without /video/ in it, a video file link and a link to another site, and it refuses them as invalid input with no charge. A /@USER/ID address sends TikTok to the For You feed rather than to a video, which is why it fails
requireFields is optional. Omit it and routing is unchanged, with the cheapest source serving. Name language in it and only a source that returns that field serves, which can raise the quoted price you are charged. A named field can still be absent on a video that genuinely lacks it, and a combination no single source returns together is refused as invalid input with no charge
Example input, invented for this guide:
Swap in your own campaign links. The demo handle is a placeholder, not a live post
How to read the response
Two top-level fields drive the row. found is a boolean. When it is false, reason is present and carries the value not_found, which means the source states the target does not exist or returned nothing for it
When found is true, data holds transcript, plus id, language and url when the serving source has them. transcript is marked must-populate. id is the TikTok video id the transcript belongs to. language is the language of the caption track, or null when the serving source does not report it. url is the canonical TikTok URL of the video
The limit belongs to this step: the tool returns only the caption track TikTok published. Many videos, particularly non-English ones, have no track and come back with found: false and reason: not_found. That is a successful call, not an error, and it is billed at the actual charge. Budget for empty rows instead of reading them as failures
The catalog also notes that TikTok's own transcription mishears names and uncommon words
The worksheet design, with placeholder values:
| found | reason | id | language | transcript | url |
|---|---|---|---|---|---|
| true | (absent) | (video id) | (code or null) | (caption text) | (canonical url) |
| false | not_found | (empty) | (empty) | (empty) | (empty) |
Transcript text can run long, so keep the column wide or park the text in a separate sheet and leave a short reference in the row
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch the
caption track TikTok published for the campaign videos listed below.
Check the current inputs and price of anyapi.tiktok.video_transcript
before running anything. Send one request per URL, with url set and
requireFields left out. Return a table with found, reason, id, language,
transcript, and url, and leave the data fields empty when
found is false. Do not substitute another tool and do not write a
transcript yourself.
https://www.tiktok.com/@purrkeydemo/video/7609177768793787680Replace the example line with your own URLs, one per line, and keep the first run to five rows so you can see how many come back empty
Estimated tool cost
Prices read from the Purrkey catalog on November 13, 2026, price revision anyapi-catalog-2026-11-05. The unit is max_call: "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Check one video | 1 x max price | $0.036 per call | 1 | $0.036 |
| Review the campaign set | 25 x max price | $0.036 per call | 25 | $0.90 |
The plan covers 25 calls against a list of 20, which leaves five calls for a re-run after a bad link or a not_found row worth retrying. A found: false answer still counts, because it is billed at the actual charge. Model fees for the agent are not counted
Next step
Run five URLs before you commit the list, so the empty-row rate is visible early. The tool page is at TikTok video transcript. When the same campaign also needs the replies, the companion guide covers that job: export TikTok video comments
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.FAQ
How do I get the transcript of a TikTok video from its URL?
Send the video URL to anyapi.tiktok.video_transcript, one request per video. The response returns found, a reason when nothing was found, and the caption track TikTok published with its transcript, language and canonical URL.
What does anyapi.tiktok.video_transcript return?
It returns found and data. When found is true, data holds transcript plus id, language and url when the serving source has them. When found is false, reason carries the value not_found.
Why does a TikTok transcript request come back with found false?
The tool reads only the caption track TikTok itself published, and many videos, particularly non-English ones, have no track. Those come back as found false with reason not_found.
Is a not_found result an error I get charged for?
No. A found false answer is a successful call, not an error, and costUsd is what it actually cost, billed at the actual charge.
Which TikTok links does the tool accept?
It takes a public video or photo post, or a TikTok share link. A profile link, a /@USER/ID link without /video/, a video file link or a link to another site is refused as invalid input with no charge.
Should I set requireFields to language?
Omit it and routing is unchanged, with the cheapest source serving. Name language and only a source that returns that field serves, which can raise the quoted price, and the field can still be absent on a video that genuinely lacks it.
How much does it cost to fetch 25 TikTok video transcripts?
At most $0.90, since each call is listed at up to $0.036 and the total is a ceiling. Empty rows still count, because a found false answer is billed at the actual charge.
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.