Integrate Visolix Downloader into your applications
Create an account to get your unique API key and start integrating Visolix into your applications.
Transparent, pay-per-use pricing for all supported platforms
Initialize a download request for content from supported platforms
https://developers.visolix.com/api/download
X-API-KEYX-PLATFORMURLX-FORMATGET https://developers.visolix.com/api/download
Headers:
X-API-KEY: your-api-key-here
X-PLATFORM: youtube
URL: https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dabcd1234
X-FORMAT: mp3
Check the progress and status of your download requests
https://developers.visolix.com/api/progress
idGET https://developers.visolix.com/api/progress?id=abcd1234
{
"progress": 500,
"success": 0,
"download_url": null,
"text": "Downloading"
}
Ready-to-use code snippets in popular programming languages
import requests
api_key = 'your-api-key-here'
url = 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'
platform = 'youtube'
format = 'mp3'
headers = {
'X-API-KEY': api_key,
'X-PLATFORM': platform,
'URL': url,
'X-FORMAT': format
}
response = requests.get('https://developers.visolix.com/api/download', headers=headers)
if response.status_code == 200:
data = response.json()
print(f"Download ID: {data['id']}")
else:
print(f"Error: {response.status_code}")
const axios = require('axios');
const apiKey = 'your-api-key-here';
const url = 'https://www.youtube.com/watch?v=dQw4w9WgXcQ';
const headers = {
'X-API-KEY': apiKey,
'X-PLATFORM': 'youtube',
'URL': url,
'X-FORMAT': 'mp3'
};
axios.get('https://developers.visolix.com/api/download', { headers })
.then(response => {
console.log(`Download ID: ${response.data.id}`);
})
.catch(error => {
console.error(`Error: ${error.response.status}`);
});
$apiKey = 'your-api-key-here';
$url = 'https://www.youtube.com/watch?v=dQw4w9WgXcQ';
$headers = [
'X-API-KEY: ' . $apiKey,
'X-PLATFORM: youtube',
'URL: ' . $url,
'X-FORMAT: mp3'
];
$ch = curl_init('https://developers.visolix.com/api/download');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
if ($httpCode === 200) {
$data = json_decode($response, true);
echo "Download ID: " . $data['id'];
}
curl_close($ch);
curl -X GET 'https://developers.visolix.com/api/download' \
-H 'X-API-KEY: your-api-key-here' \
-H 'X-PLATFORM: youtube' \
-H 'URL: https://www.youtube.com/watch?v=dQw4w9WgXcQ' \
-H 'X-FORMAT: mp3'
import requests
import time
download_id = 'your_download_id_here'
while True:
response = requests.get(f'https://developers.visolix.com/api/progress?id={download_id}')
if response.status_code == 200:
data = response.json()
print(f"Progress: {data['progress']/10}%")
if data['success'] == 1:
print(f"Download URL: {data['download_url']}")
break
time.sleep(5)
const downloadId = 'your_download_id_here';
function checkProgress() {
axios.get(`https://developers.visolix.com/api/progress?id=${downloadId}`)
.then(response => {
console.log(`Progress: ${response.data.progress/10}%`);
if (response.data.success === 1) {
console.log(`Download URL: ${response.data.download_url}`);
} else {
setTimeout(checkProgress, 5000);
}
});
}
checkProgress();
$downloadId = 'your_download_id_here';
do {
$response = file_get_contents("https://developers.visolix.com/api/progress?id=" . $downloadId);
$data = json_decode($response, true);
echo "Progress: " . ($data['progress']/10) . "%\n";
if ($data['success'] === 1) {
echo "Download URL: " . $data['download_url'];
break;
}
sleep(5);
} while (true);
curl -X GET 'https://developers.visolix.com/api/progress?id=your_download_id_here'