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:
Authorization: Bearer your_api_key - JWT Token:
Authorization: Bearer your_jwt_token
- API Key:
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.- POST
- Python
- cURL
Get Video Info (Authenticated)
Extract comprehensive video metadata with full format information.- POST
- Python
Media Download
Download Media (Public)
Download videos with public access limitations.- POST
- Python
Download Media (Authenticated)
Download videos with full features and no restrictions.- POST
- Python
url(required): URL of the video to downloadformat(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
Batch Downloads
Bulk Download Multiple Videos
Download multiple videos in a single request.- POST
- Python
Job Management
Get Download Status
Monitor the progress of download jobs.- GET
- Python
List Download Jobs
Get all download jobs for the authenticated user.- GET
- Python
Download Files
Download the extracted media files.- Python
Job Management
Update Download Job
Update job metadata such as custom title.- PUT
- Python
Delete Download Job
Remove a download job and its associated files.- DELETE
- Python
Get User Statistics
Get comprehensive download statistics for the authenticated user.- GET
- Python
Platform Support
Supported Platforms
| Platform | Audio | Video | Playlists | Live Streams |
|---|---|---|---|---|
| YouTube | ✅ | ✅ | ✅ | ✅ |
| TikTok | ✅ | ✅ | ❌ | ❌ |
| ✅ | ✅ | ❌ | ❌ | |
| Vimeo | ✅ | ✅ | ✅ | ❌ |
| Twitter/X | ✅ | ✅ | ❌ | ❌ |
| ✅ | ✅ | ❌ | ❌ | |
| Spotify | ✅ | ❌ | ✅ | ❌ |
| SoundCloud | ✅ | ❌ | ✅ | ❌ |
Format Support
Video Formats:- MP4 (H.264, H.265)
- WebM (VP8, VP9)
- MKV
- AVI
- MOV
- MP3 (various bitrates)
- WAV (uncompressed)
- AAC
- OGG
- FLAC (lossless)
- 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
400 Bad Request - Invalid URL
400 Bad Request - Invalid URL
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
403 Forbidden - Access Denied
403 Forbidden - Access Denied
Causes: - Content is private or restricted - Geographic restrictions - Platform blocking
Solutions: - Use publicly accessible content - Check content availability in your region - Try different platform
404 Not Found - Content Not Available
404 Not Found - Content Not Available
Causes: - Video deleted or removed - Invalid video ID - Platform content policy violation
Solutions: - Verify content still exists - Check for updated URL - Use alternative source
413 Payload Too Large - File Size Limit
413 Payload Too Large - File Size Limit
Causes: - Video file too large for processing - Very long duration content
Solutions: - Use lower quality settings - Extract audio only - Split long content
402 Payment Required - Insufficient Credits
402 Payment Required - Insufficient Credits
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).- GET
- Python
Get Full Supported Formats
Get complete list of formats available for authenticated users.- GET
- Python
Best Practices
Quality vs. File Size Optimization
Batch Processing Strategy
Pricing
Media extraction pricing based on actual credit costs:| Service | Cost | Description |
|---|---|---|
| Video Info | Free | Get metadata without downloading |
| Video Download (All Formats) | 6 credits/minute | Download audio/video in any quality |
| Thumbnail Extraction | 1 credit | Download video thumbnail |
Cost Examples
| Duration | Service | Quality | Credits | USD Cost |
|---|---|---|---|---|
| 5 minutes | Audio Only | 320kbps | 30 | $0.004 |
| 10 minutes | Video | 720p | 60 | $0.008 |
| 30 minutes | Video | 1080p | 180 | $0.024 |
| 2 hours | Audio Only | 192kbps | 720 | $0.096 |
Cost Optimization Tips
- Extract audio only when video is not needed
- Use appropriate quality - don’t download 4K for analysis
- Batch process similar content for efficiency
- Get info first to estimate costs before downloading
