Retrieve YouTube Music API

The Retrieve YouTube Music API fetches music data, enabling users to integrate dynamic and diverse music content seamlessly.

About the API:  

The Retrieve YouTube Music API search results functionality is a powerful tool that allows users to seamlessly integrate and retrieve search results from the YouTube Music platform. This API endpoint is aimed at applications, services and developers who want to enhance their projects with music-related content, leveraging the extensive library available on YouTube Music.

The API supports keyword-based searches, allowing users to find music content based on specific terms or artists. This is especially useful for applications that want to offer users the ability to discover new music or find content that matches their preferences.

In addition to the basic search functionality, the Retrieve YouTube Music API also provides rich metadata for each result. This includes details such as track names, artist names, album information and much more. This metadata is crucial for applications that aim to display comprehensive information about the music content they present to users.

The integration process is streamlined thanks to the clear and detailed documentation provided by YouTube Music. Users can easily incorporate the API into their applications, with sample requests and response structures readily available. This facilitates a smooth development process, allowing users to focus on creating engaging user experiences rather than dealing with complex integration challenges.

In addition, the API adheres to industry-standard security practices, ensuring data confidentiality and integrity during transmission. This is essential for applications that handle user data and need to maintain a secure environment for their users.

Applications that benefit from the Retrieve YouTube Music API cover a wide range, including music streaming services, personalized playlists, recommendation engines and music discovery platforms. The API enables developers to create immersive and personalized music experiences for their users by leveraging the vast and diverse content available on YouTube Music.

In short, it is a valuable resource for users looking to enrich their applications with music-related content. Its flexibility, comprehensive metadata and secure integration make it the perfect choice for projects ranging from music streaming apps to innovative music discovery platforms. Whether you're building a standalone music app or enhancing an existing service, the search functionality of the Retrieve YouTube Music API gives you the tools you need to create an engaging and dynamic music experience for your users.

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. Music streaming applications: Integrate the API to fetch and display search results, enhancing the music discovery experience for users.

  2. Playlist builders: Enable users to search for and add tracks to playlists dynamically within applications.

  3. Artist information apps: Create apps that provide detailed artist and discography information based on search queries.

  4. Personalized recommendations: Use search results to enhance recommendation engines, offering users more personalized music suggestions.

  5. Genre-specific apps: Develop genre-focused apps that allow users to explore and discover music within specific genres.

Are there any limitations to your plans?

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

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

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

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

API Documentation

Endpoints


To use this endpoint you must enter a keyword or the name of an artist in the parameter.



                                                                            
GET https://www.zylalabs.com/api/2893/retrieve+youtube+music+api/3017/youtube+search
                                                                            
                                                                        

Youtube Search - Endpoint Features

Object Description
query [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"category":"Top result","resultType":"artist","subscribers":"29.1M","artists":[{"name":"Michael Jackson","id":"UCoIOOL7QKuBhQHVKL8y7BEQ"}],"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/x-Z35q6HsBB98J85-4oNqPnOen4pZBaNCpHawzf_ejs-pkgh6Eh3D2Fu7S1T4gEj0yWZ0c6DOAHCpA=w60-h60-p-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/x-Z35q6HsBB98J85-4oNqPnOen4pZBaNCpHawzf_ejs-pkgh6Eh3D2Fu7S1T4gEj0yWZ0c6DOAHCpA=w120-h120-p-l90-rj","width":120,"height":120}]},{"category":null,"resultType":"song","title":"Heal the World","album":{"name":"Dangerous","id":"MPREb_FYLUmINBQn2"},"feedbackTokens":{"add":null,"remove":null},"videoId":"cyCMuCFCkdk","videoType":"MUSIC_VIDEO_TYPE_ATV","duration":"6:25","year":null,"artists":[{"name":"Michael Jackson","id":"UCoIOOL7QKuBhQHVKL8y7BEQ"}],"duration_seconds":385,"isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/acFvHA1OEoI0HBPPG33zidd9n9aG1OTvo7XQQeFjEeQObGv6R3464BvFijHerp3Sit5UeHvQnx6LMoE=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/acFvHA1OEoI0HBPPG33zidd9n9aG1OTvo7XQQeFjEeQObGv6R3464BvFijHerp3Sit5UeHvQnx6LMoE=w120-h120-l90-rj","width":120,"height":120}]},{"category":null,"resultType":"song","title":"Dirty Diana","album":{"name":"Bad (25th Anniversary)","id":"MPREb_0AFJs8nNJS8"},"feedbackTokens":{"add":null,"remove":null},"videoId":"1R4pJc6vNn8","videoType":"MUSIC_VIDEO_TYPE_ATV","duration":"4:41","year":null,"artists":[{"name":"Michael Jackson","id":"UCoIOOL7QKuBhQHVKL8y7BEQ"}],"duration_seconds":281,"isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/4IhR8db0ePRchdQgUzYcjxTgjBBn16vYi1bOVgf0Z0-tfjBN62-FSn6wtrxDm4eg-jQh9JVvHPyWUAvs=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/4IhR8db0ePRchdQgUzYcjxTgjBBn16vYi1bOVgf0Z0-tfjBN62-FSn6wtrxDm4eg-jQh9JVvHPyWUAvs=w120-h120-l90-rj","width":120,"height":120}]},{"category":null,"resultType":"album","title":"XSCAPE","type":"Album","duration":null,"year":"2014","artists":[{"name":"Michael Jackson","id":"UCoIOOL7QKuBhQHVKL8y7BEQ"}],"browseId":"MPREb_iRUNZn88Ax7","isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/byoydb0eKI_IzW48CVLw2aaLarAqD0rC4e5pi8bUNx6RbdZc6L8FgyP341fcl1xTbs9KudO7QW4eThxE=w60-h60-s-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/byoydb0eKI_IzW48CVLw2aaLarAqD0rC4e5pi8bUNx6RbdZc6L8FgyP341fcl1xTbs9KudO7QW4eThxE=w120-h120-s-l90-rj","width":120,"height":120},{"url":"https:\/\/lh3.googleusercontent.com\/byoydb0eKI_IzW48CVLw2aaLarAqD0rC4e5pi8bUNx6RbdZc6L8FgyP341fcl1xTbs9KudO7QW4eThxE=w226-h226-s-l90-rj","width":226,"height":226},{"url":"https:\/\/lh3.googleusercontent.com\/byoydb0eKI_IzW48CVLw2aaLarAqD0rC4e5pi8bUNx6RbdZc6L8FgyP341fcl1xTbs9KudO7QW4eThxE=w544-h544-s-l90-rj","width":544,"height":544}]},{"category":"Songs","resultType":"song","title":"Will You Be There","album":{"name":"Dangerous","id":"MPREb_FYLUmINBQn2"},"feedbackTokens":{"add":null,"remove":null},"videoId":"aIuPDFw9dRU","videoType":"MUSIC_VIDEO_TYPE_ATV","duration":"7:40","year":null,"artists":[{"name":"Michael Jackson","id":"UCoIOOL7QKuBhQHVKL8y7BEQ"}],"duration_seconds":460,"isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/acFvHA1OEoI0HBPPG33zidd9n9aG1OTvo7XQQeFjEeQObGv6R3464BvFijHerp3Sit5UeHvQnx6LMoE=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/acFvHA1OEoI0HBPPG33zidd9n9aG1OTvo7XQQeFjEeQObGv6R3464BvFijHerp3Sit5UeHvQnx6LMoE=w120-h120-l90-rj","width":120,"height":120}]},{"category":"Songs","resultType":"song","title":"They Don't Care About Us","album":{"name":"HIStory: PAST, PRESENT AND FUTURE, BOOK I","id":"MPREb_L7mH5RJKKdI"},"feedbackTokens":{"add":null,"remove":null},"videoId":"-_OPJ2d86kE","videoType":"MUSIC_VIDEO_TYPE_ATV","duration":"4:45","year":null,"artists":[{"name":"Michael Jackson","id":"UCoIOOL7QKuBhQHVKL8y7BEQ"}],"duration_seconds":285,"isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/R7pwf7-lcPvK3dxv8jMkUd4SlbVmrM-nZOFEJqnHGLQFBl4lqj1gyeWSFO5X9HZxgUhTh4KM8n0l7j_k=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/R7pwf7-lcPvK3dxv8jMkUd4SlbVmrM-nZOFEJqnHGLQFBl4lqj1gyeWSFO5X9HZxgUhTh4KM8n0l7j_k=w120-h120-l90-rj","width":120,"height":120}]},{"category":"Songs","resultType":"song","title":"Who Is It","album":{"name":"Dangerous","id":"MPREb_FYLUmINBQn2"},"feedbackTokens":{"add":null,"remove":null},"videoId":"1dspo0Esmy0","videoType":"MUSIC_VIDEO_TYPE_ATV","duration":"6:34","year":null,"artists":[{"name":"Michael Jackson","id":"UCoIOOL7QKuBhQHVKL8y7BEQ"}],"duration_seconds":394,"isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/acFvHA1OEoI0HBPPG33zidd9n9aG1OTvo7XQQeFjEeQObGv6R3464BvFijHerp3Sit5UeHvQnx6LMoE=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/acFvHA1OEoI0HBPPG33zidd9n9aG1OTvo7XQQeFjEeQObGv6R3464BvFijHerp3Sit5UeHvQnx6LMoE=w120-h120-l90-rj","width":120,"height":120}]},{"category":"Albums","resultType":"album","title":"Thriller","type":"Album","duration":null,"year":"1982","artists":[{"name":"Michael Jackson","id":"UCoIOOL7QKuBhQHVKL8y7BEQ"}],"browseId":"MPREb_dqWTncCjkSp","isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/URvHCfI2iyGAlAwqqBFeaFhU9DeKk_iuX40OIIIj8Zp0wIT3BVsJ2JRMwLLbUB9EZS7t7oDlMrI2S3OvGA=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/URvHCfI2iyGAlAwqqBFeaFhU9DeKk_iuX40OIIIj8Zp0wIT3BVsJ2JRMwLLbUB9EZS7t7oDlMrI2S3OvGA=w120-h120-l90-rj","width":120,"height":120},{"url":"https:\/\/lh3.googleusercontent.com\/URvHCfI2iyGAlAwqqBFeaFhU9DeKk_iuX40OIIIj8Zp0wIT3BVsJ2JRMwLLbUB9EZS7t7oDlMrI2S3OvGA=w226-h226-l90-rj","width":226,"height":226},{"url":"https:\/\/lh3.googleusercontent.com\/URvHCfI2iyGAlAwqqBFeaFhU9DeKk_iuX40OIIIj8Zp0wIT3BVsJ2JRMwLLbUB9EZS7t7oDlMrI2S3OvGA=w544-h544-l90-rj","width":544,"height":544}]},{"category":"Albums","resultType":"album","title":"Bad","type":"Album","duration":null,"year":"1987","artists":[{"name":"Michael Jackson","id":"UCoIOOL7QKuBhQHVKL8y7BEQ"}],"browseId":"MPREb_Y5ebh1nnQs5","isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/7BMiO7nt2XYlLtuNAfdK38TxWOB2KjQeQuIeERdCIwjMm-8ifEAlN2obE64_jeaSPO7NtNbo12vb5RgIEw=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/7BMiO7nt2XYlLtuNAfdK38TxWOB2KjQeQuIeERdCIwjMm-8ifEAlN2obE64_jeaSPO7NtNbo12vb5RgIEw=w120-h120-l90-rj","width":120,"height":120},{"url":"https:\/\/lh3.googleusercontent.com\/7BMiO7nt2XYlLtuNAfdK38TxWOB2KjQeQuIeERdCIwjMm-8ifEAlN2obE64_jeaSPO7NtNbo12vb5RgIEw=w226-h226-l90-rj","width":226,"height":226},{"url":"https:\/\/lh3.googleusercontent.com\/7BMiO7nt2XYlLtuNAfdK38TxWOB2KjQeQuIeERdCIwjMm-8ifEAlN2obE64_jeaSPO7NtNbo12vb5RgIEw=w544-h544-l90-rj","width":544,"height":544}]},{"category":"Albums","resultType":"album","title":"Dangerous","type":"Album","duration":null,"year":"1991","artists":[{"name":"Michael Jackson","id":"UCoIOOL7QKuBhQHVKL8y7BEQ"}],"browseId":"MPREb_FYLUmINBQn2","isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/acFvHA1OEoI0HBPPG33zidd9n9aG1OTvo7XQQeFjEeQObGv6R3464BvFijHerp3Sit5UeHvQnx6LMoE=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/acFvHA1OEoI0HBPPG33zidd9n9aG1OTvo7XQQeFjEeQObGv6R3464BvFijHerp3Sit5UeHvQnx6LMoE=w120-h120-l90-rj","width":120,"height":120},{"url":"https:\/\/lh3.googleusercontent.com\/acFvHA1OEoI0HBPPG33zidd9n9aG1OTvo7XQQeFjEeQObGv6R3464BvFijHerp3Sit5UeHvQnx6LMoE=w226-h226-l90-rj","width":226,"height":226},{"url":"https:\/\/lh3.googleusercontent.com\/acFvHA1OEoI0HBPPG33zidd9n9aG1OTvo7XQQeFjEeQObGv6R3464BvFijHerp3Sit5UeHvQnx6LMoE=w544-h544-l90-rj","width":544,"height":544}]},{"category":"Videos","resultType":"video","title":"Michael jackson greatest hits da","videoId":"z1fadkdxAX0","videoType":"MUSIC_VIDEO_TYPE_UGC","duration":"1:15:19","year":null,"artists":[{"name":"\u05d3\u05e0\u05d9\u05d0\u05dc \u05d0\u05d7\u05d3\u05d5\u05ea","id":"UCJtSbI18X_go-fm4JsvrObw"}],"views":"54M","duration_seconds":4519,"thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/z1fadkdxAX0\/sddefault.jpg?sqp=-oaymwEWCJADEOEBIAQqCghqEJQEGHgg6AJIWg&rs=AMzJL3mUK_ejROpqdmJweBnB2NSzWd3nnw","width":400,"height":225}]},{"category":"Videos","resultType":"video","title":"Thriller (Official 4K Video)","videoId":"sOnqjkJTMaA","videoType":"MUSIC_VIDEO_TYPE_OMV","duration":"13:42","year":null,"artists":[{"name":"Michael Jackson","id":"UCoIOOL7QKuBhQHVKL8y7BEQ"}],"views":"945M","duration_seconds":822,"thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/sOnqjkJTMaA\/sddefault.jpg?sqp=-oaymwEWCJADEOEBIAQqCghqEJQEGHgg6AJIWg&rs=AMzJL3nV82gCmyosWBMN-Q2CMdeoxzhcPg","width":400,"height":225}]},{"category":"Videos","resultType":"video","title":"Smooth Criminal (Official Video)","videoId":"h_D3VFfhvs4","videoType":"MUSIC_VIDEO_TYPE_OMV","duration":"9:26","year":null,"artists":[{"name":"Michael Jackson","id":"UCoIOOL7QKuBhQHVKL8y7BEQ"}],"views":"896M","duration_seconds":566,"thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/h_D3VFfhvs4\/sddefault.jpg?sqp=-oaymwEWCJADEOEBIAQqCghqEJQEGHgg6AJIWg&rs=AMzJL3lJtJoMjgU9Vty67glLfe9RCdQdxA","width":400,"height":225}]},{"category":"Featured playlists","resultType":"playlist","title":"Presenting Michael Jackson","itemCount":"50","author":"YouTube Music","browseId":"VLRDCLAK5uy_miD17xJM-5x1_5HaIJj44QMdIa0jJAp0E","thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/Ip79Lj22vqKx1zetGM_Es9VyY7P7-cXAoeC9xgiE6x4Mzk-gujYcXwsK7iDvB9Yxbo-JJiueGFB_Ze8=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/Ip79Lj22vqKx1zetGM_Es9VyY7P7-cXAoeC9xgiE6x4Mzk-gujYcXwsK7iDvB9Yxbo-JJiueGFB_Ze8=w120-h120-l90-rj","width":120,"height":120},{"url":"https:\/\/lh3.googleusercontent.com\/Ip79Lj22vqKx1zetGM_Es9VyY7P7-cXAoeC9xgiE6x4Mzk-gujYcXwsK7iDvB9Yxbo-JJiueGFB_Ze8=w226-h226-l90-rj","width":226,"height":226},{"url":"https:\/\/lh3.googleuserc...
                                                                                                                                                                                                                    
                                                                                                    

Youtube Search - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2893/retrieve+youtube+music+api/3017/youtube+search?query=Michael Jackson' --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 Retrieve YouTube Music 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 a keyword or the name of an artist.

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.

Retrieve YouTube Music API allows developers to retrieve music-related search results from YouTube Music, enabling integration into applications for a variety of purposes.

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
2,241ms

Category:


Related APIs