YouTube Media Query API

YouTube Media Query API allows developers to seamlessly integrate video downloading, giving users greater accessibility to content.

About the API:  

The YouTube Media Query API emerges as a powerful tool designed to leverage the wealth of data available on the world's largest video-sharing platform. With the proliferation of content on YouTube, the need for efficient access to search results has become increasingly vital for developers, businesses and researchers. This API provides a streamlined way to retrieve and analyze YouTube search results, offering a multitude of applications in a variety of domains.

In essence, the YouTube Media Query API makes it easy to extract valuable information from YouTube searches. Users can programmatically access the results of specific queries, allowing them to seamlessly integrate these results into their applications, platforms or analytics tools. The API is designed to handle the dynamic and vast nature of YouTube content, providing a robust solution for those looking to harness the power of YouTube data.

A key feature of the YouTube Media Query API is its ability to enhance content aggregation platforms. By integrating the API into content aggregators, users can ensure that users receive accurate and up-to-date YouTube search results within the platform, creating a more comprehensive and user-friendly experience. This is especially beneficial for platforms that collect content based on specific topics or user preferences.

Video analytics tools can also benefit significantly from the YouTube Media Query API. By incorporating the API into analytics applications, users can retrieve detailed data about YouTube search results, enabling in-depth analysis of content performance, user engagement and trending topics. This level of detail is invaluable for content creators, marketers and businesses looking to refine their strategies based on data.

Social media monitoring tools can leverage the YouTube Media Query API to track and analyze YouTube content related to specific keywords, brands or trends. This feature allows users to stay informed about discussions and opinions surrounding their brand or industry on the video-sharing platform, encouraging a proactive approach to social media management.

In conclusion, the YouTube Media Query API is a versatile and indispensable tool with applications spanning content aggregation, analytics, social media monitoring, market research, education, media planning and news analysis. Its ability to provide timely and relevant data on YouTube search results enables users to make informed decisions, improve user experience and remain competitive in the dynamic online content landscape.

 

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 aggregation platforms: Integrate the API into content aggregation platforms to seamlessly retrieve and display YouTube search results.

    Video analytics tools: Enhance video analytics tools by using the API to pull YouTube results data for in-depth analysis and reporting.

    Social media monitoring: Incorporate the API into social network monitoring tools to track and analyze YouTube content related to specific topics, brands or keywords.

    Market research applications: Use the API to collect YouTube search results data for market research, which will help businesses understand consumer trends and preferences.

    Content recommendation engines: Enhances content recommendation engines by using the API to pull results from YouTube and improve the accuracy of personalized recommendations.

     

Are there any limitations to your plans?

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

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

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

  • Premium Plan: 20,000 API Calls. 15 requests per second.

API Documentation

Endpoints


To use this endpoint you must indicate a keyword in the parameter.



                                                                            
GET https://zylalabs.com/api/3008/youtube+media+query+api/3173/get+youtube+results
                                                                            
                                                                        

Get YouTube Results - Endpoint Features

Object Description
q [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
    "ok": true,
    "results": [
        {
            "title": "RAUW ALEJANDRO || BZRP Music Sessions #56",
            "url": "HWZhoK-2cG8",
            "time": 210,
            "daqiqa": "03:30",
            "view": "39 149 152 views",
            "image": "https://i.ytimg.com/vi/HWZhoK-2cG8/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLB7KoItduUUnIIKtR_8AtxJ6WjPXg"
        },
        {
            "title": "PESO PLUMA || BZRP Music Sessions #55",
            "url": "v5_SYkFpFiY",
            "time": 192,
            "daqiqa": "03:12",
            "view": "241 847 673 views",
            "image": "https://i.ytimg.com/vi/v5_SYkFpFiY/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLDTyAAR46FiSLAHZZnX-tYezIS3eg"
        },
        {
            "title": "ARCANGEL || BZRP Music Sessions #54",
            "url": "ntCZjb_AAWE",
            "time": 234,
            "daqiqa": "03:54",
            "view": "111 109 824 views",
            "image": "https://i.ytimg.com/vi/ntCZjb_AAWE/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLC9w4rkyuviBF_qDci_2MV7HBobGA"
        },
        {
            "title": "SHAKIRA || BZRP Music Sessions #53",
            "url": "CocEMWdc7Ck",
            "time": 217,
            "daqiqa": "03:37",
            "view": "651 757 083 views",
            "image": "https://i.ytimg.com/vi/CocEMWdc7Ck/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLAcI8nJuYatDJp1FxT2q0dbjQQgeQ"
        },
        {
            "title": "DUKI || BZRP Music Sessions #50",
            "url": "Gzs60iBgd3E",
            "time": 231,
            "daqiqa": "03:51",
            "view": "100 841 542 views",
            "image": "https://i.ytimg.com/vi/Gzs60iBgd3E/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLB1Q87bcMxuHzR9Zztk_QuUV2BA_g"
        },
        {
            "title": "QUEVEDO || BZRP Music Sessions #52",
            "url": "A_g3lMcWVy0",
            "time": 203,
            "daqiqa": "03:23",
            "view": "602 300 500 views",
            "image": "https://i.ytimg.com/vi/A_g3lMcWVy0/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLAQuDZBZJNfqucyHBGwkh45ztBSlw"
        },
        {
            "title": "VILLANO ANTILLANO || BZRP Music Sessions #51",
            "url": "wvz97-lNPH8",
            "time": 187,
            "daqiqa": "03:07",
            "view": "237 094 022 views",
            "image": "https://i.ytimg.com/vi/wvz97-lNPH8/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLDkcnR5wxYMkpBoAN12Zw7MMBezBw"
        },
        {
            "title": "PAULO LONDRA || BZRP Music Sessions #23",
            "url": "WkgHkrM9fo0",
            "time": 257,
            "daqiqa": "04:17",
            "view": "145 110 565 views",
            "image": "https://i.ytimg.com/vi/WkgHkrM9fo0/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLByMhUe2kMjQ8X5LdzckU7jxdHJKg"
        },
        {
            "title": "QUEVEDO || BZRP Music Sessions #52",
            "url": "A_g3lMcWVy0",
            "time": 203,
            "daqiqa": "03:23",
            "view": "602 300 500 views",
            "image": "https://i.ytimg.com/vi/A_g3lMcWVy0/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLAQuDZBZJNfqucyHBGwkh45ztBSlw"
        },
        {
            "title": "SHAKIRA || BZRP Music Sessions #53",
            "url": "CocEMWdc7Ck",
            "time": 217,
            "daqiqa": "03:37",
            "view": "651 757 083 views",
            "image": "https://i.ytimg.com/vi/CocEMWdc7Ck/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLAcI8nJuYatDJp1FxT2q0dbjQQgeQ"
        },
        {
            "title": "ARCANGEL || BZRP Music Sessions #54",
            "url": "ntCZjb_AAWE",
            "time": 234,
            "daqiqa": "03:54",
            "view": "111 109 824 views",
            "image": "https://i.ytimg.com/vi/ntCZjb_AAWE/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLC9w4rkyuviBF_qDci_2MV7HBobGA"
        },
        {
            "title": "Bizarrap & Quevedo - Quevedo: Bzrp Music Sessions, Vol. 52 (letra/lyrics)",
            "url": "9ACJSXn-9YA",
            "time": 198,
            "daqiqa": "03:18",
            "view": "1 795 113 views",
            "image": "https://i.ytimg.com/vi/9ACJSXn-9YA/hqdefault.jpg?sqp=-oaymwEjCOADEI4CSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLC1Ipci68JYWWMo-zpKc6L5DYtWuw"
        },
        {
            "title": "VILLANO ANTILLANO || BZRP Music Sessions #51",
            "url": "wvz97-lNPH8",
            "time": 187,
            "daqiqa": "03:07",
            "view": "237 094 022 views",
            "image": "https://i.ytimg.com/vi/wvz97-lNPH8/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLDkcnR5wxYMkpBoAN12Zw7MMBezBw"
        },
        {
            "title": "QUEVEDO || BZRP Music Sessions #52 (Letra) | quedate que la noche sin ti duele",
            "url": "_PdogVJx9Iw",
            "time": 201,
            "daqiqa": "03:21",
            "view": "91 290 289 views",
            "image": "https://i.ytimg.com/vi/_PdogVJx9Iw/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLDSwU40nGVNPo5Zv0BdWnAWrZcVvg"
        },
        {
            "title": "QUEVEDO || BZRP Music Sessions #52 (Letra) Quedate que las noches sin ti duelen",
            "url": "tJWWJiVYiUA",
            "time": 198,
            "daqiqa": "03:18",
            "view": "249 153 571 views",
            "image": "https://i.ytimg.com/vi/tJWWJiVYiUA/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLBJ0-Hq_uRXLHhG63Ec2kMZbZjoXw"
        },
        {
            "title": "BZRP Music Sessions #38 (REMIX CUMBIA) - L-Gante - TJ.MUSIC #lgante #lgantekeloke #musicsessions #tj",
            "url": "xQG5YGHblyw",
            "time": 167,
            "daqiqa": "02:47",
            "view": "126 views",
            "image": "https://i.ytimg.com/vi/xQG5YGHblyw/hq720.jpg?sqp=-oaymwE9COgCEMoBSFryq4qpAy8IARUAAAAAGAElAADIQj0AgKJDeAHwAQH4Af4JgALQBYoCDAgAEAEYZSBlKGUwDw==\\u0026rs=AOn4CLD6lmQmWRfQoGAFm3vOGkU1zNgCXg"
        },
        {
            "title": "Zaramay || BZRP Music Sessions #31",
            "url": "4OKgRMRDusM",
            "time": 229,
            "daqiqa": "03:49",
            "view": "165 073 062 views",
            "image": "https://i.ytimg.com/vi/4OKgRMRDusM/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLA0K06ewz1F-D3uRi0OeitKLheqYA"
        },
        {
            "title": "PTAZETA || BZRP Music Sessions #45",
            "url": "yLX87IkvT8I",
            "time": 166,
            "daqiqa": "02:46",
            "view": "117 120 606 views",
            "image": "https://i.ytimg.com/vi/yLX87IkvT8I/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLDbxfg0LZriIZWi7PvoDIZG4bfVyA"
        },
        {
            "title": "PESO PLUMA || BZRP Music Sessions #55",
            "url": "v5_SYkFpFiY",
            "time": 192,
            "daqiqa": "03:12",
            "view": "241 847 673 views",
            "image": "https://i.ytimg.com/vi/v5_SYkFpFiY/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLDTyAAR46FiSLAHZZnX-tYezIS3eg"
        },
        {
            "title": "L-Gante || BZRP Music Sessions #38",
            "url": "z7rI82hyels",
            "time": 194,
            "daqiqa": "03:14",
            "view": "333 755 442 views",
            "image": "https://i.ytimg.com/vi/z7rI82hyels/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLDBO9YJsU_yqs2GYPRxvyW8BERiBA"
        },
        {
            "title": "NATHY PELUSO || BZRP Music Sessions #36",
            "url": "0OkiUUU3Odw",
            "time": 175,
            "daqiqa": "02:55",
            "view": "386 448 631 views",
            "image": "https://i.ytimg.com/vi/0OkiUUU3Odw/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLBe-FVkA_xb-vynUv-lRWu96CE8hA"
        },
        {
            "title": "DUKI || BZRP Music Sessions #50",
            "url": "Gzs60iBgd3E",
            "time": 231,
            "daqiqa": "03:51",
            "view": "100 841 542 views",
            "image": "https://i.ytimg.com/vi/Gzs60iBgd3E/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLB1Q87bcMxuHzR9Zztk_QuUV2BA_g"
        },
        {
            "title": "Snow Tha Product || BZRP Music Sessions #39",
            "url": "t490zXLrQDE",
            "time": 183,
            "daqiqa": "03:03",
            "view": "240 638 341 views",
            "image": "https://i.ytimg.com/vi/t490zXLrQDE/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLCL7LDGk-eNBhCPGuVkKrgU0A0sUg"
        },
        {
            "title": "RAUW ALEJANDRO || BZRP Music Sessions #56",
            "url": "HWZhoK-2cG8",
            "time": 210,
            "daqiqa": "03:30",
            "view": "39 149 152 views",
            "image": "https://i.ytimg.com/vi/HWZhoK-2cG8/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLB7KoItduUUnIIKtR_8AtxJ6WjPXg"
        },
        {
            "title": "TIAGO PZK || BZRP Music Sessions #48",
            "url": "h7U8TqOVyxc",
            "time": 166,
            "daqiqa": "02:46",
            "view": "207 635 142 views",
            "image": "https://i.ytimg.com/vi/h7U8TqOVyxc/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\\u0026rs=AOn4CLCuD6shEVDQw3SFF5TQ2PCd-Zunuw"
        },
        {
            "title": "Eladio ...
                                                                                                                                                                                                                    
                                                                                                    

Get YouTube Results - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3008/youtube+media+query+api/3173/get+youtube+results?q=Michael' --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 Media Query 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
  • Specialized Customer Support
  • Real-Time API Monitoring

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

The YouTube Media Query API is a powerful tool designed to programmatically extract media content, such as videos and audio, from YouTube.

To use this API the user must indicate a keyword to receive YouTube results related to it.

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.

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 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, refer to the ‘X-Zyla-API-Calls-Monthly-Remaining’ field in the response header. For example, if your plan allows 1000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the ‘X-Zyla-RateLimit-Limit’ response 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
1,499ms

Category:


Related APIs