{"streaming_data":{"expires":"2024-07-27T16:14:43.798Z","formats":[{"itag":18,"mime_type":"video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"","is_type_otf":false,"bitrate":92441,"width":360,"height":360,"projection_type":"RECTANGULAR","last_modified":"2022-09-24T22:03:37.716Z","content_length":null,"quality":"medium","quality_label":"360p","fps":25,"signature_cipher":"s=pJfbJfQdSswRAIgbNLEW1CHvbAZMBCYF2QcgjVUY6BFLVi5jcI4-TrQuyMCIBOHwLFVjAJpox4u3fHcMAckG-QjkwP0Raz8XhN9Q3q5&sp=sig&url=https://rr4---sn-p5qlsn76.googlevideo.com/videoplayback%3Fexpire%3D1722096943%26ei%3Dz8ikZtz9I9eCkucPw4CjuA4%26ip%3D34.48.119.30%26id%3Do-AIw-pisTr7yiiVxWwfs3t6RN2gq6WDTX_tM103SX-V3T%26itag%3D18%26source%3Dyoutube%26requiressl%3Dyes%26xpc%3DEgVo2aDSNQ%253D%253D%26mh%3DeP%26mm%3D31%252C29%26mn%3Dsn-p5qlsn76%252Csn-p5qs7n6d%26ms%3Dau%252Crdu%26mv%3Dm%26mvi%3D4%26pl%3D18%26gcr%3Dus%26bui%3DAXc671LGVx59_2FfbrHNRoPjF_g8AHUGrhHQ9BkldjOUPZXQstGaJVyItDg1RoOKe0nuGcZSb_4NqRAh%26spc%3DNO7bAXkpW7cOqQf2T6Y7VzW3AlpnzCcU379FuipyIJI-D4kaHxnh%26vprv%3D1%26svpuc%3D1%26xtags%3Dheaudio%253Dtrue%26mime%3Dvideo%252Fmp4%26ns%3Dn4zTQj4Pih63GCzEI52Gmd8Q%26rqh%3D1%26cnr%3D14%26ratebypass%3Dyes%26dur%3D192.874%26lmt%3D1664057017716595%26mt%3D1722074955%26fvip%3D2%26c%3DWEB_REMIX%26sefc%3D1%26txp%3D5538434%26n%3D51xhZVssFqKQtTZah%26sparams%3Dexpire%252Cei%252Cip%252Cid%252Citag%252Csource%252Crequiressl%252Cxpc%252Cgcr%252Cbui%252Cspc%252Cvprv%252Csvpuc%252Cxtags%252Cmime%252Cns%252Crqh%252Ccnr%252Cratebypass%252Cdur%252Clmt%26lsparams%3Dmh%252Cmm%252Cmn%252Cms%252Cmv%252Cmvi%252Cpl%26lsig%3DAGtxev0wRQIgTTj3cTktxF9sJ2lvwH5g2RWZ-NXew_w6mebOZPy9BUYCIQDq-bSpKuQ5u5ErB4MwqFYdASAUF5UhZAxAA6qC5c4R4Q%253D%253D","audio_quality":"AUDIO_QUALITY_LOW","approx_duration_ms":192874,"audio_sample_rate":22050,"audio_channels":2,"has_audio":true,"has_video":true,"has_text":false,"language":null,"is_dubbed":false,"is_descriptive":false,"is_original":true,"is_drc":false}],"adaptive_formats":[{"itag":137,"mime_type":"video/mp4; codecs=\"avc1.640020\"","is_type_otf":false,"bitrate":352552,"average_bitrate":237840,"width":1080,"height":1080,"projection_type":"RECTANGULAR","init_range":{"start":0,"end":738},"index_range":{"start":739,"end":1226},"last_modified":"2020-01-11T19:39:00.046Z","content_length":5731955,"quality":"hd1080","quality_label":"1080p","fps":25,"signature_cipher":"s=5JfqJfQdSswRQIhqK5-qdigVgA0NCcrVmp1yzAADnjfaqSwaVTGa2DljRVzAiAR3ZwqFS2_y2ezoj5gCp5S0bUrCT8RCOWuSO4i61Q-JQ%3D%3D&sp=sig&url=https://rr4---sn-p5qlsn76.googlevideo.com/videoplayback%3Fexpire%3D1722096943%26ei%3Dz8ikZtz9I9eCkucPw4CjuA4%26ip%3D34.48.119.30%26id%3Do-AIw-pisTr7yiiVxWwfs3t6RN2gq6WDTX_tM103SX-V3T%26itag%3D137%26source%3Dyoutube%26requiressl%3Dyes%26xpc%3DEgVo2aDSNQ%253D%253D%26mh%3DeP%26mm%3D31%252C29%26mn%3Dsn-p5qlsn76%252Csn-p5qs7n6d%26ms%3Dau%252Crdu%26mv%3Dm%26mvi%3D4%26pl%3D18%26gcr%3Dus%26bui%3DAXc671If4ZRPZ8-4GC0f1YMei4Ig4IVcL6waUKuXXz3VGV0T-hppsPa5J5N7-7Khs3VoZ8d4SpmFmJK9%26spc%3DNO7bAXkqW7cOqQf2T6Y7VzW3AlpnzCcU379FuipyIJI-D4kaHw%26vprv%3D1%26svpuc%3D1%26mime%3Dvideo%252Fmp4%26ns%3DVmbuSf8xbAHQ6nMTxdPIXpgQ%26rqh%3D1%26gir%3Dyes%26clen%3D5731955%26dur%3D192.800%26lmt%3D1578771540046031%26mt%3D1722074955%26fvip%3D2%26keepalive%3Dyes%26c%3DWEB_REMIX%26sefc%3D1%26txp%3D5532432%26n%3DBLLYIzKBOHOtXbej7%26sparams%3Dexpire%252Cei%252Cip%252Cid%252Citag%252Csource%252Crequiressl%252Cxpc%252Cgcr%252Cbui%252Cspc%252Cvprv%252Csvpuc%252Cmime%252Cns%252Crqh%252Cgir%252Cclen%252Cdur%252Clmt%26lsparams%3Dmh%252Cmm%252Cmn%252Cms%252Cmv%252Cmvi%252Cpl%26lsig%3DAGtxev0wRQIgTTj3cTktxF9sJ2lvwH5g2RWZ-NXew_w6mebOZPy9BUYCIQDq-bSpKuQ5u5ErB4MwqFYdASAUF5UhZAxAA6qC5c4R4Q%253D%253D","approx_duration_ms":192800,"audio_sample_rate":null,"has_audio":false,"has_video":true,"has_text":false},{"itag":248,"mime_type":"video/webm; codecs=\"vp9\"","is_type_otf":false,"bitrate":801647,"average_bitrate":586855,"width":1080,"height":1080,"projection_type":"RECTANGULAR","init_range":{"start":0,"end":200},"index_range":{"start":201,"end":837},"last_modified":"2020-01-11T19:34:39.296Z","content_length":14143222,"quality":"hd1080","quality_label":"1080p","fps":25,"signature_cipher":"s=xJfxJfQdSswRQIhxP9V8g50CtAO1DgbjObzT2AhUZtOsc3x4A4RlbIxvBjJAiAqhPLVKATrH8KdLEOyolRukaztRfW5518wqgDtNmxHtg%3D%3D&sp=sig&url=https://rr4---sn-p5qlsn76.googlevideo.com/videoplayback%3Fexpire%3D1722096943%26ei%3Dz8ikZtz9I9eCkucPw4CjuA4%26ip%3D34.48.119.30%26id%3Do-AIw-pisTr7yiiVxWwfs3t6RN2gq6WDTX_tM103SX-V3T%26itag%3D248%26source%3Dyoutube%26requiressl%3Dyes%26xpc%3DEgVo2aDSNQ%253D%253D%26mh%3DeP%26mm%3D31%252C29%26mn%3Dsn-p5qlsn76%252Csn-p5qs7n6d%26ms%3Dau%252Crdu%26mv%3Dm%26mvi%3D4%26pl%3D18%26gcr%3Dus%26bui%3DAXc671If4ZRPZ8-4GC0f1YMei4Ig4IVcL6waUKuXXz3VGV0T-hppsPa5J5N7-7Khs3VoZ8d4SpmFmJK9%26spc%3DNO7bAXkqW7cOqQf2T6Y7VzW3AlpnzCcU379FuipyIJI-D4kaHw%26vprv%3D1%26svpuc%3D1%26mime%3Dvideo%252Fwebm%26ns%3DVmbuSf8xbAHQ6nMTxdPIXpgQ%26rqh%3D1%26gir%3Dyes%26clen%3D14143222%26dur%3D192.800%26lmt%3D1578771279296889%26mt%3D1722074955%26fvip%3D2%26keepalive%3Dyes%26c%3DWEB_REMIX%26sefc%3D1%26txp%3D5531432%26n%3DBLLYIzKBOHOtXbej7%26sparams%3Dexpire%252Cei%252Cip%252Cid%252Citag%252Csource%252Crequiressl%252Cxpc%252Cgcr%252Cbui%252Cspc%252Cvprv%252Csvpuc%252Cmime%252Cns%252Crqh%252Cgir%252Cclen%252Cdur%252Clmt%26lsparams%3Dmh%252Cmm%252Cmn%252Cms%252Cmv%252Cmvi%252Cpl%26lsig%3DAGtxev0wRQIgTTj3cTktxF9sJ2lvwH5g2RWZ-NXew_w6mebOZPy9BUYCIQDq-bSpKuQ5u5ErB4MwqFYdASAUF5UhZAxAA6qC5c4R4Q%253D%253D","approx_duration_ms":192800,"audio_sample_rate":null,"has_audio":false,"has_video":true,"has_text":false},{"itag":136,"mime_type":"video/mp4; codecs=\"avc1.4d401f\"","is_type_otf":false,"bitrate":210852,"average_bitrate":142030,"width":720,"height":720,"projection_type":"RECTANGULAR","init_range":{"start":0,"end":735},"index_range":{"start":736,"end":1223},"last_modified":"2020-01-11T19:34:32.787Z","content_length":3422945,"quality":"hd720","quality_label":"720p","fps":25,"signature_cipher":"s=XJfbJfQdSswRAIgbpcpIGqxGDA8egB3rqxL2Ueswo8H9ffWn0oWLBpgPOECIFEuSyj6-3M3pUDdNfOGdQMONREkt9Q8cshNNgivzgxT&sp=sig&url=https://rr4---sn-p5qlsn76.googlevideo.com/videoplayback%3Fexpire%3D1722096943%26ei%3Dz8ikZtz9I9eCkucPw4CjuA4%26ip%3D34.48.119.30%26id%3Do-AIw-pisTr7yiiVxWwfs3t6RN2gq6WDTX_tM103SX-V3T%26itag%3D136%26source%3Dyoutube%26requiressl%3Dyes%26xpc%3DEgVo2aDSNQ%253D%253D%26mh%3DeP%26mm%3D31%252C29%26mn%3Dsn-p5qlsn76%252Csn-p5qs7n6d%26ms%3Dau%252Crdu%26mv%3Dm%26mvi%3D4%26pl%3D18%26gcr%3Dus%26bui%3DAXc671If4ZRPZ8-4GC0f1YMei4Ig4IVcL6waUKuXXz3VGV0T-hppsPa5J5N7-7Khs3VoZ8d4SpmFmJK9%26spc%3DNO7bAXkqW7cOqQf2T6Y7VzW3AlpnzCcU379FuipyIJI-D4kaHw%26vprv%3D1%26svpuc%3D1%26mime%3Dvideo%252Fmp4%26ns%3DVmbuSf8xbAHQ6nMTxdPIXpgQ%26rqh%3D1%26gir%3Dyes%26clen%3D3422945%26dur%3D192.800%26lmt%3D1578771272787635%26mt%3D1722074955%26fvip%3D2%26keepalive%3Dyes%26c%3DWEB_REMIX%26sefc%3D1%26txp%3D5532432%26n%3DBLLYIzKBOHOtXbej7%26sparams%3Dexpire%252Cei%252Cip%252Cid%252Citag%252Csource%252Crequiressl%252Cxpc%252Cgcr%252Cbui%252Cspc%252Cvprv%252Csvpuc%252Cmime%252Cns%252Crqh%252Cgir%252Cclen%252Cdur%252Clmt%26lsparams%3Dmh%252Cmm%252Cmn%252Cms%252Cmv%252Cmvi%252Cpl%26lsig%3DAGtxev0wRQIgTTj3cTktxF9sJ2lvwH5g2RWZ-NXew_w6mebOZPy9BUYCIQDq-bSpKuQ5u5ErB4MwqFYdASAUF5UhZAxAA6qC5c4R4Q%253D%253D","approx_duration_ms":192800,"audio_sample_rate":null,"has_audio":false,"has_video":true,"has_text":false},{"itag":247,"mime_type":"video/webm; codecs=\"vp9\"","is_type_otf":false,"bitrate":466095,"average_bitrate":337937,"width":720,"height":720,"projection_type":"RECTANGULAR","init_range":{"start":0,"end":200},"index_range":{"start":201,"end":837},"last_modified":"2020-01-11T19:39:52.509Z","content_length":8144284,"quality":"hd720","quality_label":"720p","fps":25,"signature_cipher":"s=fJfpJfQdSswRQIhpJWYHplpqcA_xmpF45GL1wAgGxBci_UmYaA-kJPX1fSPAiB93yoJWp5lENja_qcB4LGY9-Vpc5KD8m9a6hF8rFj5SQ%3D%3D&sp=sig&url=https://rr4---sn-p5qlsn76.googlevideo.com/videoplayback%3Fexpire%3D1722096943%26ei%3Dz8ikZtz9I9eCkucPw4CjuA4%26ip%3D34.48.119.30%26id%3Do-AIw-pisTr7yiiVxWwfs3t6RN2gq6WDTX_tM103SX-V3T%26itag%3D247%26source%3Dyoutube%26requiressl%3Dyes%26xpc%3DEgVo2aDSNQ%253D%253D%26mh%3DeP%26mm%3D31%252C29%26mn%3Dsn-p5qlsn76%252Csn-p5qs7n6d%26ms%3Dau%252Crdu%26mv%3Dm%26mvi%3D4%26pl%3D18%26gcr%3Dus%26bui%3DAXc671If4ZRPZ8-4GC0f1YMei4Ig4IVcL6waUKuXXz3VGV0T-hppsPa5J5N7-7Khs3VoZ8d4SpmFmJK9%26spc%3DNO7bAXkqW7cOqQf2T6Y7VzW3AlpnzCcU379FuipyIJI-D4kaHw%26vprv%3D1%26svpuc%3D1%26mime%3Dvideo%252Fwebm%26ns%3DVmbuSf8xbAHQ6nMTxdPIXpgQ%26rqh%3D1%26gir%3Dyes%26clen%3D8144284%26dur%3D192.800%26lmt%3D1578771592509196%26mt%3D1722074955%26fvip%3D2%26keepalive%3Dyes%26c%3DWEB_REMIX%26sefc%3D1%26txp%3D5531432%26n%3DBLLYIzKBOHOtXbej7%26sparams%3Dexpire%252Cei%252Cip%252Cid%252Citag%252Csource%252Crequiressl%252Cxpc%252Cgcr%252Cbui%252Cspc%252Cvprv%252Csvpuc%252Cmime%252Cns%252Crqh%252Cgir%252Cclen%252Cdur%252Clmt%26lsparams%3Dmh%252Cmm%252Cmn%252Cms%252Cmv%252Cmvi%252Cpl%26lsig%3DAGtxev0wRQIgTTj3cTktxF9sJ2lvwH5g2RWZ-NXew_w6mebOZPy9BUYCIQDq-bSpKuQ5u5ErB4MwqFYdASAUF5UhZAxAA6qC5c4R4Q%253D%253D","approx_duration_ms":192800,"audio_sample_rate":null,"has_audio":false,"has_video":true,"has_text":false},{"itag":135,"mime_type":"video/mp4; codecs=\"avc1.4d401e\"","is_type_otf":false,"bitrate":112380,"average_bitrate":76643,"width":480,"height":480,"projection_type":"RECTANGULAR","init_range":{"start":0,"end":735},"index_range":{"start":736,"end":1223},"last_modified":"2020-01-11T19:34:32.789Z","content_length":1847120,"quality":"large","quality_label":"480p","fps":25}]},"_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://zylalabs.com/api/3214/youtube+music+information+api/3437/youtube+music?id=0yEuqc6LtoE' --header 'Authorization: Bearer YOUR_API_KEY'
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 Information API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime.
(Save 2 months with annual billing 🎉)
The YouTube Music Information API is a robust tool designed to provide comprehensive data about music search results on YouTube. This API provides users with detailed information about music content associated with specific search queries. By submitting queries, users can retrieve essential information for each music result, including titles, artists, thumbnail URLs, duration details and more. The structured data provides insight into YouTube's music landscape.
The core of the API is its ability to process music-related search queries. Developers can leverage this functionality to access a wealth of information, enabling them to create applications that deliver enhanced user experiences in the realm of music discovery and exploration. Extracting title and artist information for each music track facilitates the display of accurate and up-to-date data, catering to user preferences and ensuring a seamless interface.
Visual appeal is a focal point of the API, as it facilitates the retrieval of thumbnail images associated with each music result. These thumbnail URLs can be seamlessly integrated into applications, improving the visual aesthetics and overall engagement of music-related platforms. In addition, knowing the duration of each music track is essential for optimizing playback controls, effectively managing playlists, and providing users with accurate timing information.
In summary, the YouTube Music Information API is a powerful tool for users who want to enrich their applications with detailed information about music search results on YouTube. Its capabilities span a wide range of data, providing a nuanced understanding of the music content associated with specific queries. From title and artist information to thumbnail retrieval, duration details and more, this API equips users with the tools needed to create engaging, user-centric music-related applications.
It will receive parameters and provide you with a JSON.
Music Streaming Apps: Integrate the API to display real-time information about tracks, enhancing the user experience for music streaming platforms.
Playlist Generators: Use the API to curate dynamic playlists by fetching details like title, artist, and duration for personalized music recommendations.
Content Curation Platforms: Enhance content curation by leveraging thumbnail and artist information to create visually appealing and organized music collections.
Analytics and Reporting: Track views counts and other metrics for in-depth analytics, helping businesses and creators understand the performance of their music content.
User Engagement: Implement real-time updates on popular tracks and rising artists to boost user engagement and retention on music-related applications.
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 API users must indicate a keyword to get results on it.
The YouTube Music Information API is a powerful programming interface that allows users to retrieve detailed information about music content available on YouTube.
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 API returns detailed information about music search results, including titles, artists, thumbnail URLs, and duration details for each track. The data is structured in JSON format, making it easy to integrate into applications.
Key fields in the response include "title" (track name), "artist" (performer), "thumbnail_url" (image link), and "duration" (length of the track). These fields provide essential insights for music-related applications.
The response data is organized in a JSON structure, with each music result encapsulated in an object containing relevant fields like title, artist, and thumbnail. This structure allows for straightforward parsing and display in applications.
The API provides information such as track titles, artist names, thumbnail images, and track durations. This data helps developers create engaging music discovery experiences within their applications.
The primary parameter for the endpoint is the video ID, which is required to retrieve specific music data. Users can also include additional filters in their queries to refine search results based on their needs.
Users can display track information, create playlists, and enhance user engagement by integrating the returned data into their applications. For example, using thumbnail URLs can improve visual appeal in music streaming platforms.
The data is sourced directly from YouTube's music content, ensuring that the information is accurate and up-to-date. The API leverages YouTube's extensive music library to provide comprehensive insights.
If the API returns partial or empty results, developers should implement error handling to manage these scenarios gracefully. This can include displaying a user-friendly message or suggesting alternative search queries.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund