Base URL
https://quicktube.aiAuthentication
Include your API key in the request headers:
X-API-Key: qt_your_api_key_hereDon't have an API key? Generate one in Settings
Rate Limiting
API requests are subject to rate limiting to ensure fair usage. Contact us if you need higher limits.
API Endpoints
/api/transcriptFetch Transcript
Fetch the transcript for a YouTube video
Request Body:
{
"video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"languages": ["en"]
}/api/best-sectionsFind Best Sections
AI analyzes the transcript to find the most interesting moments
Request Body:
{
"video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"num_sections": 10
}/api/summarizeGenerate Summary
Generate an AI summary of the video content
Request Body:
{
"video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}/api/charactersDetect Characters
Identify people speaking or being interviewed in the video
Request Body:
{
"video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}/api/chatChat with Video
Ask questions about the video content
Request Body:
{
"video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"messages": [
{"role": "user", "content": "What is the main topic?"}
],
"transcript_text": "Optional full transcript...",
"character": "John Doe"
}/api/quizGenerate Quiz
Generate a quiz from the video content (3 credits)
Request Body:
{
"video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"num_questions": 5
}/api/speechGenerate Speech
Convert text to speech using OpenAI TTS
Request Body:
{
"text": "Text to convert to speech",
"voice": "nova"
}/api/download-videoDownload Video
Download full video or create highlights compilation
Request Body:
{
"video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"video_type": "highlights",
"sections": [
{"start": 10.0, "end": 30.0, "title": "...", "reason": "..."}
]
}/api/get-download-urlGet Download URL
Get a direct download URL for a video (10 credits for API key)
Request Body:
{
"video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"video_type": "full"
}/api/video/metadata/{video_id}Get Video Metadata
Fetch comprehensive metadata for a YouTube video
Request Body:
GET /api/video/metadata/dQw4w9WgXcQ/api/video/searchSearch Videos
Search YouTube videos by query
Request Body:
GET /api/video/search?q=machine+learning&max_results=10&order=relevance/api/video/comments/{video_id}Get Video Comments
Fetch comments for a YouTube video
Request Body:
GET /api/video/comments/dQw4w9WgXcQ?max_results=100&order=relevance/api/video/related/{video_id}Get Related Videos
Fetch videos related to a specific video
Request Body:
GET /api/video/related/dQw4w9WgXcQ?max_results=10/api/channel/{channel_id}Get Channel Details
Fetch details about a YouTube channel
Request Body:
GET /api/channel/UC_x5XG1OV2P6uZZ5FSM9Ttw/api/videos/popularGet Popular Videos
Fetch trending/popular videos by region
Request Body:
GET /api/videos/popular?region_code=US&max_results=10/api/batch/processBatch Process Videos
Process multiple videos at once (up to 10). Credits: 5 per summary + 5 per sections per video.
Request Body:
{
"video_urls": [
"https://www.youtube.com/watch?v=video1",
"https://www.youtube.com/watch?v=video2"
],
"include_transcript": true,
"include_summary": true,
"include_sections": false,
"num_sections": 5
}For support or questions about the API, please contact us or visit our documentation.