{"successfull":true,"info":{"id":"aSLZFdqwh7E","title":"Eminem - Stan (Short Version) ft. Dido","formats":[{"format_id":"sb3","format_note":"storyboard","ext":"mhtml","protocol":"mhtml","acodec":"none","vcodec":"none","url":"https:\/\/i.ytimg.com\/sb\/aSLZFdqwh7E\/storyboard3_L0\/default.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi6kNSoBg==&sigh=rs$AOn4CLBxnRlTVXBzKUlRAB2CFOq1XrcKpw","width":48,"height":27,"fps":0.27472527472527475,"rows":10,"columns":10,"fragments":[{"url":"https:\/\/i.ytimg.com\/sb\/aSLZFdqwh7E\/storyboard3_L0\/default.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi6kNSoBg==&sigh=rs$AOn4CLBxnRlTVXBzKUlRAB2CFOq1XrcKpw","duration":364}],"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\/91.0.4472.114 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,"format":"sb3 - 48x27 (storyboard)"},{"format_id":"sb2","format_note":"storyboard","ext":"mhtml","protocol":"mhtml","acodec":"none","vcodec":"none","url":"https:\/\/i.ytimg.com\/sb\/aSLZFdqwh7E\/storyboard3_L1\/M$M.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi6kNSoBg==&sigh=rs$AOn4CLDlZs5feGRMYSlXmIsGpAvS9VlrDg","width":80,"height":45,"fps":0.2032967032967033,"rows":10,"columns":10,"fragments":[{"url":"https:\/\/i.ytimg.com\/sb\/aSLZFdqwh7E\/storyboard3_L1\/M0.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi6kNSoBg==&sigh=rs$AOn4CLDlZs5feGRMYSlXmIsGpAvS9VlrDg","duration":364}],"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\/91.0.4472.114 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,"format":"sb2 - 80x45 (storyboard)"},{"format_id":"sb1","format_note":"storyboard","ext":"mhtml","protocol":"mhtml","acodec":"none","vcodec":"none","url":"https:\/\/i.ytimg.com\/sb\/aSLZFdqwh7E\/storyboard3_L2\/M$M.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi6kNSoBg==&sigh=rs$AOn4CLA9Xy-bqPZbVb_lhe8C8j8ZAWTbmA","width":160,"height":90,"fps":0.2032967032967033,"rows":5,"columns":5,"fragments":[{"url":"https:\/\/i.ytimg.com\/sb\/aSLZFdqwh7E\/storyboard3_L2\/M0.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi6kNSoBg==&sigh=rs$AOn4CLA9Xy-bqPZbVb_lhe8C8j8ZAWTbmA","duration":122.97297297297297},{"url":"https:\/\/i.ytimg.com\/sb\/aSLZFdqwh7E\/storyboard3_L2\/M1.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi6kNSoBg==&sigh=rs$AOn4CLA9Xy-bqPZbVb_lhe8C8j8ZAWTbmA","duration":122.97297297297297},{"url":"https:\/\/i.ytimg.com\/sb\/aSLZFdqwh7E\/storyboard3_L2\/M2.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi6kNSoBg==&sigh=rs$AOn4CLA9Xy-bqPZbVb_lhe8C8j8ZAWTbmA","duration":118.05405405405406}],"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\/91.0.4472.114 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,"format":"sb1 - 160x90 (storyboard)"},{"format_id":"sb0","format_note":"storyboard","ext":"mhtml","protocol":"mhtml","acodec":"none","vcodec":"none","url":"https:\/\/i.ytimg.com\/sb\/aSLZFdqwh7E\/storyboard3_L3\/M$M.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi6kNSoBg==&sigh=rs$AOn4CLAv_iJ9WFI70gOHUnZLdrJJuSOJaw","width":320,"height":180,"fps":0.2032967032967033,"rows":3,"columns":3,"fragments":[{"url":"https:\/\/i.ytimg.com\/sb\/aSLZFdqwh7E\/storyboard3_L3\/M0.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi6kNSoBg==&sigh=rs$AOn4CLAv_iJ9WFI70gOHUnZLdrJJuSOJaw","duration":44.270270270270274},{"url":"https:\/\/i.ytimg.com\/sb\/aSLZFdqwh7E\/storyboard3_L3\/M1.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi6kNSoBg==&sigh=rs$AOn4CLAv_iJ9WFI70gOHUnZLdrJJuSOJaw","duration":44.270270270270274},{"url":"https:\/\/i.ytimg.com\/sb\/aSLZFdqwh7E\/storyboard3_L3\/M2.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi6kNSoBg==&sigh=rs$AOn4CLAv_iJ9WFI70gOHUnZLdrJJuSOJaw","duration":44.270270270270274},{"url":"https:\/\/i.ytimg.com\/sb\/aSLZFdqwh7E\/storyboard3_L3\/M3.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi6kNSoBg==&sigh=rs$AOn4CLAv_iJ9WFI70gOHUnZLdrJJuSOJaw","duration":44.270270270270274},{"url":"https:\/\/i.ytimg.com\/sb\/aSLZFdqwh7E\/storyboard3_L3\/M4.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi6kNSoBg==&sigh=rs$AOn4CLAv_iJ9WFI70gOHUnZLdrJJuSOJaw","duration":44.270270270270274},{"url":"https:\/\/i.ytimg.com\/sb\/aSLZFdqwh7E\/storyboard3_L3\/M5.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi6kNSoBg==&sigh=rs$AOn4CLAv_iJ9WFI70gOHUnZLdrJJuSOJaw","duration":44.270270270270274},{"url":"https:\/\/i.ytimg.com\/sb\/aSLZFdqwh7E\/storyboard3_L3\/M6.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi6kNSoBg==&sigh=rs$AOn4CLAv_iJ9WFI70gOHUnZLdrJJuSOJaw","duration":44.270270270270274},{"url":"https:\/\/i.ytimg.com\/sb\/aSLZFdqwh7E\/storyboard3_L3\/M7.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi6kNSoBg==&sigh=rs$AOn4CLAv_iJ9WFI70gOHUnZLdrJJuSOJaw","duration":44.270270270270274},{"url":"https:\/\/i.ytimg.com\/sb\/aSLZFdqwh7E\/storyboard3_L3\/M8.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi6kNSoBg==&sigh=rs$AOn4CLAv_iJ9WFI70gOHUnZLdrJJuSOJaw","duration":9.83783783783781}],"resolution":"320x180","aspect_ratio":1.78,"http_headers":{"User-Agent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/91.0.4472.114 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,"format":"sb0 - 320x180 (storyboard)"},{"asr":22050,"filesize":2224221,"format_id":"139","format_note":"low","source_preference":-1,"audio_channels":2,"quality":2,"has_drm":false,"tbr":48.809,"filesize_approx":2224183,"url":"https:\/\/rr1---sn-ab5l6ndr.googlevideo.com\/videoplayback?expire=1723852290&ei=opG_ZserLKGH0u8Po9q98Q8&ip=45.178.5.140&id=o-AJUGULmaSTqxTDGHzYAFUvSE5n0hM_oEZvgw7mnDlfcC&itag=139&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=tv&mm=31%2C29&mn=sn-ab5l6ndr%2Csn-ajab55-55&ms=au%2Crdu&mv=m&mvi=1&pl=24&gcr=co&initcwndbps=15880000&siu=1&vprv=1&svpuc=1&mime=audio%2Fmp4&rqh=1&gir=yes&clen=2224221&dur=364.553&lmt=1715462150139047&mt=1723830330&fvip=1&keepalive=yes&c=IOS&txp=4532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cgcr%2Csiu%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgVcrNiIfl5WUkkxOYWVtGsNqgHCC3Fgs1Ham3sm3xUbkCIQDBCyM7XdcDQQ0ujxEgWsmB67_XX7oM3lYbPenBG7JvVA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AGtxev0wRQIhAJJVkJh1jdF-ObsyHz-I-XHptIFsdVXodIXi0G5bPNVcAiA0CvicuAVErRTg-v3vE7A-v0XpKTtl728TxHzrYNZugg%3D%3D","language_preference":-1,"ext":"m4a","vcodec":"none","acodec":"mp4a.40.5","container":"m4a_dash","downloader_options":{"http_chunk_size":10485760},"protocol":"https","resolution":"audio only","http_headers":{"User-Agent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/91.0.4472.114 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":"m4a","video_ext":"none","vbr":0,"abr":48.809,"format":"139 - audio only (low)"},{"asr":44100,"filesize":5899482,"format_id":"140","format_note":"medium","source_preference":-1,"audio_channels":2,"quality":3,"has_drm":false,"tbr":129.495,"filesize_approx":5899468,"url":"https:\/\/rr1---sn-ab5l6ndr.googlevideo.com\/videoplayback?expire=1723852290&ei=opG_ZserLKGH0u8Po9q98Q8&ip=45.178.5.140&id=o-AJUGULmaSTqxTDGHzYAFUvSE5n0hM_oEZvgw7mnDlfcC&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=tv&mm=31%2C29&mn=sn-ab5l6ndr%2Csn-ajab55-55&ms=au%2Crdu&mv=m&mvi=1&pl=24&gcr=co&initcwndbps=15880000&siu=1&vprv=1&svpuc=1&mime=audio%2Fmp4&rqh=1&gir=yes&clen=5899482&dur=364.460&lmt=1715462150143864&mt=1723830330&fvip=1&keepalive=yes&c=IOS&txp=4532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cgcr%2Csiu%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgC8iRVgKB75oz-irCTav5DxzNozqOvOldcHd9cipNYSUCIQDPvwO25w3TDG4gdRyD50TkyGGJskFBCL-ZIOF4-LZWPQ%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AGtxev0wRQIhAJJVkJh1jdF-ObsyHz-I-XHptIFsdVXodIXi0G5bPNVcAiA0CvicuAVErRTg-v3vE7A-v0XpKTtl728TxHzrYNZugg%3D%3D","language_preference":-1,"ext":"m4a","vcodec":"none","acodec":"mp4a.40.2","container":"m4a_dash","downloader_options":{"http_chunk_size":10485760},"protocol":"https","resolution":"audio only","http_headers":{"User-Agent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/91.0.4472.114 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":"m4a","video_ext":"none","vbr":0,"abr":129.495,"format":"140 - audio only (medium)"},{"filesize":3111638,"format_id":"160","format_note":"144p","source_preference":-1,"fps":24,"height":144,"quality":0,"has_drm":false,"tbr":68.311,"filesize_approx":3111608}]},"_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://pr213-testing.zylalabs.com/api/2624/youtube+video+analytics+api/2638/video+data?url=https://www.youtube.com/watch?v=aSLZFdqwh7E' --header 'Authorization: Bearer YOUR_API_KEY'
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 Analytics API simply include your bearer token in the Authorization header.
| 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.
(Save 2 months with annual billing 🎉)
Trusted by leading companies
The YouTube Video Analytics API is a robust and versatile tool designed to provide users with complete access to a wealth of data related to YouTube videos. This API serves as a gateway to a treasure trove of information, making it an essential resource for individuals, developers and businesses wishing to harness the power of YouTube's vast video library.
At its core, the YouTube Video Analytics API is designed to facilitate the retrieval of detailed information about YouTube videos. This information includes crucial metadata such as video titles, descriptions, publication dates, view counts, "like" counts.
One of the key features of the YouTube Video Analytics API is its ability to provide access to real-time and historical video data. This functionality allows users to track video performance over time, monitor trends, and gather valuable information about audience engagement and video popularity.
The API is designed for seamless integration, making it highly adaptable to a wide variety of applications and systems. Whether you are creating a custom YouTube analytics dashboard, developing a video content recommendation engine or conducting market research, the API can be easily incorporated into your existing software or web applications.
In short, the YouTube Video Analytics API is an indispensable tool for accessing detailed data about YouTube videos. Its comprehensive feature set, access to historical data, and seamless integration options make it a valuable resource for content creators, digital marketers, developers, researchers, and businesses looking to harness the power of YouTube's vast video library for a variety of purposes. Whether you're looking to optimize your content strategy, improve user experience or gain insight into video trends, this API gives you the data and flexibility you need to succeed in the world of online video content.
It will receive parameters and provide you with a JSON.
Video analytics: Analyze view counts, "likes" and comments to assess video performance and audience engagement.
Content recommendations: Create personalized video recommendation engines based on user preferences and viewing history.
Insights for creators: Creators can monitor their video statistics and trends to optimize content.
Market research: Study consumer behavior, trends and advertising effectiveness in the YouTube ecosystem.
Trend analysis: Tracks video popularity and trending topics to create timely and relevant content.
Basic Plan: 3,000 API Calls. 100 requests per day.
Pro Plan: 6,000 API Calls. 200 requests per day.
Pro Plus Plan: 12,000 API Calls. 400 requests per day.
To use this API the user must indicate the URL of a Youtube 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.
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.
The YouTube Video Analytics API is a powerful tool that provides access to detailed information and data related to YouTube videos.
Each endpoint returns detailed video data, including metadata such as video titles, descriptions, publication dates, view counts, like counts, and more. The response is structured in JSON format, making it easy to parse and integrate into applications.
Key fields in the response include "id" (video identifier), "title" (video title), "formats" (available formats), "view count," "like count," and "http_headers" (request headers). These fields provide essential insights into video performance and accessibility.
The response data is organized in a JSON structure, with a top-level "successful" field indicating the request status, followed by an "info" object containing detailed video information. Each format is listed within the "formats" array, detailing various attributes.
The endpoint provides information such as video metadata (title, description), performance metrics (view counts, likes), and technical details (formats, resolutions). This comprehensive data helps users analyze and optimize video content effectively.
The primary parameter required is the video URL. Users can customize their requests by specifying additional parameters, such as the desired data fields or filters to refine the output based on specific needs.
Users can analyze the returned data to assess video performance, identify trends, and inform content strategies. For example, tracking view counts over time can help creators understand audience engagement and optimize future videos.
The data is sourced directly from YouTube's video library, ensuring accuracy and relevance. The API retrieves real-time and historical data, providing users with up-to-date insights into video performance and audience behavior.
If the API returns partial or empty results, users should check the input parameters for accuracy. Implementing error handling in the application can help manage such scenarios, allowing for retries or alternative data requests as needed.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund