The YouTube Video Capture API allows you to download videos from YouTube quickly and efficiently. By simply providing the video URL, the API generates direct links for downloading. It supports multiple formats and qualities, ensuring compatibility with various needs. The API is optimized for speed, allowing uninterrupted downloads. Its integration is simple, facilitating its use in web and mobile applications.
To use this endpoint you must indicate the ID of a YouTube video in the parameter.
Download - Endpoint Features
| Object | Description |
|---|---|
id |
[Required] Indicates a video ID |
{"status":"OK","id":"n6TchvKDByU","title":"20 Minute Timer - Twenty Minute Cat Timer - Peaceful Meow Alarm","lengthSeconds":"1216","keywords":["20 minute timer","twenty minute timer","meditation timer","classroom management timer","classroom timer","timer 20 minute","timer twenty minute","cat timer","kitten timer","20 minute cat timer","twenty minute cat timer","childs meditation timer","childrens meditation timer","countdown","twenty minute countdown","20 minute countdown","twenty min timer","20 min timer","20 min countdown","twenty min countdown","twenty min cat timer","cat timer 20 min","cat timer 20 minute"],"channelTitle":"Nothing But Timers","channelId":"UCNoqA3-d8BgoDQtGhHCp3Sw","description":"A simple and calming 20 minute timer for use in classrooms, meditation or other simple tasks. It features an alarm sound at the end of a cat meowing and purring. \n\nMy favorite Cat toy! https:\/\/amzn.to\/3Ko7xpQ -Ad\n\n20 minute timer\ntwenty Minute Timer\nmeditation timer\nclassroom management timer\nclassroom timer\ntimer twenty minute\ntimer 20 minutes\ncat timer\nkitten timer\n20 minute cat timer\ntwenty minute cat timer\nchilds meditation timer\nchildrens meditation timer\ncountdown timer\n20 minute countdown\ntwenty minute countdown\n20 min timer\ntwenty min timer","thumbnail":[{"url":"https:\/\/i.ytimg.com\/vi\/n6TchvKDByU\/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLArT_u7Ea83kSvoG5g2meEgztJOQw","width":168,"height":94},{"url":"https:\/\/i.ytimg.com\/vi\/n6TchvKDByU\/hqdefault.jpg?sqp=-oaymwEbCMQBEG5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBqqdEE_DDScaark-vD_7UTyW5WzQ","width":196,"height":110},{"url":"https:\/\/i.ytimg.com\/vi\/n6TchvKDByU\/hqdefault.jpg?sqp=-oaymwEcCPYBEIoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCi5s1SPHjDt_o6CfSk3C55ui5m2w","width":246,"height":138},{"url":"https:\/\/i.ytimg.com\/vi\/n6TchvKDByU\/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLDxQANbCvrUJNfkSRrJJsBC70cNvg","width":336,"height":188},{"url":"https:\/\/i.ytimg.com\/vi\/n6TchvKDByU\/maxresdefault.jpg","width":1920,"height":1080}],"allowRatings":true,"viewCount":null,"isPrivate":false,"isUnpluggedCorpus":false,"isLiveContent":false,"isFamilySafe":true,"availableCountries":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"isUnlisted":false,"category":"People & Blogs","publishDate":"2022-07-11T00:00:12-07:00","uploadDate":"2022-07-11T00:00:12-07:00","storyboards":[{"width":"48","height":"27","thumbsCount":"100","columns":"10","rows":"10","interval":"0","storyboardCount":1,"url":["https:\/\/i.ytimg.com\/sb\/n6TchvKDByU\/storyboard3_L0\/default.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgiNj6SWBg==&sigh=rs$AOn4CLDfAfvjh9XCjTdAJyJdR1ezWLMKow"]},{"width":"80","height":"45","thumbsCount":"123","columns":"10","rows":"10","interval":"10000","storyboardCount":2,"url":["https:\/\/i.ytimg.com\/sb\/n6TchvKDByU\/storyboard3_L1\/M0.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgiNj6SWBg==&sigh=rs$AOn4CLBebUO5pHqaFuFWkl30ZDNIQ9Fifw","https:\/\/i.ytimg.com\/sb\/n6TchvKDByU\/storyboard3_L1\/M1.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgiNj6SWBg==&sigh=rs$AOn4CLBebUO5pHqaFuFWkl30ZDNIQ9Fifw"]},{"width":"160","height":"90","thumbsCount":"123","columns":"5","rows":"5","interval":"10000","storyboardCount":5,"url":["https:\/\/i.ytimg.com\/sb\/n6TchvKDByU\/storyboard3_L2\/M0.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgiNj6SWBg==&sigh=rs$AOn4CLD1uuE8zreVpuXcJZWxuqy1QRhd6A","https:\/\/i.ytimg.com\/sb\/n6TchvKDByU\/storyboard3_L2\/M1.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgiNj6SWBg==&sigh=rs$AOn4CLD1uuE8zreVpuXcJZWxuqy1QRhd6A","https:\/\/i.ytimg.com\/sb\/n6TchvKDByU\/storyboard3_L2\/M2.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgiNj6SWBg==&sigh=rs$AOn4CLD1uuE8zreVpuXcJZWxuqy1QRhd6A","https:\/\/i.ytimg.com\/sb\/n6TchvKDByU\/storyboard3_L2\/M3.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgiNj6SWBg==&sigh=rs$AOn4CLD1uuE8zreVpuXcJZWxuqy1QRhd6A","https:\/\/i.ytimg.com\/sb\/n6TchvKDByU\/storyboard3_L2\/M4.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgiNj6SWBg==&sigh=rs$AOn4CLD1uuE8zreVpuXcJZWxuqy1QRhd6A"]}],"expiresInSeconds":"21540","formats":[{"itag":18,"url":"https:\/\/redirector.googlevideo.com\/videoplayback?expire=1743209694&ei=ffDmZ97MOrOAi9oP79fm0QU&ip=176.6.140.93&id=o-AOPg7IhCjBq0T-DEsPsoTqhjduPpzbAqInKykrsLfJx8&itag=18&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1743188093%2C&mh=Z4&mm=31%2C29&mn=sn-uxax4vopj5qx-cxge%2Csn-4g5ednde&ms=au%2Crdu&mv=m&mvi=8&pl=25&rms=au%2Cau&initcwndbps=1397500&bui=AccgBcNgwwSrkEZx2kkyt1rD3KFAg86NNX0x0RfcZBQZjXWLK4i8BIqjag-lTN-d4ltPk2unwF55l2RH&spc=_S3wKm0bTkn80TQ0mDuPm9Fj706nMNX0Moskwg7X99_YK70V_6Z3&vprv=1&svpuc=1&mime=video%2Fmp4&ns=RoNAZBat0TMLeEABhtK7i48Q&rqh=1&cnr=14&ratebypass=yes&dur=1215.843&lmt=1741192654829946&mt=1743187767&fvip=2&fexp=51355912%2C51435733&c=WEB&sefc=1&txp=5319224&n=ObaGgPEnUB8pUw&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AJfQdSswRgIhAK9L-QL9d9zTCdozIY3KQedf_SIkEmqJCW3SdwuJQ32VAiEA_cx5sYeB6lX6iGrRIgcGxv2Al-rS6eg7EvXAiDFcqa8%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AFVRHeAwRQIgKgLiM9Eg10QcU1IWFU84jsMqA36QPyZrAvZbz1jLF3UCIQDcGSmFSDDoLUWpsQGOtMHVCJ7EzE6YHi47MVec4Jb9Nw%3D%3D&pot=MnSlojXaax_v86WeCiG7S9hdcXrFPdSuUeB94Iy5U5scATIvqkg_-Uqv6mWx9vw00EZSrBMqf3lGE48i6dB82mg-5Vd0vSSjqobOER-RHaesppvpALkELXB_IASHO8bqaXJ6I7sXo-sCijL_VmEWJiOD3hvWwQ==","mimeType":"video\/mp4; codecs=\"avc1.42001E, mp4a.40.2\"","bitrate":452721,"width":640,"height":360,"lastModified":"1741192654829946","quality":"medium","fps":30,"qualityLabel":"360p","projectionType":"RECTANGULAR","audioQuality":"AUDIO_QUALITY_LOW","approxDurationMs":"1215843","audioSampleRate":"44100","audioChannels":2}],"isGCR":false,"adaptiveFormats":[{"itag":137,"url":"https:\/\/rr8---sn-uxax4vopj5qx-cxge.googlevideo.com\/videoplayback?expire=1743209693&ei=ffDmZ97MOrOAi9oP79fm0QU&ip=176.6.140.93&id=o-AOPg7IhCjBq0T-DEsPsoTqhjduPpzbAqInKykrsLfJx8&itag=137&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1743188093%2C&mh=Z4&mm=31%2C29&mn=sn-uxax4vopj5qx-cxge%2Csn-4g5ednde&ms=au%2Crdu&mv=m&mvi=8&pl=25&rms=au%2Cau&initcwndbps=1397500&bui=AccgBcM-oOL7VH-m84ZgnOgqLa8SkFOUuZg9WjTsxhKJzKR-Av87hBIW8enNdpMlOgX0CoXSuIAuDE7w&spc=_S3wKm0YTkn80TQ0mDuPm9Fj706nMNX0Moskwg7X99_YK70l-g&vprv=1&svpuc=1&mime=video%2Fmp4&ns=vucqU6hESqlrbtory9RgrGcQ&rqh=1&gir=yes&clen=367797766&dur=1215.766&lmt=1741192639716067&mt=1743187767&fvip=2&keepalive=yes&fexp=51355912%2C51435733&c=WEB&sefc=1&txp=5319224&n=-ksDbpI40dPvOQ&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgaq6WO7E8otbBXfysXLVnF4E2oX7l-3iCiTpXucxH4RMCIQDTHUQ5yddWxFKMoXdo_nzZfPvVhYowxihFVYzJyiQH1Q%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AFVRHeAwRQIgKgLiM9Eg10QcU1IWFU84jsMqA36QPyZrAvZbz1jLF3UCIQDcGSmFSDDoLUWpsQGOtMHVCJ7EzE6YHi47MVec4Jb9Nw%3D%3D&pot=MnSlojXaax_v86WeCiG7S9hdcXrFPdSuUeB94Iy5U5scATIvqkg_-Uqv6mWx9vw00EZSrBMqf3lGE48i6dB82mg-5Vd0vSSjqobOER-RHaesppvpALkELXB_IASHO8bqaXJ6I7sXo-sCijL_VmEWJiOD3hvWwQ==","mimeType":"video\/mp4; codecs=\"avc1.640028\"","bitrate":4617653,"width":1920,"height":1080,"initRange":{"start":"0","end":"741"},"indexRange":{"start":"742","end":"3509"},"lastModified":"1741192639716067","contentLength":"367797766","quality":"hd1080","fps":30,"qualityLabel":"1080p","projectionType":"RECTANGULAR","averageBitrate":2420187,"approxDurationMs":"1215766"},{"itag":248}],"_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://zylalabs.com/api/6401/youtube+video+capture+api/9180/download?id=na7lIb09898' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The Download endpoint returns direct download links for the specified YouTube video, along with metadata such as available formats and qualities. This allows users to choose the best option for their needs.
The key fields in the response data typically include the video ID, available formats (e.g., MP4, AVI), quality options (e.g., 720p, 1080p), and the corresponding download URLs for each format.
The primary parameter for the Download endpoint is the video ID, which is extracted from the YouTube video URL. Users must provide this ID to retrieve the download links.
The response data is organized in a structured format, usually as a JSON object. It includes an array of available formats and qualities, each paired with its respective download URL, making it easy to parse.
Typical use cases include downloading videos for offline viewing, creating video archives, or integrating video content into applications for educational or entertainment purposes.
Data accuracy is maintained by continuously monitoring the YouTube platform for changes in video availability and ensuring that the API reflects the most current information regarding video formats and qualities.
Users can customize their requests by specifying the desired video ID and selecting the preferred format and quality from the available options returned in the response.
Users can expect standard data patterns where each video ID corresponds to multiple formats and qualities. The response will consistently include download links for each available option, facilitating easy access.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
5,760ms
Service Level:
100%
Response Time:
444ms
Service Level:
100%
Response Time:
1,613ms
Service Level:
100%
Response Time:
446ms
Service Level:
100%
Response Time:
436ms
Service Level:
100%
Response Time:
855ms
Service Level:
100%
Response Time:
2,292ms
Service Level:
99%
Response Time:
1,873ms
Service Level:
100%
Response Time:
307ms
Service Level:
100%
Response Time:
55ms
Service Level:
100%
Response Time:
1,003ms
Service Level:
100%
Response Time:
213ms
Service Level:
100%
Response Time:
367ms
Service Level:
100%
Response Time:
431ms
Service Level:
100%
Response Time:
1,466ms
Service Level:
100%
Response Time:
444ms
Service Level:
100%
Response Time:
1,585ms
Service Level:
100%
Response Time:
2,601ms
Service Level:
100%
Response Time:
242ms
Service Level:
100%
Response Time:
6,980ms