Skip to main content

Overview

AudioPod AI’s Media Extraction API provides powerful tools for downloading and extracting audio/video content from various online platforms. Extract high-quality audio from videos, download content in multiple formats, and get detailed metadata for content analysis.

Key Features

  • Multi-Platform Support: YouTube, TikTok, Instagram, Vimeo, Spotify, and more
  • Multiple Formats: MP4, MP3, WAV, WebM, AAC, and other audio/video formats
  • Quality Options: From 144p to 4K video, various audio bitrates
  • Metadata Extraction: Title, description, duration, uploader info, view counts
  • Thumbnail Download: Automatic thumbnail extraction and download
  • Batch Processing: Download multiple videos efficiently
  • Public Access: Limited public access without authentication
  • No Duration Limits: Full-length content extraction for authenticated users

Authentication

  • Public Access: Limited features, 10-minute duration limit, basic formats only
  • Authenticated Access: Full features with API key or JWT token
    • API Key (Recommended): X-API-Key: your_api_key header
    • JWT Token: Authorization: Bearer your_jwt_token (for session-based auth)

Rate Limits

All endpoints are rate limited to prevent abuse:
  • Public Video Info: 60 requests/minute
  • Public Download: 10 requests/minute
  • Authenticated Video Info: 30 requests/minute
  • Authenticated Download: 10 requests/minute
  • Bulk Download: 3 requests/minute
  • Job Status: 60 requests/minute
  • Job Management: 30 requests/minute

Video Information

Get Video Info (Public)

Extract basic video metadata without authentication.

Get Video Info (Authenticated)

Extract comprehensive video metadata with full format information.
Response:

Media Download

Download Media (Public)

Download videos with public access limitations.

Download Media (Authenticated)

Download videos with full features and no restrictions.
Request Parameters:
  • url (required): URL of the video to download
  • format (optional): Output format (mp4, mp3, wav, webm, mkv, etc.)
  • quality (optional): Quality setting (144p, 720p, 1080p, 4K for video; 128kbps, 320kbps for audio)
  • audio_only (optional): Extract audio only (default: false)
  • include_thumbnail (optional): Download thumbnail image (default: false)
  • format_selector (optional): Format selection strategy (“best”, “worst”, or specific format_id)
  • output_filename (optional): Custom output filename
Response:

Batch Downloads

Bulk Download Multiple Videos

Download multiple videos in a single request.

Job Management

Get Download Status

Monitor the progress of download jobs.
Response (Completed Job):

List Download Jobs

Get all download jobs for the authenticated user.

Download Files

Download the extracted media files.

Job Management

Update Download Job

Update job metadata such as custom title.

Delete Download Job

Remove a download job and its associated files.

Get User Statistics

Get comprehensive download statistics for the authenticated user.
Response:

Platform Support

Supported Platforms

Format Support

Video Formats:
  • MP4 (H.264, H.265)
  • WebM (VP8, VP9)
  • MKV
  • AVI
  • MOV
Audio Formats:
  • MP3 (various bitrates)
  • WAV (uncompressed)
  • AAC
  • OGG
  • FLAC (lossless)
Quality Options:
  • Video: 144p, 240p, 360p, 480p, 720p, 1080p, 1440p, 2160p (4K)
  • Audio: 64kbps, 128kbps, 192kbps, 256kbps, 320kbps

Use Cases & Examples

Podcast Content Creation

Educational Content Archive

Social Media Content Analysis

Error Handling

Causes: - URL format not supported - Private/restricted content - Invalid video ID Solutions: - Verify URL is publicly accessible - Check platform support - Ensure URL format is correct
Causes: - Content is private or restricted - Geographic restrictions - Platform blocking Solutions: - Use publicly accessible content - Check content availability in your region - Try different platform
Causes: - Video deleted or removed - Invalid video ID - Platform content policy violation Solutions: - Verify content still exists - Check for updated URL - Use alternative source
Causes: - Video file too large for processing - Very long duration content Solutions: - Use lower quality settings - Extract audio only - Split long content
Causes: - Not enough credits for download duration/quality Solutions: - Purchase additional credits - Use lower quality settings - Check credit requirements

Supported Formats

Get Public Supported Formats

Get formats available for public downloads (no authentication required).
Response:

Get Full Supported Formats

Get complete list of formats available for authenticated users.
Response:

Best Practices

Quality vs. File Size Optimization

Batch Processing Strategy

Pricing

Media extraction is billed by input duration. Two billing paths apply depending on whether you authenticate with a JWT (subscription credits) or an API key (API wallet, USD-denominated):

Cost Examples

Cost Optimization Tips

  1. Extract audio only when video is not needed
  2. Use appropriate quality - don’t download 4K for analysis
  3. Batch process similar content for efficiency
  4. Get info first to estimate costs before downloading

Next Steps

Speech-to-Text

Transcribe extracted audio content.

Speaker Separation

Separate speakers in extracted audio.