YouTube Music Recommendation API

YouTube Music Recommendation API

"The YouTube Music Recommendation API enriches music discovery, offering dynamic search results for personalized playlists, artist exploration, and real-time updates, enhancing user experiences."

API description

About the API:  

In the vibrant digital music streaming landscape, the YouTube Music Recommendation API emerges as a powerhouse, providing users and music enthusiasts with a gateway to seamlessly explore and integrate a wide range of music content. Focused on delivering dynamic search results, this API opens up new possibilities for creating innovative music applications, enhancing user experiences and leveraging the rich musical tapestry available on YouTube.

The YouTube Music Recommendation API for Search Results is an application programming interface that allows users to take advantage of the vast music library hosted on YouTube. Designed specifically for retrieving search results, this API allows applications to query and display relevant music content, from songs and artists to playlists and albums, fostering a more immersive and personalized music discovery experience.

Users integrate the YouTube Music Recommendation API into their applications, issuing search queries to the API based on information entered by the user. The API then processes these queries and returns a set of search results, typically organized by relevance. The results include a wide range of music content and each item contains essential metadata such as title, artist, duration and a link to the corresponding YouTube Music page.

The YouTube Music Recommendation API integrates seamlessly with a variety of music applications, enhancing their functionality and expanding their music catalog. Whether incorporated into standalone music players, streaming platforms or custom music recommendation services, the API serves as a dynamic bridge to the vast YouTube Music library.

In conclusion, the YouTube Music Recommendation API for search results offers a symphony of possibilities for developers and music enthusiasts alike. By seamlessly integrating with applications, this API transforms the way users discover and engage with music content. Whether it's creating personalized playlists, exploring artists in depth, or keeping up with the latest releases, the YouTube Music API is a key enabler for a harmonious and personalized music journey in the digital age.


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. Personalized Playlists: Dynamically curate playlists based on user preferences, creating a personalized music listening experience.

  2. Artist Exploration: Enable users to explore artists in-depth by providing detailed search results for their tracks, albums, and related content.

  3. Content Recommendations: Implement algorithms to analyze user interactions and suggest additional tracks or artists, enhancing content discovery.

  4. Real-time Updates: Stay current with the latest releases and trends by incorporating real-time search queries for immediate access to new music content.

  5. Genre-specific Discovery: Tailor search queries to focus on specific genres, allowing users to discover and explore music within their preferred categories.

 

Are there any limitations to your plans?

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

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

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

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

API Documentation

Endpoints


To use this endpoint you must indicate the name of an artist/band or a song in the parameter.



                                                                            
GET https://zylalabs.com/api/2905/youtube+music+recommendation+api/3028/get+music
                                                                            
                                                                        

Get Music - Endpoint Features
Object Description
query [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"category":"Top result","resultType":"artist","subscribers":"26M","artists":[{"name":"David Guetta","id":"UCh-4c1ZoBPNP1C8c-7iVvUQ"}],"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/Nm_nq9JlS9WNx94meVL8AUgW-n7LzliJDYvWLrR-2ubFWQED1YQJKTv1AEV0s1gKiA3QKdY7lgimbFY=w60-h60-p-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/Nm_nq9JlS9WNx94meVL8AUgW-n7LzliJDYvWLrR-2ubFWQED1YQJKTv1AEV0s1gKiA3QKdY7lgimbFY=w120-h120-p-l90-rj","width":120,"height":120}]},{"category":null,"resultType":"song","title":"Gettin' Over (feat. Chris Willis & Fergie)","album":{"name":"One More Love","id":"MPREb_gr9AZPWPMzh"},"feedbackTokens":{"add":null,"remove":null},"videoId":"YbaUK4DzpYo","videoType":"MUSIC_VIDEO_TYPE_ATV","duration":"3:03","year":null,"artists":[{"name":"David Guetta","id":"UCh-4c1ZoBPNP1C8c-7iVvUQ"}],"duration_seconds":183,"isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/JIiq36Sl6dt0MsbLi13LK0dqsO-_AZAXM1PjmvjKqSj3L0DIDuIYmdZKPj_wgru6jcwG86LknEDN8xK4=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/JIiq36Sl6dt0MsbLi13LK0dqsO-_AZAXM1PjmvjKqSj3L0DIDuIYmdZKPj_wgru6jcwG86LknEDN8xK4=w120-h120-l90-rj","width":120,"height":120}]},{"category":null,"resultType":"song","title":"Dreams (feat. Lanie Gardner)","album":{"name":"Dreams","id":"MPREb_9lzIwXMNM2d"},"feedbackTokens":{"add":null,"remove":null},"videoId":"UWAUfS0uPAE","videoType":"MUSIC_VIDEO_TYPE_ATV","duration":"3:25","year":null,"artists":[{"name":"David Guetta","id":"UCh-4c1ZoBPNP1C8c-7iVvUQ"},{"name":"MORTEN","id":"UC4Shd6EUJXO_eYVPTLaH6vQ"}],"duration_seconds":205,"isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/tOvRQaMGVK4COsa6LEEX0r8uIQCuhhGiIzhSI_y1A77LFvIn40gXfvk_dTlGGOkhSvJY23ALWo6tb9YK=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/tOvRQaMGVK4COsa6LEEX0r8uIQCuhhGiIzhSI_y1A77LFvIn40gXfvk_dTlGGOkhSvJY23ALWo6tb9YK=w120-h120-l90-rj","width":120,"height":120}]},{"category":null,"resultType":"album","title":"7","type":"Album","duration":null,"year":"2018","artists":[{"name":"David Guetta","id":"UCh-4c1ZoBPNP1C8c-7iVvUQ"}],"browseId":"MPREb_r60MmHCiUuo","isExplicit":true,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/QzZ-WtnAk1-5NKhHT-KKhABwpsq88BLgW-g8YcmOB3LIEEAy11WtSOsKPelfBbq4LJ3DbQwa_obesICk=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/QzZ-WtnAk1-5NKhHT-KKhABwpsq88BLgW-g8YcmOB3LIEEAy11WtSOsKPelfBbq4LJ3DbQwa_obesICk=w120-h120-l90-rj","width":120,"height":120},{"url":"https:\/\/lh3.googleusercontent.com\/QzZ-WtnAk1-5NKhHT-KKhABwpsq88BLgW-g8YcmOB3LIEEAy11WtSOsKPelfBbq4LJ3DbQwa_obesICk=w226-h226-l90-rj","width":226,"height":226},{"url":"https:\/\/lh3.googleusercontent.com\/QzZ-WtnAk1-5NKhHT-KKhABwpsq88BLgW-g8YcmOB3LIEEAy11WtSOsKPelfBbq4LJ3DbQwa_obesICk=w544-h544-l90-rj","width":544,"height":544}]},{"category":"Songs","resultType":"song","title":"Love Don't Let Me Go","album":{"name":"Just a Little More Love","id":"MPREb_zQUqne5BKa3"},"feedbackTokens":{"add":null,"remove":null},"videoId":"k6KG-k3z05Q","videoType":"MUSIC_VIDEO_TYPE_ATV","duration":"3:37","year":null,"artists":[{"name":"David Guetta","id":"UCh-4c1ZoBPNP1C8c-7iVvUQ"}],"duration_seconds":217,"isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/cr1k0CxCmu0AxABpalAiccj8xPdf5a2eTdCeI4j4N9ANa4RxWGGtc3bzB1X5DJX3UzJZpJt5jsh-q-BS=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/cr1k0CxCmu0AxABpalAiccj8xPdf5a2eTdCeI4j4N9ANa4RxWGGtc3bzB1X5DJX3UzJZpJt5jsh-q-BS=w120-h120-l90-rj","width":120,"height":120}]},{"category":"Songs","resultType":"song","title":"Crazy What Love Can Do","album":{"name":"Everything I Didn\u2019t Say And More","id":"MPREb_E210vF0SHfh"},"feedbackTokens":{"add":null,"remove":null},"videoId":"3ftfkQ09hXo","videoType":"MUSIC_VIDEO_TYPE_ATV","duration":"2:50","year":null,"artists":[{"name":"David Guetta","id":"UCh-4c1ZoBPNP1C8c-7iVvUQ"},{"name":"Becky Hill","id":"UCqUQ-LDtna5Bc-dfu6WkufA"},{"name":"Ella Henderson","id":"UCWN8EUD00PTyo5QQ5ueRr-A"}],"duration_seconds":170,"isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/N9mS7yPzuNbngWa-QXR5olyVUCUGaBHGEyjK_ZONdRqdi_s9TjQ1mfD_-rjZRUBm77XNUbqPMmV3vK4=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/N9mS7yPzuNbngWa-QXR5olyVUCUGaBHGEyjK_ZONdRqdi_s9TjQ1mfD_-rjZRUBm77XNUbqPMmV3vK4=w120-h120-l90-rj","width":120,"height":120}]},{"category":"Songs","resultType":"song","title":"Kill Me Slow","album":{"name":"New Rave","id":"MPREb_kMTVMLjNNEZ"},"feedbackTokens":{"add":null,"remove":null},"videoId":"UvMva0_U1hs","videoType":"MUSIC_VIDEO_TYPE_ATV","duration":"3:29","year":null,"artists":[{"name":"David Guetta","id":"UCh-4c1ZoBPNP1C8c-7iVvUQ"},{"name":"MORTEN","id":"UC4Shd6EUJXO_eYVPTLaH6vQ"}],"duration_seconds":209,"isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/KzW9SplVExIlsruskkOqzp4lMkMMP5c3Wvrofj6Dbin4tlh7d2XjX93Eb4Y4rf6NK4rZjNOlUOyW9_k=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/KzW9SplVExIlsruskkOqzp4lMkMMP5c3Wvrofj6Dbin4tlh7d2XjX93Eb4Y4rf6NK4rZjNOlUOyW9_k=w120-h120-l90-rj","width":120,"height":120}]},{"category":"Videos","resultType":"video","title":"David Guetta's Live DJ Set From UNTOLD Festival 2023","videoId":"b6cZJvIJhQ0","videoType":"MUSIC_VIDEO_TYPE_UGC","duration":"1:31:09","year":null,"artists":[{"name":"DJ Mag","id":"UCJEKlziKdxoos1qbptjGgLg"}],"views":"764K","duration_seconds":5469,"thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/b6cZJvIJhQ0\/sddefault.jpg?sqp=-oaymwEWCJADEOEBIAQqCghqEJQEGHgg6AJIWg&rs=AMzJL3lJnNoxXDpLDTJ8fsUAr3Y9US1Q5Q","width":400,"height":225}]},{"category":"Videos","resultType":"video","title":"David Guetta & MORTEN | Future Rave Live @ Brooklyn Mirage 2023","videoId":"BXwfirNqQ_U","videoType":"MUSIC_VIDEO_TYPE_UGC","duration":"2:23:35","year":null,"artists":[{"name":"Future Rave","id":"UCPllzKNTjT2Moax8v1zuHdw"}],"views":"1M","duration_seconds":8615,"thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/BXwfirNqQ_U\/sddefault.jpg?sqp=-oaymwEWCJADEOEBIAQqCghqEJQEGHgg6AJIWg&rs=AMzJL3n8-FVF9oEHm8u4qCGVT064K1C8TQ","width":400,"height":225}]},{"category":"Videos","resultType":"video","title":"David Guetta | Miami Ultra Music Festival 2023","videoId":"Unwj6ILhOc8","videoType":"MUSIC_VIDEO_TYPE_OFFICIAL_SOURCE_MUSIC","duration":"56:54","year":null,"artists":[{"name":"David Guetta","id":"UC1l7wYrva1qCH-wgqcHaaRg"}],"views":"8.3M","duration_seconds":3414,"thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/Unwj6ILhOc8\/sddefault.jpg?sqp=-oaymwEWCJADEOEBIAQqCghqEJQEGHgg6AJIWg&rs=AMzJL3lJQtVDY0o8lcTQV0Ni1nYNcn_-Sw","width":400,"height":225}]},{"category":"Albums","resultType":"album","title":"Nothing but the Beat","type":"Album","duration":null,"year":"2011","artists":[{"name":"David Guetta","id":"UCh-4c1ZoBPNP1C8c-7iVvUQ"}],"browseId":"MPREb_R1tPulowqaC","isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/0wtVhIC-LrV9NDqP2N3EvxHGz77W0p53qtw31ghhjDjaj4PzlC0MRwGOkQ9JxmbHDUyRRdYIoaCN6EvHyQ=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/0wtVhIC-LrV9NDqP2N3EvxHGz77W0p53qtw31ghhjDjaj4PzlC0MRwGOkQ9JxmbHDUyRRdYIoaCN6EvHyQ=w120-h120-l90-rj","width":120,"height":120},{"url":"https:\/\/lh3.googleusercontent.com\/0wtVhIC-LrV9NDqP2N3EvxHGz77W0p53qtw31ghhjDjaj4PzlC0MRwGOkQ9JxmbHDUyRRdYIoaCN6EvHyQ=w226-h226-l90-rj","width":226,"height":226},{"url":"https:\/\/lh3.googleusercontent.com\/0wtVhIC-LrV9NDqP2N3EvxHGz77W0p53qtw31ghhjDjaj4PzlC0MRwGOkQ9JxmbHDUyRRdYIoaCN6EvHyQ=w544-h544-l90-rj","width":544,"height":544}]},{"category":"Albums","resultType":"album","title":"When We Were Young (The Logical Song)","type":"Single","duration":null,"year":"2023","artists":[{"name":"David Guetta","id":"UCh-4c1ZoBPNP1C8c-7iVvUQ"},{"name":"Kim Petras","id":"UCHG91TZ3WrWbZGD5sbkXsxg"}],"browseId":"MPREb_WytJofQ4zgz","isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/PovAKD2tsktuKBe3e34yKUyIMFK2kpJvImuMtWliArlojMHOAgxQj3xVE1-bMGSy9TP69-ub0D9zXmQ1=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/PovAKD2tsktuKBe3e34yKUyIMFK2kpJvImuMtWliArlojMHOAgxQj3xVE1-bMGSy9TP69-ub0D9zXmQ1=w120-h120-l90-rj","width":120,"height":120},{"url":"https:\/\/lh3.googleusercontent.com\/PovAKD2tsktuKBe3e34yKUyIMFK2kpJvImuMtWliArlojMHOAgxQj3xVE1-bMGSy9TP69-ub0D9zXmQ1=w226-h226-l90-rj","width":226,"height":226},{"url":"https:\/\/lh3.googleusercontent.com\/PovAKD2tsktuKBe3e34yKUyIMFK2kpJvImuMtWliArlojMHOAgxQj3xVE1-bMGSy9TP69-ub0D9zXmQ1=w544-h544-l90-rj","width":544,"height":544}]},{"category":"Albums","resultType":"album","title":"One More Love","type":"Album","duration":null,"year":"2010","artists":[{"name":"David Guetta","id":"UCh-4c1ZoBPNP1C8c-7iVvUQ"}],"browseId":"MPREb_kGmwAEuRb5X","isExplicit":true,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/ULmaL7rB1cpOs8H9Dcr6cg-w4WDo-M4zpWr156d1LmKn-9wRhCdBwxY5xhup_fj8tz9cKtM9FUruVcz9=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/ULmaL7rB1cpOs8H9Dcr6cg-w4WDo-M4zpWr156d1LmKn-9wRhCdBwxY5xhup_fj8tz9cKtM9FUruVcz9=w120-h120-l90-rj","width":120,"height":120},{"url":"https:\/\/lh3.googleusercontent.com\/ULmaL7rB1cpOs8H9Dcr6cg-w4WDo-M4zpWr156d1LmKn-9wRhCdBwxY5xhup_fj8tz9cKtM9FUruVcz9=w226-h226-l90-rj","width":226,"height":226},{"url":"https:\/\/lh3.googleusercontent.com\/ULmaL7rB1cpOs8H9Dcr6cg-w4WDo-M4zpWr156d1LmKn-9wRhCdBwxY5xhup_fj8tz9cKtM9FUruVcz9=w544-h544-l90-rj","width":544,"height":544}]},{"category":"Featured playlists","resultType":"playlist","title":"Presenting David Guetta","itemCount":"55","author":"YouTube Music","browseId":"VLRDCLAK5uy_nlwI2Hk1q5n28Wwi-Pz7Y9kHCPhkax-cc","thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/GdK-4IemvE-9kg0ln-rbuOirO2MCPyiwoB5van7sBrCVXsmtE61Ti6hdfSJgcOX304IJawIpohjjR0k=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleu...
                                                                                                                                                                                                                    
                                                                                                    

Get Music - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2905/youtube+music+recommendation+api/3028/get+music?query=David Guetta' --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 Music Recommendation 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 you must indicate the name of an artist/band or a song.

There are different plans suits everyone including a free plan for small amount of requests per day, 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.

The YouTube Music Recommendation API is an application programming interface designed to provide users with personalized music recommendations based on user preferences.

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

Category:


Tags:


Related APIs