Turn TikTok videos into text for script and hook analysis
Get spoken-word transcripts of TikTok videos by URL as JSON, to study hooks, scripts and claims without watching every video.
Videos are hard to search, quote or compare. If you want to study the first three seconds of the best videos in your niche, check what a creator claimed about your product, or reuse a script, you need the words as text. Lovely Router gets them. Send video links, get one JSON object per transcript, pay per transcript from a prepaid balance. Call it from a script, a content pipeline or an AI agent.
Hand it to your AI agent
Copy this prompt into Claude Code, Cursor, Codex or any coding agent. It tells the agent where the docs are and how to use your API key.
Turn TikTok videos into text for script and hook analysis. Use the Lovely Router data tools: each returns JSON and is billed per result.
- Docs (read first): https://lovelyrouter.com/docs/tools/find.md and https://lovelyrouter.com/docs/tools/run.md
- Plan first: POST https://lovelyrouter.com/v1/tools/suggest with `{"task": "<my task in plain words>"}` (free). It returns the tools to run in order, each with an example `input`, the `input_required` fields, an estimated cost and a ready-made `run` request. Replace the example values with my task's; if a field is unclear, read the tool with GET https://lovelyrouter.com/v1/tools/<id>. To browse instead, POST https://lovelyrouter.com/v1/tools/discover searches the catalog.
- Show me the plan and its estimated cost (`total_est_cost_usd`) before running anything large.
- Run: POST https://lovelyrouter.com/v1/tools/<id>/run with `{"input": {...}, "max_results": N}`. A 200 has the finished run with `items`; a 202 means it is still running, so poll the `poll` path until `status` is `succeeded`, `failed`, `timed_out` or `stopped`.
- Only delivered results are billed. Keep max_results small on the first run, check the output, then scale up.
- If you support MCP, connect https://lovelyrouter.com/mcp instead (Streamable HTTP, same key; https://lovelyrouter.com/docs/tools/mcp.md) and use suggest_tools, get_tool and run_tool.
- Auth: read my API key from the LOVELY_API_KEY environment variable and send it as `Authorization: Bearer $LOVELY_API_KEY`. Never print or commit the key. If it is not set, ask me to create one at https://lovelyrouter.com/app/keys.
- Billing is prepaid: every call is charged to my balance, so test with a small request before running anything large.
- Every docs page is plain Markdown; the full index is https://lovelyrouter.com/llms.txt.
My task: <the inputs (links, keywords or accounts) and how many results you need>How it works
Collect the video links
Gather the videos you want in text: top performers from a search, a competitor's launch, a creator's sponsored posts.
Run the tool with a cap
Send the links in
videostoPOST /v1/tools/tiktok-transcript/runwithmax_results. One link is one transcript, and one run can hold up to 50.Analyze the text
Give the transcripts to a model. Ask for the opening line of each, the claims made, calls to action, and the structure that repeats.
Get TikTok transcripts with one request
Get TikTok transcripts takes a list of video links in videos. The request body's max_results is the cap:
curl https://lovelyrouter.com/v1/tools/tiktok-transcript/run \
-H "Authorization: Bearer $LOVELY_API_KEY" \
-H "content-type: application/json" \
-d '{
"input": {
"videos": [
"https://www.tiktok.com/@stoolpresidente/video/7488736374602927402"
]
},
"max_results": 1
}'This tool has no limit field in input. The number of links you send and max_results decide how many transcripts you pay for. A run still going after 60 seconds returns 202; Run a tool shows how to poll.
What each transcript holds
| Field group | What you get |
|---|---|
| Transcript | The spoken-word text of the video |
| Source | The video link it came from |
The tool returns spoken-word transcripts only, not on-screen text. Run one link first to check the output of the videos you care about.
Recipes
Take the top results from tiktok-search, get their transcripts, and ask a model to list the first sentence of each and sort them by type: question, claim, story, warning.
Transcribe your own best three videos and ask a model to write the common outline, so the next script starts from what already works.
Transcribe a creator's sponsored posts and flag claims about your product that legal or support need to see.
Store each transcript next to its link in your own database and search the text for a product name or a complaint.
Transcribe videos from another country, and let a model translate them to see what ideas travel.
Prefer plain words? Connect the MCP server and tell Claude Code or Cursor: "Get transcripts for the 15 TikTok links in links.txt, write down the first sentence of each, and group them by hook type. Set max_results to 15."
Pair it with other TikTok tools
Transcripts are most useful next to the video list and the reactions to it:
Spoken-word transcripts of TikTok videos by URL.
TikTok videos for keywords or hashtags: caption, views, likes, shares, author, music.
A TikTok account's videos with the author's follower and like counts.
Comments on a TikTok video by URL.
Full transcripts (captions) of YouTube videos, with timestamps: one per video link, in the language you ask for when the video has it.
tiktok-searchfinds the videos worth transcribing.tiktok-profilelists all videos of one account, so you can transcribe a whole feed.tiktok-commentsadds what viewers said about the script.youtube-transcriptdoes the same on YouTube.
For monitoring what is said about a brand, see social listening.
What you pay
You pay per transcript: starting a run holds its maximum cost, the per-call fee plus the per-transcript fee times max_results, and the run settles to what it returned. The rest of the hold goes back to your balance. A run that fails or times out pays only for the transcripts it delivered, and a run refused at the start costs nothing.
Reading 100 transcripts is billed as 100 transcripts. There is no subscription and no monthly minimum: top up from $5, and one balance pays for tools and models. The card above shows today's price; pricing lists every tool.
Frequently asked questions
How many transcripts can I get in one run?+
Up to 50, one per video link in videos. For a longer list, start several runs.
Does it work on any TikTok video?+
You send a video link and it returns spoken-word text. The tool does not promise a transcript for every video, so test a few of the videos you need first.
Does it return on-screen text?+
No. The tool is described as returning spoken-word transcripts.
Can I choose the language?+
The input has only the videos field, so there is no language setting. Translate afterwards with a model if you need to.
Do I need a subscription?+
No. You add credit to a prepaid balance and each run draws it down. Failed runs pay only for the transcripts they delivered, and nothing renews automatically.
Looking for more? See the rest of the tool catalog and the pricing page.