API Documentation
Integrate YouTube transcript generation and AI summarization into your applications with our powerful REST API.
Quick Start
Get started with the TubeScript AI API in minutes. Our RESTful API provides programmatic access to all transcript generation and summarization features.
Base URL
Authentication
Get Your API Key
Sign in and visit your API Dashboard to create and manage your API keys.
/transcript/generate
Generate a transcript from a YouTube video URL. The API will first check for existing captions, then use AI transcription if needed.
Request Body
Response
/summary/generate
Generate an AI-powered summary from transcript data. Uses advanced AI models for intelligent summarization.
Request Body
Response
/process/complete
Generate both transcript and summary in a single API call. Most efficient option for complete processing.
Request Body
Response
Rate Limits
To ensure fair usage and optimal performance, our API implements rate limiting based on your subscription tier.
Basic Tier
- • 100 requests per hour
- • 10 concurrent requests
- • Videos up to 30 minutes
Pro Tier
- • 1,000 requests per hour
- • 50 concurrent requests
- • Videos up to 2 hours
Enterprise
- • Unlimited requests
- • 200 concurrent requests
- • No video length limit
Error Codes
Code | Description | HTTP Status |
---|---|---|
INVALID_URL | The provided YouTube URL is invalid | 400 |
VIDEO_NOT_FOUND | The YouTube video could not be found | 404 |
TRANSCRIPT_FAILED | Failed to generate transcript | 500 |
RATE_LIMIT_EXCEEDED | API rate limit exceeded | 429 |
UNAUTHORIZED | Invalid or missing API key | 401 |
Code Examples
Python
JavaScript
cURL
Ready to Get Started?
Sign up for an API key and start integrating TubeScript AI into your applications today.