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.
It will receive parameters and provide you with a JSON.
Personalized Playlists: Dynamically curate playlists based on user preferences, creating a personalized music listening experience.
Artist Exploration: Enable users to explore artists in-depth by providing detailed search results for their tracks, albums, and related content.
Content Recommendations: Implement algorithms to analyze user interactions and suggest additional tracks or artists, enhancing content discovery.
Real-time Updates: Stay current with the latest releases and trends by incorporating real-time search queries for immediate access to new music content.
Genre-specific Discovery: Tailor search queries to focus on specific genres, allowing users to discover and explore music within their preferred categories.
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.
To use this endpoint you must indicate the name of an artist/band or a song in the parameter.
Get Music - Endpoint Features
Object | Description |
---|---|
query |
[Required] |
[{"category":"Top result","resultType":"album","title":"Electronic Radio","artists":[],"browseId":null,"thumbnails":[{"url":"https:\/\/music.youtube.com\/image\/radioart?r=CjEKCS9tLzA4NDB2cQoKL20vMDF3MzM0aAoNL2cvMTFieGY0Y3JsZgoJL20vMDNtX2x3EMgBGMgB","width":200,"height":200},{"url":"https:\/\/music.youtube.com\/image\/radioart?r=CjEKCS9tLzA4NDB2cQoKL20vMDF3MzM0aAoNL2cvMTFieGY0Y3JsZgoJL20vMDNtX2x3ENgEGNgE","width":600,"height":600},{"url":"https:\/\/music.youtube.com\/image\/radioart?r=CjEKCS9tLzA4NDB2cQoKL20vMDF3MzM0aAoNL2cvMTFieGY0Y3JsZgoJL20vMDNtX2x3EKAGGKAG","width":800,"height":800},{"url":"https:\/\/music.youtube.com\/image\/radioart?r=CjEKCS9tLzA4NDB2cQoKL20vMDF3MzM0aAoNL2cvMTFieGY0Y3JsZgoJL20vMDNtX2x3EOgHGOgH","width":1000,"height":1000}]},{"category":"Featured playlists","resultType":"playlist","title":"Energizing EDM","itemCount":"105","author":"YouTube Music","browseId":"VLRDCLAK5uy_kIlC_He_q02_we1RKAq1_4JEYmueTqnGs","thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/P5317Ab_S1-9PSD4IJttsWQVIhjPCdWxDxHzzH4jnrfZSd47wqucdfVqPWc7nB0uMJXKHSW_2p9FNkA=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/P5317Ab_S1-9PSD4IJttsWQVIhjPCdWxDxHzzH4jnrfZSd47wqucdfVqPWc7nB0uMJXKHSW_2p9FNkA=w120-h120-l90-rj","width":120,"height":120},{"url":"https:\/\/lh3.googleusercontent.com\/P5317Ab_S1-9PSD4IJttsWQVIhjPCdWxDxHzzH4jnrfZSd47wqucdfVqPWc7nB0uMJXKHSW_2p9FNkA=w226-h226-l90-rj","width":226,"height":226},{"url":"https:\/\/lh3.googleusercontent.com\/P5317Ab_S1-9PSD4IJttsWQVIhjPCdWxDxHzzH4jnrfZSd47wqucdfVqPWc7nB0uMJXKHSW_2p9FNkA=w544-h544-l90-rj","width":544,"height":544}]},{"category":"Featured playlists","resultType":"playlist","title":"Feeling Epic EDM","itemCount":"113","author":"YouTube Music","browseId":"VLRDCLAK5uy_nBQm8_YpP--R6zU8p3dypKm1QKqzWY6qU","thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/YZ0500qzzQnIjd0SK6CauUx3G-JM3giQ0eQ2k8bQySRmdG2ZypnukopuP6Jihm2wICv3n4gADIoZFg=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/YZ0500qzzQnIjd0SK6CauUx3G-JM3giQ0eQ2k8bQySRmdG2ZypnukopuP6Jihm2wICv3n4gADIoZFg=w120-h120-l90-rj","width":120,"height":120},{"url":"https:\/\/lh3.googleusercontent.com\/YZ0500qzzQnIjd0SK6CauUx3G-JM3giQ0eQ2k8bQySRmdG2ZypnukopuP6Jihm2wICv3n4gADIoZFg=w226-h226-l90-rj","width":226,"height":226},{"url":"https:\/\/lh3.googleusercontent.com\/YZ0500qzzQnIjd0SK6CauUx3G-JM3giQ0eQ2k8bQySRmdG2ZypnukopuP6Jihm2wICv3n4gADIoZFg=w544-h544-l90-rj","width":544,"height":544}]},{"category":"Featured playlists","resultType":"playlist","title":"Epic EDM","itemCount":"153","author":"YouTube Music","browseId":"VLRDCLAK5uy_k1YZQSV3BiZVKj-vZbGJsJoNLc6LxLJV8","thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/Qp8mRDDF7_80FDT1ZULfjX1vYFaGeg3TPa7rfw6Pd39PHSeOqK7wpBKNKP5UQ1XOc5riyoextG-eO2ki=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/Qp8mRDDF7_80FDT1ZULfjX1vYFaGeg3TPa7rfw6Pd39PHSeOqK7wpBKNKP5UQ1XOc5riyoextG-eO2ki=w120-h120-l90-rj","width":120,"height":120},{"url":"https:\/\/lh3.googleusercontent.com\/Qp8mRDDF7_80FDT1ZULfjX1vYFaGeg3TPa7rfw6Pd39PHSeOqK7wpBKNKP5UQ1XOc5riyoextG-eO2ki=w226-h226-l90-rj","width":226,"height":226},{"url":"https:\/\/lh3.googleusercontent.com\/Qp8mRDDF7_80FDT1ZULfjX1vYFaGeg3TPa7rfw6Pd39PHSeOqK7wpBKNKP5UQ1XOc5riyoextG-eO2ki=w544-h544-l90-rj","width":544,"height":544}]},{"category":"Community playlists","resultType":"playlist","title":"Best EDM Songs of All Time - Most Popular EDM Music Playlist","itemCount":"17M","author":"Redlist - Music Charts","browseId":"VLPLw-VjHDlEOgs658kAHR_LAaILBXb-s6Q5","thumbnails":[{"url":"https:\/\/yt3.googleusercontent.com\/1hxl4EaiL3qtGIw9Cz81az5WvrfT_vphnZB8ybcAiQSGPyIzbAzISOK0e-UJxchl4atB1tL68T8=s192","width":192,"height":192},{"url":"https:\/\/yt3.googleusercontent.com\/1hxl4EaiL3qtGIw9Cz81az5WvrfT_vphnZB8ybcAiQSGPyIzbAzISOK0e-UJxchl4atB1tL68T8=s576","width":576,"height":576},{"url":"https:\/\/yt3.googleusercontent.com\/1hxl4EaiL3qtGIw9Cz81az5WvrfT_vphnZB8ybcAiQSGPyIzbAzISOK0e-UJxchl4atB1tL68T8=s1200","width":1200,"height":1200}]},{"category":"Community playlists","resultType":"playlist","title":"Top EDM 2024 Popular Songs - New EDM Playlist 2024","itemCount":"30M","author":"Redlist - Biggest Songs","browseId":"VLPL3oW2tjiIxvQ60uIjLdo7vrUe4ukSpbKl","thumbnails":[{"url":"https:\/\/yt3.googleusercontent.com\/1EbYfGlal27chnZ7lmiIplMK8M0aWLmcVXq-Ct5e5oRoRK1pf4dASC5mHs_INJSuSv4WpFbohLm0=s192","width":192,"height":192},{"url":"https:\/\/yt3.googleusercontent.com\/1EbYfGlal27chnZ7lmiIplMK8M0aWLmcVXq-Ct5e5oRoRK1pf4dASC5mHs_INJSuSv4WpFbohLm0=s576","width":576,"height":576},{"url":"https:\/\/yt3.googleusercontent.com\/1EbYfGlal27chnZ7lmiIplMK8M0aWLmcVXq-Ct5e5oRoRK1pf4dASC5mHs_INJSuSv4WpFbohLm0=s1200","width":1200,"height":1200}]},{"category":"Community playlists","resultType":"playlist","title":"Dance Charts 2024 \u266b Top Dance Songs 2024 (EDM & Dance Music Playlist)","itemCount":"67M","author":"Redlist - Essential Hits","browseId":"VLPL6Go6XFhidEAH6LrK-RKxR5xwhdZ0g4vm","thumbnails":[{"url":"https:\/\/yt3.googleusercontent.com\/d8dkAFvuh8Tea-TOfygtdaD_yBDg6GPuQUu81vMZYPhAlnqxFrxsiEP3cPYI8PxK0J9p0njnwI0=s192","width":192,"height":192},{"url":"https:\/\/yt3.googleusercontent.com\/d8dkAFvuh8Tea-TOfygtdaD_yBDg6GPuQUu81vMZYPhAlnqxFrxsiEP3cPYI8PxK0J9p0njnwI0=s576","width":576,"height":576},{"url":"https:\/\/yt3.googleusercontent.com\/d8dkAFvuh8Tea-TOfygtdaD_yBDg6GPuQUu81vMZYPhAlnqxFrxsiEP3cPYI8PxK0J9p0njnwI0=s1200","width":1200,"height":1200}]},{"category":"Songs","resultType":"song","title":"Hard Trance EDM Bass 2020 100 Vibes (2Hr Psychedelic Trance DJ Mix)","album":{"name":"Hard Trance EDM Bass 2020 100 Vibes DJ Mix","id":"MPREb_FkOEJKuVfeA"},"inLibrary":false,"feedbackTokens":{"add":null,"remove":null},"videoId":"RHPU87ZPtS8","videoType":"MUSIC_VIDEO_TYPE_ATV","duration":"1:58:31","year":null,"artists":[],"duration_seconds":7111,"isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/hwszeINO0ls7onmcEuHU9pgtRV77b2etPxueq9BVqOR648AGDEtbwigzfPPA2afZgas1wR233QyzAcQG=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/hwszeINO0ls7onmcEuHU9pgtRV77b2etPxueq9BVqOR648AGDEtbwigzfPPA2afZgas1wR233QyzAcQG=w120-h120-l90-rj","width":120,"height":120}]},{"category":"Songs","resultType":"song","title":"New Year Music 2023 (Best EDM Party Mix)","album":{"name":"New Year Music 2023","id":"MPREb_Rn1fCOQJyFL"},"inLibrary":false,"feedbackTokens":{"add":null,"remove":null},"videoId":"0hg3Y0YOaa8","videoType":"MUSIC_VIDEO_TYPE_ATV","duration":"1:02:21","year":null,"artists":[],"duration_seconds":3741,"isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/-H2BJ6GOvQyicCSr0yWNMxpvvaxF3rgcPshCrYIQrF1x6CNep1TewcTbKnXDFudKx_HUXZMgy6VDUrPq=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/-H2BJ6GOvQyicCSr0yWNMxpvvaxF3rgcPshCrYIQrF1x6CNep1TewcTbKnXDFudKx_HUXZMgy6VDUrPq=w120-h120-l90-rj","width":120,"height":120}]},{"category":"Songs","resultType":"song","title":"Minimal Techno & EDM Minimal Bounce Mad Cuphead (Party Mix)","album":{"name":"Mad Cuphead","id":"MPREb_DHGoJHt5RWS"},"inLibrary":false,"feedbackTokens":{"add":null,"remove":null},"videoId":"LjxS8E0EJhc","videoType":"MUSIC_VIDEO_TYPE_ATV","duration":"1:25:42","year":null,"artists":[],"duration_seconds":5142,"isExplicit":false,"thumbnails":[{"url":"https:\/\/lh3.googleusercontent.com\/aLKHQ38k3e5kmmDYDO6u0l6jhGEWUR2GRaL3LnaqMt6nUQYnIcKrG44A2tmC_V6UrzmdnzeWUY_BlfGk=w60-h60-l90-rj","width":60,"height":60},{"url":"https:\/\/lh3.googleusercontent.com\/aLKHQ38k3e5kmmDYDO6u0l6jhGEWUR2GRaL3LnaqMt6nUQYnIcKrG44A2tmC_V6UrzmdnzeWUY_BlfGk=w120-h120-l90-rj","width":120,"height":120}]},{"category":"Videos","resultType":"video","title":"Music Mix 2024 \ud83c\udfa7 EDM Remixes of Popular Songs \ud83c\udfa7 EDM Gaming Music #261","videoId":"RecsBk-bqKk","videoType":"MUSIC_VIDEO_TYPE_UGC","duration":"2:13:51","year":null,"artists":[{"name":"Magic Music","id":"UCp6_KuNhT0kcFk-jXw9Tivg"}],"views":"439K","duration_seconds":8031,"thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/RecsBk-bqKk\/sddefault.jpg?sqp=-oaymwEWCJADEOEBIAQqCghqEJQEGHgg6AJIWg&rs=AMzJL3nVF-2V1_rsjtMr7hnvKsocpBixPA","width":400,"height":225}]},{"category":"Videos","resultType":"video","title":"EDM Mashup Mix 2023 | Best Mashups & Remixes of Popular Songs - Party Music Mix 2024","videoId":"tJQFZpFbWH4","videoType":"MUSIC_VIDEO_TYPE_UGC","duration":"1:03:43","year":null,"artists":[{"name":"daveepa","id":"UCrhNjae2abWsOIqZVAYLZtw"}],"views":"251K","duration_seconds":3823,"thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/tJQFZpFbWH4\/sddefault.jpg?sqp=-oaymwEWCJADEOEBIAQqCghqEJQEGHgg6AJIWg&rs=AMzJL3n7Oy3-6uzJTNNba3jYxPJG8oINtg","width":400,"height":225}]},{"category":"Videos","resultType":"video","title":"Techno Remixes of Popular Songs 2024 - Techno Music Mix 2024 - Hard Techno Songs","videoId":"VoczV_VALy8","videoType":"MUSIC_VIDEO_TYPE_UGC","duration":"1:00:37","year":null,"artists":[{"name":"daveepa","id":"UCrhNjae2abWsOIqZVAYLZtw"}],"views":"74K","duration_seconds":3637,"thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/VoczV_VALy8\/sddefault.jpg?sqp=-oaymwEWCJADEOEBIAQqCghqEJQEGHgg6AJIWg&rs=AMzJL3nJixPLON_jPRisq_LZyCNMXrxaOw","width":400,"height":225}]},{"category":"Episodes","resultType":"video","title":"PARTY MIX 2024 \u26a1 Mashups & Remixes of Popular Songs 2023 \u26a1 Ti\u00ebsto, David Guetta, Hardwell, Afrojack","videoId":"XqbGEg1fhWU","videoType":"MUSIC_VIDEO_TYPE_PODCAST_EPISODE","duration":null,"year":null,"artists":[{"name":"Nov 17, 2023","id":null},{"name":"Atus Music","id":"UC9519gIhmQLqbw5wxlypAPg"}],"thumbnails":[{"url":"https:\/\/i.ytimg.com\/vi\/XqbGEg1fhWU\/sddefault.jpg?sqp=-oaymwEWCJADEOEBIAQqCghqEJQEGHgg6AJIWg&rs=AMzJL3lYVHwzy_KkdafCgmst272BZgJjJg","width":400,"height":225}]},{"category":"Episodes","resultType":"video","title":"Tomorrowland 2023 | Best Songs, Remixes & Mashups Of All Time","videoId":"Mq6X8pV0sdU","videoType":"MUSIC_VIDEO_TYPE_P...
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'
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 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.
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 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,991ms
Service Level:
100%
Response Time:
942ms
Service Level:
100%
Response Time:
2,241ms
Service Level:
80%
Response Time:
644ms
Service Level:
100%
Response Time:
954ms
Service Level:
100%
Response Time:
2,530ms
Service Level:
100%
Response Time:
3,679ms
Service Level:
100%
Response Time:
1,499ms
Service Level:
100%
Response Time:
2,315ms
Service Level:
100%
Response Time:
1,209ms
Service Level:
100%
Response Time:
117ms
Service Level:
100%
Response Time:
409ms
Service Level:
100%
Response Time:
160ms
Service Level:
100%
Response Time:
1,886ms
Service Level:
100%
Response Time:
1,799ms
Service Level:
100%
Response Time:
529ms
Service Level:
100%
Response Time:
2,002ms