Get direct download links for any YouTube video in multiple formats and qualities with our powerful API.
Our API responds in milliseconds, ensuring quick integration with your applications.
Supports MP4, WebM, M4A, and Opus formats with various quality options.
99.9% uptime guarantee with automatic failover and load balancing.
Simple REST API with clear documentation and example code for all major languages.
Get download links for a YouTube video.
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | YouTube video URL |
| format | string | No | File format (mp4, webm, m4a, opus) |
| quality | string | No | Quality (144p, 240p, 360p, 480p, 720p, 1080p) |
| type | string | No | Media type (video, audio) |
GET https://yt.bdbots.xyz/dl?url=https://youtu.be/N3ZCWhIR9Wo&format=mp4&quality=1080p
{
"api": "BDBots YouTube API",
"api_url": "https://yt.bdbots.xyz",
"timestamp": "2023-06-15T12:34:56.789Z",
"video_info": {
"id": "N3ZCWhIR9Wo",
"title": "Example Video Title",
"author": "Channel Name",
"thumbnail": "https://i.ytimg.com/vi/N3ZCWhIR9Wo/maxresdefault.jpg",
"duration": 224,
"source": "youtube"
},
"available_formats": [
{
"format_id": 137,
"type": "video",
"extension": "mp4",
"quality": "mp4 (1080p)",
"url": "https://...",
"bitrate": 4464347,
"width": 1920,
"height": 1080,
"fps": 30,
"mime_type": "video/mp4; codecs=\"avc1.640028\""
},
// More formats...
],
"api_info": {
"name": "BDBots YouTube API",
"version": "1.0.0",
"website": "https://yt.bdbots.xyz",
"documentation": "https://yt.bdbots.xyz/docs",
"copyright": "© 2023 BDBots. All rights reserved."
}
}
{
"api": "BDBots YouTube API",
"api_url": "https://yt.bdbots.xyz",
"timestamp": "2023-06-15T12:34:56.789Z",
"video_info": {
"id": "N3ZCWhIR9Wo",
"title": "Example Video Title",
"author": "Channel Name",
"thumbnail": "https://i.ytimg.com/vi/N3ZCWhIR9Wo/maxresdefault.jpg",
"duration": 224,
"source": "youtube"
},
"available_formats": [
{
"format_id": 251,
"type": "audio",
"extension": "opus",
"quality": "opus (144kb/s)",
"url": "https://...",
"bitrate": 143653,
"mime_type": "audio/webm; codecs=\"opus\""
}
],
"request": {
"url": "https://youtu.be/N3ZCWhIR9Wo",
"format": "opus",
"type": "audio"
},
"api_info": {
"name": "BDBots YouTube API",
"version": "1.0.0",
"website": "https://yt.bdbots.xyz",
"documentation": "https://yt.bdbots.xyz/docs",
"copyright": "© 2023 BDBots. All rights reserved."
}
}
Have questions or need support? Reach out to our team.