Introducing the Song Identifier API, the ultimate solution for seamless song identification and music recognition. With its powerful capabilities, this API allows you to effortlessly identify any song with just a few seconds of audio input. Whether you're building a music app, integrating music recognition into your platform, or enhancing user experiences, the Song Identifier API provides a robust and reliable solution.
Using the API is simple yet effective. Submit audio chunks, ideally no more than 3 MB and preferably around 500 KB, until you find a match. This iterative approach ensures accurate and efficient song recognition, allowing you to retrieve the details and metadata of the recognized track.
The Song Identifier API leverages advanced algorithms and an extensive music database to accurately identify songs across various genres, languages, and styles. From popular hits to obscure tracks, the API's comprehensive coverage ensures a high success rate in recognizing even the most challenging songs.
Whether you're developing a music streaming platform, a social app, or a smart device with music recognition capabilities, the Song Identifier API adds an invaluable feature to your application. Enhance user engagement by enabling them to identify and discover new music effortlessly. You can even integrate the API into voice-enabled devices or create exciting interactive experiences centered around music recognition.
Furthermore, the Song Identifier API offers flexibility in how you implement song identification. You can choose to send audio chunks in real-time or batch processing, depending on your application's requirements and user experience goals. This versatility allows you to tailor the integration to suit your specific use case.
The API's documentation provides comprehensive guidance, including detailed instructions, code samples, and best practices, ensuring a smooth integration process. Additionally, the Song Identifier API is backed by dedicated technical support, providing assistance and prompt resolution of any queries or issues that may arise during development and implementation.
Unleash the power of music recognition and enhance your application with the Song Identifier API. Enable users to effortlessly identify and discover songs, elevate user experiences, and add a touch of magic to your music-related projects. Embrace the future of music identification and integration with the Song Identifier API today.
Enough 3-5 seconds of audio, no more than 3 mb. Optimally 500 kb. It is best practice to send in chunks until you find a match. Get details of recognizing track by file.
Recognize Song - Endpoint Features
| Object | Description |
|---|---|
Request Body |
[Required] File Binary |
{"location":{"accuracy":0.01},"matches":[{"frequencyskew":0.0003222227,"id":"299052394","offset":48.000933593,"timeskew":0.0003027916}],"tagid":"75274D5F-ECCE-4104-B963-86CDC8059A13","timestamp":2453123822,"timezone":"Europe/Moscow","track":{"albumadamid":"495924692","alias":"freak-the-freak-out","artists":[{"adamid":"367602854","alias":"victorious-cast","id":"42"},{"adamid":"422753971","alias":"victoria-justice","id":"42"}],"genres":{"primary":"Soundtrack"},"highlightsurls":{},"hub":{"actions":[{"id":"495924694","name":"apple","type":"applemusicplay"},{"name":"apple","type":"uri","uri":"https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview115/v4/44/9b/fb/449bfb1f-8f65-fc6a-61e7-61e9b3e7cfba/mzaf_75952485968949724.plus.aac.ep.m4a"}],"displayname":"APPLE MUSIC","explicit":false,"image":"https://images.shazam.com/static/icons/hub/web/v5/applemusic.png","options":[{"actions":[{"name":"hub:applemusic:deeplink","type":"applemusicopen","uri":"https://music.apple.com/gb/album/freak-the-freak-out/495924692?i=495924694&mttnagencyid=s2n&mttnsiteid=125115&mttn3pid=Apple-Shazam&mttnsub1=Shazam_web&mttnsub2=5348615A-616D-3235-3830-44754D6D5973&itscg=30201&app=music&itsct=Shazam_web"},{"name":"hub:applemusic:deeplink","type":"uri","uri":"https://music.apple.com/gb/album/freak-the-freak-out/495924692?i=495924694&mttnagencyid=s2n&mttnsiteid=125115&mttn3pid=Apple-Shazam&mttnsub1=Shazam_web&mttnsub2=5348615A-616D-3235-3830-44754D6D5973&itscg=30201&app=music&itsct=Shazam_web"}],"beacondata":{"providername":"applemusic","type":"open"},"caption":"OPEN IN","colouroverflowimage":false,"image":"https://images.shazam.com/static/icons/hub/web/v5/overflow-open-option.png","listcaption":"Open in Apple Music","overflowimage":"https://images.shazam.com/static/icons/hub/web/v5/applemusic-overflow.png","providername":"applemusic","type":"open"}],"type":"APPLEMUSIC"},"images":{"background":"https://is1-ssl.mzstatic.com/image/thumb/Features115/v4/09/9d/29/099d2956-660c-f175-2ae7-172272fdf971/mzl.whswoyuz.jpg/800x800cc.jpg","coverart":"https://is1-ssl.mzstatic.com/image/thumb/Music/2b/3c/ca/mzi.xkxafcng.jpg/400x400cc.jpg","coverarthq":"https://is1-ssl.mzstatic.com/image/thumb/Music/2b/3c/ca/mzi.xkxafcng.jpg/400x400cc.jpg","joecolor":"b:151235p:e0abacs:e39577t:b78c94q:ba7b6a"},"isrc":"USSM11004546","key":"52910892","layout":"5","relatedtracksurl":"https://cdn.shazam.com/shazam/v3/en-US/GB/web/-/tracks/track-similarities-id-52910892?startFrom=0&pageSize=20&connected=","releasedate":"19-11-2010","sections":[{"metadata":[{"text":"Victorious (Music from the Hit TV Show)","title":"Album"},{"text":"Nickelodeon/Columbia","title":"Label"},{"text":"2010","title":"Released"}],"metapages":[{"caption":"Victorious Cast","image":"https://is1-ssl.mzstatic.com/image/thumb/Features115/v4/09/9d/29/099d2956-660c-f175-2ae7-172272fdf971/mzl.whswoyuz.jpg/800x800cc.jpg"},{"caption":"Freak the Freak Out","image":"https://is1-ssl.mzstatic.com/image/thumb/Music/2b/3c/ca/mzi.xkxafcng.jpg/400x400cc.jpg"}],"tabname":"Song","type":"SONG"},{"tabname":"Related","type":"RELATED","url":"https://cdn.shazam.com/shazam/v3/en-US/GB/web/-/tracks/track-similarities-id-52910892?startFrom=0&pageSize=20&connected="}],"share":{"avatar":"https://is1-ssl.mzstatic.com/image/thumb/Features115/v4/09/9d/29/099d2956-660c-f175-2ae7-172272fdf971/mzl.whswoyuz.jpg/800x800cc.jpg","href":"https://www.shazam.com/track/52910892/freak-the-freak-out","html":"https://www.shazam.com/snippets/email-share/52910892?lang=en-US&country=GB","image":"https://is1-ssl.mzstatic.com/image/thumb/Music/2b/3c/ca/mzi.xkxafcng.jpg/400x400cc.jpg","snapchat":"https://www.shazam.com/partner/sc/track/52910892","subject":"Freak the Freak Out - Victorious Cast & Victoria Justice","text":"Freak the Freak Out by Victorious Cast & Victoria Justice","twitter":"I used @Shazam to discover Freak the Freak Out by Victorious Cast & Victoria Justice."},"subtitle":"Victorious Cast & Victoria Justice","title":"Freak the Freak Out","trackadamid":"495924694","type":"MUSIC","url":"https://www.shazam.com/track/52910892/freak-the-freak-out","urlparams":{"{trackartist}":"Victorious+Cast+%26+Victoria+Justice","{tracktitle}":"Freak+the+Freak+Out"}}}
curl --location 'https://zylalabs.com/api/7488/song+identifier+api/12030/recognize+song' \
--header 'Content-Type: application/json' \
--form 'image=@"FILE_PATH"'
Sufficient 3-5 seconds of audio, no more than 3 mb. Optimal is 500 kb. Best is to send chunks until a match is found. Get recognition details on a track-by-file basis using a URL
Formats: (mp3, wav, ogg, mp4, wav o avi)
Note: You can use https://www.aconvert.com/es/audio/ to convert files to URLs.
Recognize Song By URL - Endpoint Features
| Object | Description |
|---|---|
url |
[Required] |
{"location":{"accuracy":0.01},"matches":[{"frequencyskew":-0.002895534,"id":"283541677","offset":103.457421875,"timeskew":-0.02038312},{"frequencyskew":-0.008341968,"id":"430211173","offset":102.00759375,"timeskew":-0.03386116},{"frequencyskew":-0.009698927,"id":"207974733","offset":30.71655664,"timeskew":-0.0067534447},{"frequencyskew":-0.0049013495,"id":"327506332","offset":105.67110156199999,"timeskew":0.007916093},{"frequencyskew":-0.013304591,"id":"510145430","offset":113.187609375,"timeskew":-0.013328373},{"frequencyskew":-0.003987193,"id":"275553909","offset":102.8029375,"timeskew":-0.034041822},{"frequencyskew":-0.0073029995,"id":"239066768","offset":43.704875,"timeskew":-0.036669075},{"frequencyskew":-0.002069056,"id":"295317975","offset":97.04869531199999,"timeskew":0.024247527},{"frequencyskew":-0.0060228705,"id":"528475510","offset":99.186671875,"timeskew":-0.032376885},{"frequencyskew":-0.0066791177,"id":"601371774","offset":29.273625,"timeskew":0.07736254},{"frequencyskew":-0.0058894157,"id":"702112961","offset":106.32449218699999,"timeskew":0.0056016445},{"frequencyskew":0.00028192997,"id":"448075328","offset":105.005015625,"timeskew":-0.0024587512},{"frequencyskew":-0.004286647,"id":"329590746","offset":108.14959375,"timeskew":-0.019595802},{"frequencyskew":-0.013440847,"id":"224515587","offset":128.629882812,"timeskew":-0.0064364076},{"frequencyskew":-0.0047570467,"id":"208106326","offset":102.875460937,"timeskew":-0.021855235},{"frequencyskew":-0.006926,"id":"575881741","offset":104.30252343699999,"timeskew":-0.027724564},{"frequencyskew":-0.0069031715,"id":"295191966","offset":52.255535156,"timeskew":-0.015574336},{"frequencyskew":0.0003682375,"id":"455919411","offset":45.977390625,"timeskew":0.021234035},{"frequencyskew":-0.006743133,"id":"313106994","offset":109.583265625,"timeskew":-0.08104432}],"tagid":"6729B86C-7085-4266-B9F4-C991E6DFEB73","timestamp":842882073,"timezone":"Europe/Moscow","track":{"albumadamid":"1648125799","alias":"piano-sonata-no-11-in-a-major-k-331-iii-alla-turca","artists":[{"adamid":"1500915192","alias":"classical-coterie","id":"42"}],"genres":{"primary":"Instrumental"},"highlightsurls":{},"hub":{"actions":[{"id":"1648125806","name":"apple","type":"applemusicplay"},{"name":"apple","type":"uri","uri":"https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview122/v4/16/5c/8d/165c8d39-3181-666c-3008-0e47aa65ddd2/mzaf_14672895460381020655.plus.aac.ep.m4a"}],"displayname":"APPLE MUSIC","explicit":false,"image":"https://images.shazam.com/static/icons/hub/web/v5/applemusic.png","options":[{"actions":[{"name":"hub:applemusic:deeplink","type":"applemusicopen","uri":"https://music.apple.com/gb/album/piano-sonata-no-11-in-a-major-k-331-iii-alla-turca/1648125799?i=1648125806&mttnagencyid=s2n&mttnsiteid=125115&mttn3pid=Apple-Shazam&mttnsub1=Shazam_web&mttnsub2=5348615A-616D-3235-3830-44754D6D5973&itscg=30201&app=music&itsct=Shazam_web"},{"name":"hub:applemusic:deeplink","type":"uri","uri":"https://music.apple.com/gb/album/piano-sonata-no-11-in-a-major-k-331-iii-alla-turca/1648125799?i=1648125806&mttnagencyid=s2n&mttnsiteid=125115&mttn3pid=Apple-Shazam&mttnsub1=Shazam_web&mttnsub2=5348615A-616D-3235-3830-44754D6D5973&itscg=30201&app=music&itsct=Shazam_web"}],"beacondata":{"providername":"applemusic","type":"open"},"caption":"OPEN IN","colouroverflowimage":false,"image":"https://images.shazam.com/static/icons/hub/web/v5/overflow-open-option.png","listcaption":"Open in Apple Music","overflowimage":"https://images.shazam.com/static/icons/hub/web/v5/applemusic-overflow.png","providername":"applemusic","type":"open"}],"type":"APPLEMUSIC"},"images":{"background":"https://is1-ssl.mzstatic.com/image/thumb/Music122/v4/1d/96/fa/1d96fa15-d4bc-f759-940e-3fc19f035abe/5063113651205_cover.jpg/400x400cc.jpg","coverart":"https://is1-ssl.mzstatic.com/image/thumb/Music122/v4/1d/96/fa/1d96fa15-d4bc-f759-940e-3fc19f035abe/5063113651205_cover.jpg/400x400cc.jpg","coverarthq":"https://is1-ssl.mzstatic.com/image/thumb/Music122/v4/1d/96/fa/1d96fa15-d4bc-f759-940e-3fc19f035abe/5063113651205_cover.jpg/400x400cc.jpg","joecolor":"b:f0f1f3p:000000s:00165bt:303030q:30427a"},"isrc":"GX89G2273669","key":"47723750","layout":"5","relatedtracksurl":"https://cdn.shazam.com/shazam/v3/en-US/GB/web/-/tracks/track-similarities-id-47723750?startFrom=0&pageSize=20&connected=","releasedate":"10-12-2009","sections":[{"metadata":[{"text":"Collected Mozart Piano Sonatas","title":"Album"},{"text":"Classical Coterie","title":"Label"},{"text":"2009","title":"Released"}],"metapages":[{"caption":"Piano Sonata No. 11 in a Major, K. 331 - III. Alla Turca","image":"https://is1-ssl.mzstatic.com/image/thumb/Music122/v4/1d/96/fa/1d96fa15-d4bc-f759-940e-3fc19f035abe/5063113651205_cover.jpg/400x400cc.jpg"}],"tabname":"Song","type":"SONG"},{"tabname":"Related","type":"RELATED","url":"https://cdn.shazam.com/shazam/v3/en-US/GB/web/-/tracks/track-similarities-id-47723750?startFrom=0&pageSize=20&connected="}],"share":{"href":"https://www.shazam.com/track/47723750/piano-sonata-no-11-in-a-major-k-331-iii-alla-turca","html":"https://www.shazam.com/snippets/email-share/47723750?lang=en-US&country=GB","image":"https://is1-ssl.mzstatic.com/image/thumb/Music122/v4/1d/96/fa/1d96fa15-d4bc-f759-940e-3fc19f035abe/5063113651205_cover.jpg/400x400cc.jpg","snapchat":"https://www.shazam.com/partner/sc/track/47723750","subject":"Piano Sonata No. 11 in a Major, K. 331 - III. Alla Turca - Classical Coterie","text":"Piano Sonata No. 11 in a Major, K. 331 - III. Alla Turca by Classical Coterie","twitter":"I used @Shazam to discover Piano Sonata No. 11 in a Major, K. 331 - III. Alla Turca by Classical Coterie."},"subtitle":"Classical Coterie","title":"Piano Sonata No. 11 in a Major, K. 331 - III. Alla Turca","trackadamid":"1648125806","type":"MUSIC","url":"https://www.shazam.com/track/47723750/piano-sonata-no-11-in-a-major-k-331-iii-alla-turca","urlparams":{"{trackartist}":"Classical+Coterie","{tracktitle}":"Piano+Sonata+No.+11+in+a+Major%2C+K.+331+-+III.+Alla+Turca"}}}
curl --location --request GET 'https://zylalabs.com/api/7488/song+identifier+api/12031/recognize+song+by+url?url=https://ugap.uz/file.mp3' --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 commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The Song Identifier API is a powerful tool that provides developers with the ability to integrate song identification and music recognition capabilities into their applications. It allows users to identify songs by submitting audio snippets and retrieve details about the recognized tracks.
The Song Identifier API leverages advanced algorithms and a vast music database to ensure high accuracy in song identification. While it strives to accurately recognize a wide range of songs, it is important to note that certain factors such as audio quality, background noise, or uncommon tracks may affect the recognition success rate.
The Song Identifier API supports a variety of audio formats, including but not limited to MP3, WAV, FLAC, AAC, and OGG. It is recommended to consult the API documentation for the complete list of supported audio formats.
Yes, the Song Identifier API is designed to identify songs in various languages. It utilizes language-agnostic algorithms and a diverse music database to handle multilingual song recognition.
While there is no strict limit, it is recommended to keep the audio snippet size within 3 MB and ideally around 500 KB for optimal performance. Additionally, shorter audio snippets of a few seconds typically yield better results. Larger audio files or longer durations may increase processing time and affect recognition accuracy.
Each endpoint returns detailed information about the recognized song, including track metadata such as title, artist, album, genre, and a unique track ID. Additionally, it provides match accuracy, timestamps, and links to streaming services.
Key fields in the response include "track" (containing title, artist, album), "matches" (providing match details), "location" (accuracy of recognition), and "hub" (offering actions like streaming links).
The response data is structured in JSON format, with nested objects for "track," "matches," and "hub." This organization allows easy access to specific details about the recognized song and related actions.
Each endpoint provides information such as song title, artist names, album details, genre classification, match accuracy, and links to platforms like Apple Music for further listening.
The primary parameter is the audio input, which can be submitted as a file or URL. Users can customize their requests by adjusting the audio chunk size and format, ideally keeping it around 500 KB.
Users can leverage the returned data to display song details in their applications, create playlists, or provide links to streaming services. For example, using the "hub" field, developers can direct users to listen on platforms like Apple Music.
Typical use cases include enhancing music streaming apps with song identification, enabling social media sharing of music, and integrating recognition features in voice-enabled devices for seamless user interaction.
Data accuracy is maintained through advanced algorithms and a comprehensive music database. Continuous updates and quality checks ensure that the API can recognize a wide range of songs, including new releases and obscure tracks.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used 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.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
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, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
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.
Service Level:
100%
Response Time:
534ms
Service Level:
100%
Response Time:
5,873ms
Service Level:
100%
Response Time:
1,781ms
Service Level:
100%
Response Time:
6,363ms
Service Level:
100%
Response Time:
1,453ms
Service Level:
100%
Response Time:
1,123ms
Service Level:
100%
Response Time:
1,590ms
Service Level:
100%
Response Time:
2,991ms
Service Level:
100%
Response Time:
4,465ms
Service Level:
100%
Response Time:
2,914ms
Service Level:
100%
Response Time:
8,365ms
Service Level:
100%
Response Time:
4,827ms
Service Level:
100%
Response Time:
4,125ms
Service Level:
100%
Response Time:
2,602ms
Service Level:
100%
Response Time:
3,262ms
Service Level:
100%
Response Time:
9,881ms
Service Level:
100%
Response Time:
9,975ms
Service Level:
100%
Response Time:
11,173ms
Service Level:
100%
Response Time:
3,497ms
Service Level:
100%
Response Time:
2,355ms