Use case, YouTube transcript

YouTube transcript API for your agent. One call per video.

Send a YouTube video link. Read timestamped transcript lines and plain text version back. Your agent picks the provider, and you pay per call.

Give this to your agent
set up looot for YouTube transcript API - https://looot.ai/use-cases/youtube-transcript-api/skill.md

The short answer

The short answer

YouTube transcript API for an agent: it sends a YouTube video link to a catalog endpoint and reads timestamped transcript lines, plain text version and start back. Several providers sell the call, so the agent tries the cheapest first. You pay per call, and a failed call costs nothing.

Updated

  • Timestamped transcript lines
  • Plain text version
  • Start and end times
  • Caption language

The job

What the YouTube transcript API gives your agent

A transcript turns a video into text your agent can read, search and quote. You send a video link, and the provider returns the caption lines with their start times. That covers research across talks, repurposing one video into posts, and building a text archive of a channel.

Four providers return captions, and they agree on the basics. They differ on what shape the text comes in and which languages you can choose. One returns a timestamped array and a plain-text version in the same call. Another lets you pick between automatic and manual captions and lists the languages a video has.

You give

a YouTube video link

https://www.youtube.com/watch?v=dQw4w9WgXcQ

You get

  • Timestamped transcript lines
  • Plain text version
  • Start and end times
  • Caption language

Providers, cheapest first

What actually differs between providers

Today the price runs from $0.00188 to $0.0040 across 3 endpoints. The dearest costs about 2.1 times the cheapest. Price is only one difference. Each entry below says what that endpoint takes or returns that the others do not.

  1. ScrapeCreators logoScrapeCreators

    Returns a timestamped transcript array and a plain-text version, with a language code and a cache option.

    scrapecreators-youtube-video-transcript
    $0.00188 / call
  2. DataForSEO logoDataForSEO

    Returns a video's subtitles live, as a task array.

    dataforseo-youtube-video-subtitles-advanced
    $0.0020 / call
  3. SearchAPI.io logoSearchAPI.io

    Takes a video ID, lets you choose automatic or manual captions, and returns the languages available for the video.

    searchapi-io-youtube-transcripts
    $0.0040 / call
  4. Any Site API

    Takes a video ID or a URL with a language, and returns the subtitles.

    anysite-api-youtube-video-subtitles
    price on request

Cost

What 100 YouTube transcript runs cost

$0.1880

100 videos cost about $0.1880 through the cheapest endpoint, at ScrapeCreators, and about $0.4000 through the dearest. Each run is one call.

Sample calls

The request and what comes back

Each run is one POST to /v1/runs with an endpoint id and an input. These are illustrative calls with generic values. The run's result holds the provider's own fields.

Request
{"endpointId":"scrapecreators-youtube-video-transcript","input":{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","language":"en"},"wait":30}
ResponseSample output
// POST /v1/runs, then read run.status and run.result
// result: returns a timestamped transcript array and a plain-text version, with a language code and a cache option

The prompt

Copy one prompt, give it to your agent.

Edit the names and numbers, paste it, and the agent runs the job and shows the cost.

  • One run is one video.
  • 1 step across 4 providers.
  • Runs on demand, whenever you ask.
Prompt: YouTube transcript API
Use looot to get the transcript of https://www.youtube.com/watch?v=dQw4w9WgXcQ in English, return it with timestamps, and add a three line summary. 1. Set up https://looot.ai/skill.md. 2. Search the catalog for each step and check its price before you call. 3. Run the cheapest endpoint that fits. 4. Show the results as a table and the total cost.

Give this to your agent
Setup command
set up looot for YouTube transcript API - https://looot.ai/use-cases/youtube-transcript-api/skill.md

Before you start

Settle these before the first run

  • Check that the video has captions. If YouTube exposes no caption track, the transcript fields come back empty, and you are not billed for a call that fails at the provider.
  • Ask for a language. If the transcript is not available in the language you name, one provider returns null instead of the nearest match.
  • Long videos work. One provider says there is no two-minute limit on YouTube, and that podcasts work when public captions exist.

FAQ

Questions people ask

Send the video link to a transcript endpoint. Your agent gets back the caption lines with start times and a plain-text version. For a list of videos, it makes one call per link.

Yes, when YouTube exposes public captions. One provider states there is no two-minute limit, so a podcast of several hours works if it has captions.

Then there is nothing to return, and the transcript fields come back empty. Ask your agent to list the links that returned nothing, so you can skip them or transcribe the audio another way.

Yes. Three of the endpoints take a language code, and one also lists the languages a video offers. A language that does not exist for the video returns null on one provider.

In two steps. The agent lists the channel's videos, then makes one transcript call per video. Each call is billed on its own, so ask for the total before a big channel.

You pay per call, and the price depends on the provider your agent picks. This page reads the cheapest live price from the catalog and shows no number when the catalog is unreachable.

No. A call that fails at the provider costs nothing, and your agent can retry it or send it to another provider.

No. One looot key reaches every provider in the catalog. You top up once, and each call is billed at the price shown before it runs.

Send a POST to /v1/runs with the endpoint id, the input and a new idempotency key, and your looot token in the Authorization header. With wait set to 30, the answer comes back in the response when the run ends within 30 seconds. Otherwise poll GET /v1/runs/<runId>.

That needs scheduled runs, not available yet. Run it by hand whenever you want fresh results.

No. looot bills per call, and nothing runs while your agent is idle.

More ways to run this job

For agents
use case
YouTube transcript API
run
video
schedule
on demand
step
Fetch the transcript: scrapecreators anysite dataforseo searchapi-io
setup
https://looot.ai/use-cases/youtube-transcript-api/skill.md
llms.txt
https://looot.ai/llms.txt
updated
2026-10-04

Try YouTube transcript with your own agent.

Start your workspace, top up, and paste the prompt into the agent you already use.