transcriptd
YouTube transcript API for AI agents - pay per successful transcript via x402 (USDC on Base). No captions = no charge.
Documentation
transcriptd
YouTube transcript API for AI agents — pay per successful transcript via
x402 (USDC on Base) or on the
The guarantee: you are charged only when a transcript is delivered.
No captions, private/deleted video, or a failure on our side → HTTP error → no charge.
Endpoints
Base URL: `https://transcriptd.fly.dev`
| Endpoint | Price | Returns | |||
|---|---|---|---|---|---|
| `GET /transcript?video={url\ | id}&format={json\ | text\ | srt}&lang=en` | $0.005 | caption segments with timestamps + cleaned text |
| `GET /metadata?video={url\ | id}` | $0.002 | title, channel, duration, available caption languages | ||
| `GET /` , `GET /healthz` | free | service doc / health + extractor version |
No API key, no account, no subscription — payment IS the authentication (x402,
USDC on Base, gasless for the payer).
Quick start (agent / script)
# pip install "x402[httpx,evm]" eth-account
from eth_account import Account
from x402 import x402Client
from x402.http.clients import x402_httpx_transport
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact import ExactEvmScheme
import httpx, asyncio
async def main():
xc = x402Client()
xc.register("eip155:*", ExactEvmScheme(signer=EthAccountSigner(
Account.from_key("0x"))))
async with httpx.AsyncClient(transport=x402_httpx_transport(xc),
base_url="https://transcriptd.fly.dev") as c:
r = await c.get("/transcript", params={"video": "dQw4w9WgXcQ", "format": "text"})
print(r.text)
asyncio.run(main())MCP server
Thin wrapper in `mcp/server.py` — tools `get_transcript` and
`get_video_metadata`. Your wallet key stays in YOUR client config; it never
leaves your machine.
{
"mcpServers": {
"transcriptd": {
"command": "python",
"args": ["mcp/server.py"],
"env": { "X402_PRIVATE_KEY": "0x" }
}
}
}Apify actor
Same engine, Apify billing, residential proxy included:
apify.com/outspoken_sitkaspruce/transcriptd
— input a list of video URLs, get a dataset of transcripts, charged per delivered
transcript only.
Notes
- Captions only (manual preferred, auto-generated fallback) — no ASR.
- Extractor auto-updates daily; timedtext rate limits are retried with backoff.
- JSON output: `{video_id, language, source, segments: [{start, dur, text}], text}`.
Frequently asked questions
What is transcriptd?
transcriptd is YouTube transcript API for AI agents - pay per successful transcript via x402 (USDC on Base). No captions = no charge.
How do I install transcriptd?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is transcriptd open source?
Yes — it is hosted on GitHub at https://github.com/v1quant78-dot/transcriptd.
Related MCP tools
MCP server and Claude plugin for Postgres skills and documentation. Helps AI coding tools generate better PostgreSQL code.
Decision audit trail + persistent memory for AI trading agents. Outcome-weighted recall, tamper-evident SHA-256 chain with RFC 3161 anchoring, 20 MCP tools.
Pre-build reality check for AI coding agents. Scans GitHub, HN, npm, PyPI, Product Hunt. MCP server. 290+ stars.
Open-source coding agent memory. Records issues, attempts, fixes and decisions, then warns your agent before it repeats an approach that already failed. Native MCP server for Claude Code, Cursor, Antigravity and Codex. 100% local, no cloud, no telemetry. MIT.
Fast and Accurate Code Search for Agents. Uses 99% fewer tokens than grep+read
Control Gmail, Google Calendar, Docs, Sheets, Slides, Chat, Forms, Tasks, Search & Drive with AI - Comprehensive Google Workspace MCP Server & CLI Tool
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP