Download YouTube videos and audio or search for videos with our fast API by @ISmartCoder.
Try It NowWe're verifying the API's availability.
GET /dl?url={youtube_url}
https://www.youtube.com/watch?v=pCr2XfPpWjU)Success (200):
{
"api_owner": "@ISmartCoder",
"updates_channel": "@TheSmartDevs",
"title": "Video Title",
"thumbnail": "Thumbnail URL",
"thumbnail_url": "Fallback Thumbnail URL",
"url": "Download URL or YouTube URL",
"success": true,
"source": "youtube",
"author": "",
"medias": [
{
"formatId": 18,
"label": "mp4 (360p)",
"type": "video",
"ext": "mp4",
"quality": "mp4 (360p)",
"url": "Download URL",
"bitrate": 496367,
"clen": 123456789,
"mimeType": "video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"",
"duration": 116
},
{
"formatId": 140,
"label": "m4a (137kb/s)",
"type": "audio",
"ext": "m4a",
"quality": "m4a (137kb/s)",
"url": "Download URL",
"bitrate": 136906,
"clen": 113199366,
"mimeType": "audio/mp4; codecs=\"mp4a.40.2\"",
"duration": 116
}
],
"type": "multiple",
"error": false,
"time_end": 716
}
Error (400 or 500):
{
"api_owner": "@ISmartCoder",
"updates_channel": "@TheSmartDevs",
"error": "Error message",
"contact": "@ISmartCoder"
}
GET /dl?url=https://www.youtube.com/watch?v=pCr2XfPpWjU
GET /search?q={search_query}
python tutorial)Success (200):
{
"api_owner": "@ISmartCoder",
"updates_channel": "@TheSmartDevs",
"result": [
{
"title": "Video Title",
"imageUrl": "Thumbnail URL",
"link": "https://youtube.com/watch?v=video_id"
}
]
}
Error (400 or 500):
{
"api_owner": "@ISmartCoder",
"updates_channel": "@TheSmartDevs",
"error": "Error message"
}
GET /search?q=python+tutorial