YouTube Video Metadata API

YouTube Video Metadata API

"Access YouTube video metadata effortlessly. Retrieve details like title, duration, and description by submitting a video URL with our API."

API description

About the API:  

YouTube, the global hub for video content, has forever transformed the way we consume and share information. With millions of videos of diverse genres and topics, it is an endless source of entertainment, knowledge and creativity. In this ever-expanding digital video universe, obtaining in-depth details about individual videos is often a critical need for users, businesses, developers, researchers and enthusiasts. YouTube Video Metadata API addresses this need by providing detailed metadata about videos hosted on the platform. By simply submitting the URL of a YouTube video, users gain access to a treasure trove of information, such as the video's title, length, description and more. This API simplifies content management, enhances the user experience and allows users to take advantage of the full potential of online video content.

The YouTube Video Metadata API is designed to provide easy access to detailed information about videos hosted on YouTube. Its primary function is to allow users to enter the URL of a specific YouTube video. Once the API receives the URL, it processes the request and retrieves a structured set of metadata associated with the video in question.

The metadata provided by the API offers a comprehensive view of various aspects of the YouTube video, providing users with a holistic understanding of its content and context. Some of the main metadata components are:

The YouTube Video Metadata API serves a wide range of applications across different industries and domains. It serves as the backbone for numerous use cases, enabling users to make data-driven decisions and improve their engagement with online video content. Some of the most common scenarios where the API is useful include

The YouTube Video Metadata API provides a gateway to the heart of YouTube's vast video universe. It provides a simple and effective means of accessing a wealth of information about online videos, enriching user experiences and enabling informed decision making. In a digital landscape characterized by the exponential growth of video content, having access to comprehensive video metadata is essential to understanding and leveraging this dynamic medium. YouTube's video metadata API allows users to unleash the power of video information, making it easier than ever to explore, interact with and manage the vast amount of content available.

 

What this API receives and what your API provides (input/output)?

It will receive parameters and provide you with a JSON.

 

What are the most common uses cases of this API?

  1. Content management: Organizes and categorizes YouTube videos by retrieving metadata for easy content management.

  2. Video previews: Displays thumbnails and descriptions of videos to entice users to click and watch.

  3. Analytics: Analyze video performance by extracting data on view count, likes, dislikes and comments.

  4. Content recommendations: Recommend related videos to users based on their preferences using video metadata.

  5. Playlist creation: Automatically populate playlists with video details, simplifying content selection.

Are there any limitations to your plans?

  • Basic Plan: 1,000 API Calls. 5 requests per second.

  • Pro Plan: 3,000 API Calls. 5 requests per second.

  • Pro Plus Plan: 9,000 API Calls. 5 requests per second.

  • Premium Plan: 30,000 API Calls. 5 requests per second.

API Documentation

Endpoints


To use this endpoint you must indicate the URL of a youtube video.



                                                                            
POST https://zylalabs.com/api/2636/youtube+video+metadata+api/2655/get+metadata
                                                                            
                                                                        

Get Metadata - Endpoint Features
Object Description
Request Body [Required] Json
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"id":"_Yhyp-_hX2s","title":"Eminem - Lose Yourself [HD]","formats":[{"format_id":"sb2","format_note":"storyboard","ext":"mhtml","protocol":"mhtml","acodec":"none","vcodec":"none","url":"https://i.ytimg.com/sb/_Yhyp-_hX2s/storyboard3_L0/default.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgiQ1pOoBg==&sigh=rs$AOn4CLCzYLng7w2iu1Qf0lbYb4yOXAVcHg","width":48,"height":27,"fps":0.30959752321981426,"rows":10,"columns":10,"fragments":[{"url":"https://i.ytimg.com/sb/_Yhyp-_hX2s/storyboard3_L0/default.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgiQ1pOoBg==&sigh=rs$AOn4CLCzYLng7w2iu1Qf0lbYb4yOXAVcHg","duration":323.0}],"resolution":"48x27","aspect_ratio":1.78,"http_headers":{"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36","Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","Accept-Language":"en-us,en;q=0.5","Sec-Fetch-Mode":"navigate"},"audio_ext":"none","video_ext":"none","vbr":0,"abr":0,"tbr":null,"format":"sb2 - 48x27 (storyboard)"},{"format_id":"sb1","format_note":"storyboard","ext":"mhtml","protocol":"mhtml","acodec":"none","vcodec":"none","url":"https://i.ytimg.com/sb/_Yhyp-_hX2s/storyboard3_L1/M$M.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgiQ1pOoBg==&sigh=rs$AOn4CLAD4F3P8pj0WOe0MheQPacNjN-Bmg","width":80,"height":45,"fps":0.2043343653250774,"rows":10,"columns":10,"fragments":[{"url":"https://i.ytimg.com/sb/_Yhyp-_hX2s/storyboard3_L1/M0.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgiQ1pOoBg==&sigh=rs$AOn4CLAD4F3P8pj0WOe0MheQPacNjN-Bmg","duration":323.0}],"resolution":"80x45","aspect_ratio":1.78,"http_headers":{"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36","Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","Accept-Language":"en-us,en;q=0.5","Sec-Fetch-Mode":"navigate"},"audio_ext":"none","video_ext":"none","vbr":0,"abr":0,"tbr":null,"format":"sb1 - 80x45 (storyboard)"},{"format_id":"sb0","format_note":"storyboard","ext":"mhtml","protocol":"mhtml","acodec":"none","vcodec":"none","url":"https://i.ytimg.com/sb/_Yhyp-_hX2s/storyboard3_L2/M$M.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgiQ1pOoBg==&sigh=rs$AOn4CLBajQJLkLxk-fz1caN2NM4Ncp7H-g","width":160,"height":90,"fps":0.2043343653250774,"rows":5,"columns":5,"fragments":[{"url":"https://i.ytimg.com/sb/_Yhyp-_hX2s/storyboard3_L2/M0.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgiQ1pOoBg==&sigh=rs$AOn4CLBajQJLkLxk-fz1caN2NM4Ncp7H-g","duration":122.34848484848484},{"url":"https://i.ytimg.com/sb/_Yhyp-_hX2s/storyboard3_L2/M1.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgiQ1pOoBg==&sigh=rs$AOn4CLBajQJLkLxk-fz1caN2NM4Ncp7H-g","duration":122.34848484848484},{"url":"https://i.ytimg.com/sb/_Yhyp-_hX2s/storyboard3_L2/M2.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgiQ1pOoBg==&sigh=rs$AOn4CLBajQJLkLxk-fz1caN2NM4Ncp7H-g","duration":78.30303030303031}],"resolution":"160x90","aspect_ratio":1.78,"http_headers":{"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36","Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","Accept-Language":"en-us,en;q=0.5","Sec-Fetch-Mode":"navigate"},"audio_ext":"none","video_ext":"none","vbr":0,"abr":0,"tbr":null,"format":"sb0 - 160x90 (storyboard)"},{"format_id":"233","format_note":"Default","format_index":null,"url":"https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1695930369/ei/oYMVZZSeEeCbv_IPhbyT8AU/ip/45.90.34.145/id/fd8872a7efe15f6b/itag/233/source/youtube/requiressl/yes/ratebypass/yes/pfa/1/goi/133/sgoap/clen%3D1972810%3Bdur%3D323.314%3Bgir%3Dyes%3Bitag%3D139%3Blmt%3D1694053029820098/hls_chunk_host/rr6---sn-8ph2xajvh-n8vs.googlevideo.com/mh/2E/mm/31,26/mn/sn-8ph2xajvh-n8vs,sn-c0q7lnsl/ms/au,onr/mv/u/mvi/6/pcm2cms/yes/pl/24/vprv/1/playlist_type/DVR/dover/13/txp/4532434/mt/1695907290/fvip/1/short_key/1/keepalive/yes/fexp/24007246/beids/24350018/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,pfa,goi,sgoap,vprv,playlist_type/sig/AGM4YrMwRAIgBW410UmE9PlkSibJN0pxO0Y1TCQe0sseSUtTZfWu4UACICcBXCtJLQgipgbkt3fh374dcz4pHiKWg7yzYHwaoSEE/lsparams/hls_chunk_host,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AK1ks_kwRgIhAIJElRIVjX_hZR40aSdlX5ylmz0SW9VmX-p6TbC5oRexAiEA7vrQGytZ-pk-QTKBwwp1kIrXvCw7yvNj7h-OjcT4JxY%3D/playlist/index.m3u8","manifest_url":"https://manifest.googlevideo.com/api/manifest/hls_variant/expire/1695930369/ei/oYMVZZSeEeCbv_IPhbyT8AU/ip/45.90.34.145/id/fd8872a7efe15f6b/source/youtube/requiressl/yes/playback_host/rr6---sn-8ph2xajvh-n8vs.googlevideo.com/mh/2E/mm/31%2C26/mn/sn-8ph2xajvh-n8vs%2Csn-c0q7lnsl/ms/au%2Conr/mv/u/mvi/6/pcm2cms/yes/pl/24/tx/51012155/txs/51012155%2C51012156%2C51012157/hfr/1/demuxed/1/tts_caps/1/maudio/1/vprv/1/go/1/mt/1695907290/fvip/1/nvgoi/1/short_key/1/ncsapi/1/keepalive/yes/fexp/24007246/beids/24350018/dover/13/itag/0/playlist_type/DVR/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Ctx%2Ctxs%2Chfr%2Cdemuxed%2Ctts_caps%2Cmaudio%2Cvprv%2Cgo%2Citag%2Cplaylist_type/sig/AGM4YrMwRQIhAJt8b8pGnb9pbVMMcYDdgKx7w2e1FAPI6LX1ktyWbSjLAiB_qSuT4dbKMTkC6_se6-UAOxMuVJ_QkXeHT9-GIP7ADQ%3D%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl/lsig/AK1ks_kwRAIgAORApDl4Tq_iS6AdIcq79TCkpqfGqeMSxYVUs7vOVm8CID9ZUHzjhYvX-yHkiCuYK7q0oMx_YoHCd0pshWCiCK4u/file/index.m3u8","language":null,"ext":"mp4","protocol":"m3u8_native","preference":null,"quality":-1,"has_drm":false,"vcodec":"none","source_preference":-1,"resolution":"audio only","aspect_ratio":null,"http_headers":{"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36","Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","Accept-Language":"en-us,en;q=0.5","Sec-Fetch-Mode":"navigate"},"audio_ext":"mp4","video_ext":"none","vbr":0,"abr":null,"tbr":null,"format":"233 - audio only (Default)"},{"format_id":"234","format_note":"Default","format_index":null,"url":"https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1695930369/ei/oYMVZZSeEeCbv_IPhbyT8AU/ip/45.90.34.145/id/fd8872a7efe15f6b/itag/234/source/youtube/requiressl/yes/ratebypass/yes/pfa/1/goi/133/sgoap/clen%3D5232611%3Bdur%3D323.268%3Bgir%3Dyes%3Bitag%3D140%3Blmt%3D1694053040405990/hls_chunk_host/rr6---sn-8ph2xajvh-n8vs.googlevideo.com/mh/2E/mm/31,26/mn/sn-8ph2xajvh-n8vs,sn-c0q7lnsl/ms/au,onr/mv/u/mvi/6/pcm2cms/yes/pl/24/vprv/1/playlist_type/DVR/dover/13/txp/4532434/mt/1695907290/fvip/1/short_key/1/keepalive/yes/fexp/24007246/beids/24350018/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,pfa,goi,sgoap,vprv,playlist_type/sig/AGM4YrMwRAIgEWu74Rj-_BA5x1VMdW1qnIwpi4nB3O8TU4-iRD-jyKkCIEcyoaRunpk1F6D0P6wP9MLv2bc5K13sdFz5lGhsA0mC/lsparams/hls_chunk_host,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AK1ks_kwRQIhAJ4HMF9jiETfutHXca9ribyZs80UKRfrZ2oi_pXzJld_AiAezwJuPVgwREfAHNTo3hoOGHYXGFIkb_VY7L7Ny49KwQ%3D%3D/playlist/index.m3u8","manifest_url":"https://manifest.googlevideo.com/api/manifest/hls_variant/expire/1695930369/ei/oYMVZZSeEeCbv_IPhbyT8AU/ip/45.90.34.145/id/fd8872a7efe15f6b/source/youtube/requiressl/yes/playback_host/rr6---sn-8ph2xajvh-n8vs.googlevideo.com/mh/2E/mm/31%2C26/mn/sn-8ph2xajvh-n8vs%2Csn-c0q7lnsl/ms/au%2Conr/mv/u/mvi/6/pcm2cms/yes/pl/24/tx/51012155/txs/51012155%2C51012156%2C51012157/hfr/1/demuxed/1/tts_caps/1/maudio/1/vprv/1/go/1/mt/1695907290/fvip/1/nvgoi/1/short_key/1/ncsapi/1/keepalive/yes/fexp/24007246/beids/24350018/dover/13/itag/0/playlist_type/DVR/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Ctx%2Ctxs%2Chfr%2Cdemuxed%2Ctts_caps%2Cmaudio%2Cvprv%2Cgo%2Citag%2Cplaylist_type/sig/AGM4YrMwRQIhAJt8b8pGnb9pbVMMcYDdgKx7w2e1FAPI6LX1ktyWbSjLAiB_qSuT4dbKMTkC6_se6-UAOxMuVJ_QkXeHT9-GIP7ADQ%3D%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl/lsig/AK1ks_kwRAIgAORApDl4Tq_iS6AdIcq79TCkpqfGqeMSxYVUs7vOVm8CID9ZUHzjhYvX-yHkiCuYK7q0oMx_YoHCd0pshWCiCK4u/file/index.m3u8","language":null,"ext":"mp4","protocol":"m3u8_native","preference":null,"quality":-1,"has_drm":false,"vcodec":"none","source_preference":-1,"resolution":"audio only","aspect_ratio":null,"http_headers":{"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36","Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","Accept-Language":"en-us,en;q=0.5","Sec-Fetch-Mode":"navigate"},"audio_ext":"mp4","video_ext":"none","vbr":0,"abr":null,"tbr":null,"format":"234 - audio only (Default)"},{"asr":22050,"filesize":1245561,"format_id":"599","format_note":"ultralow","source_preference":-1,"fps":null,"audio_channels":2,"height":null,"quality":1.0,"has_drm":false,"tbr":30.819,"url":"https://rr6---sn-8ph2xajvh-n8vs.googlevideo.com/videoplayback?expire=1695930369&ei=oYMVZf2aHYCSv_IPx4ucIA&ip=45.90.34.145&id=o-APSmIeSWZ0ZNBnjBFjBlmIChUlr_DUWXtZ2ZxTBvRVdd&itag=599&source=youtube&requiressl=yes&mh=2E&mm=31%2C26&mn=sn-8ph2xajvh-n8vs%2Csn-c0q7lnsl&ms=au%2Conr&mv=u&mvi=6&pl=24&spc=UWF9f2PKqZ800ZIvo-BPi72G23ClIaQ&vprv=1&svpuc=1&mime=audio%2Fmp4&gir=yes&clen=1245561&dur=323.314&lmt=1694053031371495&mt=1695907290&fvip=1&keepalive=yes&fexp=24007246&beids=24350018&c=ANDROID&txp=4532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AGM4YrMwRQIhALmAWBUULfraUAf-yW2jSGDUvjUcsFHEkRbI6WnXQFXqAiA-ZfrfKN2NDcgeVY860fRWxzB2cRCbq4lcfl4ikoSMTA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl&lsig=AK1ks_kwRAIgYmKLVl4rSrpmSHby-ttvikotkKjLlJ7ta-a_jWBKQ5UCIHfoxlJebaaUHeOLUEI0VvIbxDpJ40i7TM7fGTPPH4jR","width":null,"language":null,"language_preference":-1,"preference":null,"ext":"m4a","vcodec":"none","acodec":"mp4a.40.5","dynamic_range":null,"container":"m4a_dash","downloader_options":{"http_chunk_size":10485760},"protocol":"https","resolution":"audio only","aspect_ratio":null,"http_headers":{"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"...
                                                                                                                                                                                                                    
                                                                                                    

Get Metadata - CODE SNIPPETS


curl --location --request POST 'https://zylalabs.com/api/2636/youtube+video+metadata+api/2655/get+metadata' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the YouTube Video Metadata API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

๐Ÿš€ Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • โœ”๏ธŽ Only Pay for Successful Requests
  • โœ”๏ธŽ Free 7-Day Trial
  • โœ”๏ธŽ Multi-Language Support
  • โœ”๏ธŽ One API Key, All APIs.
  • โœ”๏ธŽ Intuitive Dashboard
  • โœ”๏ธŽ Comprehensive Error Handling
  • โœ”๏ธŽ Developer-Friendly Docs
  • โœ”๏ธŽ Postman Integration
  • โœ”๏ธŽ Secure HTTPS Connections
  • โœ”๏ธŽ Reliable Uptime

To use this API the user must indicate the URL of a video.

There are different plans suits everyone including a free trial for small amount of requests, but itโ€™s rate is limit to prevent abuse of the service.

Sure, you can use it and pay only when you use it. The credit canโ€™t be expired.

Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.

It is an API that provides users with metadata about YouTube videos.

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the worldโ€™s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected โ€” plus overage fees applied when a developer exceeds a planโ€™s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
1,570ms

Category:


Tags:


Related APIs