cd /news/ai-tools/i-built-an-api-that-gives-any-ai-the… · home topics ai-tools article
[ARTICLE · art-18399] src=dev.to pub= topic=ai-tools verified=true sentiment=↑ positive

I built an API that gives any AI the ability to learn from YouTube

A developer built TubeScribe API, a tool that enables AI agents to extract transcripts and summaries from YouTube videos. The API returns JSON data including full transcripts with timestamps, video metadata, and optional Claude-generated summaries through a single REST call. It handles caption parsing, Whisper fallback for videos without captions, and rate limiting automatically.

read1 min publishedMay 30, 2026

YouTube is the world's largest knowledge base. Billions of hours of tutorials, lectures, interviews, and technical walkthroughs — and your AI agent can't touch any of it.

It can read text. It can search the web. But it can't watch a video.

I built TubeScribe API to fix that.

When you're building an AI agent or RAG pipeline, you constantly run into this wall. A user asks "summarize this YouTube video" or "extract the key points from this lecture" — and you have nothing. The transcript might be buried in auto-generated captions, or not exist at all for older videos.

You could build your own solution. Pull the Innertube API, parse the caption XML, handle Whisper fallback for videos with no captions, deal with rate limits and format variations... or you could just make one API call.

curl "https://transcriptapi.dev/transcript?url=https://youtube.com/watch?v=VIDEO_ID&summary=true" \
  -H "X-API-Key: your_key"

Response:

{
  "title": "...",
  "channel": "...",
  "duration": 1247,
  "transcript": [
    { "text": "Welcome back everyone...", "start": 0.0, "duration": 3.2 },
    ...
  ],
  "summary": "This video covers...",
  "wordCount": 4821,
  "cached": false
}

That's it. Full transcript with timestamps, video metadata, and an optional Claude AI summary — all in one response.

&summary=true

and get a structured summary generated by Claude alongside the raw transcript.The API is built for developers and AI agents. JSON responses, standard REST, straightforward auth via X-API-Key

header.

OpenAPI spec available at transcriptapi.dev/openapi.yaml if you want to import it directly into Postman, Insomnia, or your agent framework.

If you're building anything with AI + video content, I'd love to hear what you're working on. Drop a comment below.

Asfi

── more in #ai-tools 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-built-an-api-that-…] indexed:0 read:1min 2026-05-30 ·