Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man youtube-transcript

/youtube-transcript(1)

agentutility / mediakit / youtube-transcript
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
mediakit
CATEGORY
uncategorized
STATUS
live
NAME
youtube-transcript youtube transcript / closed-caption fetcher / video subtitles puller / auto-generated cc reader
SYNOPSIS
POST https://x402.org/v1/youtube-transcript
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

YouTube transcript / closed-caption fetcher / video subtitles puller / auto-generated CC reader. Pulls YouTube auto-generated or manual captions for any video and returns the full text plus per-segment {start, duration, text}. Optional language pick. Backed by Supadata's transcript pipeline (server-side; no caller key required). If no transcript is available for the video, returns a 404 with a clear error.

INPUTrequest schema
propertytypedescriptionreq?
video_id_or_urlstringYouTube video ID (11-char) or full URL (youtube.com/watch?v=…, youtu.be/…, /embed/…, /shorts/…).required
languagestringPreferred caption language code (e.g. 'en', 'es', 'ja'). Default: pick the first available.optional
include_chaptersbooleanParse chapter timestamps from the video description. Default false.optional
OUTPUTresponse shape
fieldtypedescription
video_idstringYouTube video ID parsed from the input URL or passed through verbatim.
titlestringVideo title as listed on YouTube.
channelstringChannel name that uploaded the video.
duration_secondsstringTotal video length in seconds.
languagestringBCP-47 language code of the returned transcript (e.g. 'en', 'es').
transcriptstringFull caption text joined into a single string with segment breaks collapsed.
segmentsstringArray of {start, duration, text} objects giving per-caption-line timing in seconds.
chaptersstringArray of video chapter markers with title and start time, when YouTube exposes them.
sourcestringCaption origin tag: 'manual' for uploaded subtitles or 'auto' for YouTube auto-generated CC.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/youtube-transcript \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# install once
claude mcp add x402 --command "npx x402-deployer-mcp"

# then ask Claude Code:
# "use the youtube-transcript tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
mediakityoutubetranscriptcaptionssubtitlesvideo-textclosed-captionsyoutube-transcript
methods
POST
cluster
mediakit
price
$0.01 USDC per call
ADJACENTother endpoints in mediakit
endpointdescriptionprice
audio-transcribeAudio transcribe / speech-to-text / Whisper-large / multi-language ASR / OpenAI Whisper API compat.$0.01
csv-to-icsCSV calendar to ICS / iCal file generator.$0.01
image-convertUniversal image format converter (PNG, JPG, WEBP, AVIF, GIF, BMP, TIFF, ICO, HEIC, HEIF, PSD, SVG).$0.01
image-format-convertImage converter.$0.01
merge-pdfPDF merger / combine PDFs / concatenate PDF files / join multiple PDFs into one.$0.01
pdf-mergePDF merger / PDF combiner / PDF concatenator.$0.01
receipt-ocrReceipt OCR.$0.01
receipt-parserReceipt → structured JSON (vendor, address, date, line items with qty/unit_price/total, subtotal, tax, tip, total, payment method).$0.01
SEE ALSO
agentutility(7) · mediakit(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org