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 endpoint you must indicate the URL of a video in the parameter.
Video data - Endpoint Features
Object | Description |
---|---|
url |
[Required] |
{"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,"url":"https:\/\/rr1---sn-ab5l6ndr.googlevideo.com\/videoplayback?expire=1723852290&ei=opG_ZserLKGH0u8Po9q98Q8&ip=45.178.5.140&id=o-AJUGULmaSTqxTDGHzYAFUvSE5n0hM_oEZvgw7mnDlfcC&itag=160&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=video%2Fmp4&rqh=1&gir=yes&clen=3111638&dur=364.405&lmt=1715465469780634&mt=1723830330&fvip=1&keepalive=yes&c=IOS&txp=4535434&sparams=expire%2Cei%2Cip%2Cid%2Cita...
curl --location --request GET 'https://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'
Header | Description |
---|---|
Authorization
|
[Required] Should be Bearer access_key . See "Your API Access Key" above when you are subscribed. |
No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.
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.
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.
Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). 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 paying by card, just contact us at [email protected]
Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
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.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, look at the βX-Zyla-API-Calls-Monthly-Remainingβ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.
To see the maximum number of API requests your plan allows, check the βX-Zyla-RateLimit-Limitβ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.
The βX-Zyla-RateLimit-Resetβ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.
Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]
To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.
After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, itβs important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.
Service Level:
100%
Response Time:
518ms
Service Level:
100%
Response Time:
730ms
Service Level:
100%
Response Time:
1,714ms
Service Level:
100%
Response Time:
1,454ms
Service Level:
100%
Response Time:
881ms
Service Level:
100%
Response Time:
717ms
Service Level:
100%
Response Time:
160ms
Service Level:
100%
Response Time:
117ms
Service Level:
100%
Response Time:
1,216ms
Service Level:
100%
Response Time:
609ms
Service Level:
100%
Response Time:
2,503ms
Service Level:
100%
Response Time:
2,054ms
Service Level:
100%
Response Time:
1,873ms
Service Level:
100%
Response Time:
3,100ms
Service Level:
67%
Response Time:
1,074ms
Service Level:
100%
Response Time:
409ms
Service Level:
100%
Response Time:
2,621ms