At a glance
| To get | Send | What comes back | Price |
|---|---|---|---|
| One video, plain text | POST /v1/transcript with ref (an id or any YouTube link) and lang | transcript: one string | 3 credits |
| One video, timed lines | POST /v1/captions with ref and lang | Lines with a start, a length and the words | 3 credits |
| Up to 10 videos at once | POST /v1/transcripts with refs (1 to 10) and lang | One transcript per video, in the order asked | 3 credits per transcript |
The exact call
curl -X POST "https://wagamiai.com/v1/transcript" \
-H "Authorization: Bearer $WAGAMI_KEY" \
-H "Content-Type: application/json" \
-d '{"ref": "dQw4w9WgXcQ"}'
What comes back:
{"ok": true, "transcript": "Today we look at three simple ways to light a small studio…"}
From an AI agent: the MCP tool is get_transcript. How to connect.
Languages
Pick a language by code with lang (the default is en). A creator's own captions come first, then automatic ones. What exists depends on the video.
Every transcript of a channel
List the channel's uploads with POST /v1/channel/videos (up to 1,000 rows), then ask for each transcript, ten at a time with /v1/transcripts. Your balance is the only limit.
Questions
What does a transcript cost?
3 credits, which is $1.50 for 1,000 transcripts at the base rate of 2,000 credits for $1. Errors, refusals and empty answers are never charged.
Do Shorts and youtu.be links work?
Yes. Send a video id or any YouTube link to the video: a watch link, a Shorts link or a youtu.be link.
Can an AI agent do this by itself?
Yes. On the MCP server the tool is get_transcript, and get_transcripts takes up to 10 videos. Any agent that can make HTTPS requests can call the API directly.