REST API, works on a free account

YouTube Transcription API One Request per Video

Post a YouTube link and get the transcript back as plain text or as timed segments with speakers. The video does not need captions: we transcribe the audio itself, in more than 50 languages.

A free account includes 10 recordings and 5 hours. See the plans

Send the link

One call hands the video over. We fetch it, read its title and length, and answer at once with an id you use for everything that follows. The key goes in the X-Api-Key header and needs the scope files.write.

curl
curl -X POST https://api.transcrify.com/api/v1/files/youtube \
  -H "X-Api-Key: $TRANSCRIFY_KEY" \
  -H "Content-Type: application/json" \
  -d '{"link":"https://www.youtube.com/watch?v=a7_WFUlFS94"}'
Response
{
  "id": 1300,
  "uid": "url673e1c0a5b2f41.90210",
  "statusLabel": "downloading"
}

Wait for the webhook

Transcription takes a few minutes per hour of video. Register an address once and we call it when the transcript is ready, so nothing has to poll. Each call is signed, and failed deliveries are retried six times over about two hours.

curl, once
curl -X POST https://api.transcrify.com/api/v1/webhooks \
  -H "X-Api-Key: $TRANSCRIFY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
        "url": "https://hooks.example.com/transcrify",
        "events": ["file.transcription.completed", "file.transcription.failed"]
      }'
What we send
POST https://hooks.example.com/transcrify
X-Transcrify-Event: file.transcription.completed
X-Transcrify-Delivery: 88412
X-Transcrify-Signature: t=1795000251,v1=5f8c2d…

{
  "event": "file.transcription.completed",
  "occurredAt": "2026-11-20T12:04:11+00:00",
  "data": {
    "fileId": 1300,
    "uid": "url673e1c0a5b2f41.90210",
    "fileName": "2026-11-20",
    "duration": 156,
    "language": "en",
    "status": "transcribed",
    "hasTranscription": true
  }
}

Read the transcript

The recording itself carries the full text in transcriptionText. For subtitles, chapters or anything tied to time, ask for the segments: each has a start, an end, the text and a speaker label. Both calls need the scope files.read.

curl
curl "https://api.transcrify.com/api/v1/files/1300/transcript?offset=0&limit=200" \
  -H "X-Api-Key: $TRANSCRIFY_KEY"
Response
{
  "speakers": [
    { "label": "SPEAKER_00", "talkTime": 81.5, "segments": 22 },
    { "label": "SPEAKER_01", "talkTime": 63.0, "segments": 19 }
  ],
  "totalSegments": 41, "offset": 0, "limit": 200, "nextOffset": null,
  "segments": [
    { "id": 0, "start": 0.0, "end": 4.2, "text": "Good morning, let's start.", "speaker": "SPEAKER_00" }
  ]
}

The whole loop as a script

This file takes a YouTube address, has it transcribed and prints the text. It polls, which is fine for a script; use the webhook in production. You need curl and jq.

transcribe-youtube.sh
#!/usr/bin/env bash
# Transcribe a YouTube video and print the text.
#
#   export TRANSCRIFY_KEY=trk_...
#   ./transcribe-youtube.sh "https://www.youtube.com/watch?v=a7_WFUlFS94"
#
# Needs curl and jq. The key needs the scopes files.write and files.read.
set -euo pipefail

API="${TRANSCRIFY_API:-https://api.transcrify.com}"
LINK="$1"

# 1. Hand over the link. Transcrify fetches the video and reads its title and length.
id=$(jq -n --arg link "$LINK" '{link: $link}' \
  | curl -fsS -X POST "$API/api/v1/files/youtube" \
      -H "X-Api-Key: $TRANSCRIFY_KEY" \
      -H "Content-Type: application/json" \
      -d @- \
  | jq -r .id)
echo "Accepted as file $id" >&2

# 2. Wait. A webhook is the better way in production; polling is fine for a script.
while true; do
  file=$(curl -fsS "$API/api/v1/files/$id" -H "X-Api-Key: $TRANSCRIFY_KEY")
  status=$(jq -r .statusLabel <<<"$file")
  case "$status" in
    transcribed)
      # 3. Print the text.
      jq -r .transcriptionText <<<"$file"
      exit 0
      ;;
    *failed)
      echo "Could not be transcribed: $status" >&2
      exit 1
      ;;
  esac
  echo "  $status..." >&2
  sleep 20
done

Why not read YouTube’s own captions?

Many “YouTube transcript APIs” return the caption track that YouTube already shows under the video. That is fast, but it depends on a track being there. Plenty of videos have none, auto-captions exist only for some languages, and the track carries no speakers.

This API works from the sound. It gives the same kind of transcript for a video with no captions as for one with them, detects the language by itself and separates the speakers. The cost is time: minutes, not milliseconds. If you need an instant answer for a video that is certain to have captions, a caption scraper is the simpler tool. If you need a transcript you can rely on for any video, use this.

What people build with it

Searchable video archives

Transcribe a channel’s back catalogue and index the text, so viewers and staff can find the minute a topic was discussed.

Summaries and newsletters

Feed each new upload’s transcript to your own pipeline to produce show notes, a digest or a blog post.

Research and monitoring

Follow talks, earnings calls and competitor webinars published on YouTube as text you can search and quote.

Subtitles in your product

Use the timed segments to show captions next to an embedded video, in the original language.

The same key also takes file uploads and plain file URLs, lists and searches your library and creates download links. The API guide covers all of it, and the examples page has complete programs to start from.

Questions about the YouTube transcription API

Does the API need the video to have captions?

No. Transcrify downloads the audio of the video and transcribes it with its own speech models, so it works on videos with no captions, with auto-captions turned off, or in a language YouTube did not caption.

How do I know when the transcript is ready?

Register a webhook and we call it with the event file.transcription.completed. Without a webhook, ask for the recording every 15 to 30 seconds and read statusLabel until it says transcribed.

Can I get timestamps and speakers?

Yes. GET /api/v1/files/{id}/transcript returns timed segments with a speaker label on each, which is what you need to build subtitles or chapter notes.

What does it cost?

The API uses the same transcription hours as the web panel. A free account includes 10 recordings and 5 hours, enough to build and test. After that, hours come from a one-time pack or a monthly plan.

What happens with a private or removed video?

A video we cannot fetch ends with the status youtube_download_failed, and the webhook event file.processing.failed is sent, so your code can tell the user right away.

Is there a rate limit?

Each key may make 120 requests a minute. Above that the API answers 429 with a Retry-After header.

Transcribe your first video in five minutes

Create a free account, make a key and run the script. No card is needed to build and test.