Audio format converter MP3 WAV FLAC
Pricing
$10.00 / 1,000 results
Audio format converter MP3 WAV FLAC
Convert audio files between 10+ formats including messaging platform optimized formats. Supports Telegram (OGG), WhatsApp (AMR), Discord (OPUS), plus MP3, WAV, FLAC, AAC, M4A, 3GP, WebM. Perfect for voice messages, podcasts, and cross-platform audio compatibility.
Pricing
$10.00 / 1,000 results
Rating
5.0
(2)
Developer

Akash Kumar Naik
Actor stats
1
Bookmarked
96
Total users
5
Monthly active users
7 days ago
Last modified
Categories
Share
🎵 Audio File Converter - 10+ Formats | Telegram • WhatsApp • Discord
Ultimate audio converter for messaging platforms! Convert MP3, WAV, FLAC, and more into formats optimized for Telegram (OGG), WhatsApp (AMR), Discord (OPUS), Apple (M4A), and web streaming. Perfect for voice messages, podcasts, and cross-platform compatibility with intelligent quality optimization.
Input Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| file_url | string | Yes | Direct URL to your audio file. Supports MP3, WAV, FLAC, M4A, AAC, and most common formats. | https://example.com/audio.mp3 |
| target_format | string | Yes | Choose the output format based on your intended use. Each format is optimized for specific platforms and use cases. | mp3 |
| quality | string | No | Select quality based on file size vs audio fidelity trade-off. Higher quality = larger file size. | medium |
| sample_rate | integer | No | Optional: Override the default sample rate. Use 48000 for OPUS, 44100 for general audio, 16000 for voice messages. | 44100 |
Target Format Options
- mp3 - Universal compatibility (web, mobile, podcasts)
- wav - Uncompressed studio quality (editing, mastering)
- flac - Lossless compression (audiophile, archiving)
- ogg - Telegram voice messages (small file size)
- aac - High-quality mobile audio (iOS, Android streaming)
- m4a - Apple ecosystem (iTunes, Apple Music, iOS)
- opus - Discord voice (WebRTC, real-time communication)
- amr - Modern WhatsApp voice (mono voice, tiny files)
- 3gp - Legacy mobile phones (maximum compatibility)
- webm - Modern web audio (HTML5, progressive streaming)
Quality Options
- low - 128 kbps (fastest, smallest files)
- medium - 192 kbps (balanced quality/size)
- high - 256 kbps (excellent quality)
- lossless - Original quality (largest files)
Output
The Actor returns a dataset item with the following fields:
| Field | Type | Description |
|---|---|---|
| success | boolean | Indicates whether the audio conversion completed successfully. |
| original_filename | string | The original filename as provided in the input URL. |
| output_filename | string | The filename of the converted audio file. |
| input_format | string | The original audio format of the input file. |
| output_format | string | The target audio format after conversion. |
| file_size_mb | number | Size of the converted audio file in megabytes. |
| conversion_duration_seconds | number | Total time taken for the conversion process in seconds. |
| download_url | string | Direct URL to download the converted audio file. |
| timestamp | string | ISO 8601 timestamp when the conversion was completed. |
| error | string | Error description if the conversion failed (null if successful). |
Usage Examples
Basic Usage
{"file_url": "https://example.com/audio.mp3","target_format": "ogg"}
With Quality Setting
{"file_url": "https://example.com/audio.wav","target_format": "mp3","quality": "high"}
With Custom Sample Rate
{"file_url": "https://example.com/audio.flac","target_format": "opus","sample_rate": 48000}
API Usage
from apify_client import ApifyClientclient = ApifyClient('YOUR_API_TOKEN')run = client.actor('audio-file-converter').call({'file_url': 'https://example.com/audio.mp3','target_format': 'opus','quality': 'high'})# Get the conversion resultresult = client.dataset(run['defaultDatasetId']).list_items().items[0]print(result)