Spotify API

Look up music by getting information about artists, albums, tracks, complete metadata, cover art, play counts, and explicit content, all through unique identifiers and quick searches.

This API provides simple, structured access to comprehensive information about artists, albums, tracks, and playlists. It is designed to offer clear and accurate data using unique identifiers, facilitating integration with applications, websites, or music analysis tools.

With this API, you can obtain detailed song data, including name, duration, popularity measured by play count, and explicit content rating. It also provides comprehensive album information, such as release date, record label, copyright, cover art in different resolutions, and a complete list of tracks in their respective order.

It also allows you to search for artists, displaying their name, unique identifier, and relationship to specific albums or songs. Searches are fast and flexible: you can start queries based on names or keywords and receive results classified into different types (tracks, albums, artists, or playlists).

Thanks to its focus on well-organized data, this API is ideal for users looking for a reliable and scalable resource, without the need to manually process music information. In summary, it offers:

API Documentation

Endpoints


Get detailed information about a track: name, artist, duration, plays, position in the album, content rating, and associated metadata.



                                                                            
GET https://www.zylalabs.com/api/9907/spotify+api/18656/track
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"id":"4QNpBfC0zvjKqPJcyqBy9W","name":"Give Me Everything (feat. Nayer)","streamCount":1750184773,"duration":252306,"contentRating":"none","trackNumber":2,"album":{"id":"4rG0MhkU6UojACJxkMHIXB","name":"Planet Pit (Deluxe Version)","type":"album","releaseDate":"2011-06-17","tracks":[{"id":"2HPmy1uA2SSJVVTduU9g2q","trackNumber":1},{"id":"4QNpBfC0zvjKqPJcyqBy9W","trackNumber":2},{"id":"2cZrrQMjB63c0iIugYH9zS","trackNumber":3},{"id":"3rfhI32Il2hVRKDkuGeeen","trackNumber":4},{"id":"0c7wqpBLOTFr1yb70LHGFM","trackNumber":5},{"id":"5Zc3d993GDKljZ5d6NNk3b","trackNumber":6},{"id":"1LomM3L6atrf79ZL7nHDp4","trackNumber":7},{"id":"62zFEHfAYl5kdHYOivj4BC","trackNumber":8},{"id":"0LHpEIKaXBtXrqSUEdfWKm","trackNumber":9},{"id":"2yazRoolWXk58jAmKgxcDd","trackNumber":10},{"id":"50pJXx2ImZomgdmFUtIczx","trackNumber":11},{"id":"7J67Boe7skkGlM5HCy3JHR","trackNumber":12},{"id":"1d5dIwX0QGabBASb3gI3VA","trackNumber":13},{"id":"43s0CIP1nrgUXCLyBmchYH","trackNumber":14},{"id":"00NmK2seXpRFNAEsRBe7lc","trackNumber":15},{"id":"4faHjDxqvO9clYe4grJeeD","trackNumber":16}]},"artists":[{"id":"0TnOYISbd1XYRBk9myaseg","name":"Pitbull"},{"id":"4D75GcNG95ebPtNvoNVXhz","name":"AFROJACK"},{"id":"21E3waRsmPlU7jZsS13rcj","name":"Ne-Yo"},{"id":"1ruutHJcECI7cos2n5TqpO","name":"Nayer"}]}
                                                                                                                                                                                                                    
                                                                                                    

Track - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/9907/spotify+api/18656/track&track_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Get complete information about an album: title, artist, date, record label, copyright, cover art, tracks with metadata, and related albums.



                                                                            
GET https://www.zylalabs.com/api/9907/spotify+api/18657/album
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"id":"1XkGORuUX2QGOEIL4EbJKm","name":"Favourite Worst Nightmare","type":"album","releaseDate":"2007-04-22","artists":[{"id":"7Ln80lUS6He07XvHI8qqHH","name":"Arctic Monkeys"}],"label":"Domino Recording Co","copyright":[{"type":"C","text":"2007 Domino Recording Co Ltd"},{"type":"P","text":"2007 Domino Recording Co Ltd"}],"tracks":[{"id":"7f9I5WdyXm5q1XqnSYgQZb","name":"Brianstorm","streamCount":285394355,"duration":172866,"contentRating":"none"},{"id":"5kxVyCgEUND7E2QKG7JmoF","name":"Teddy Picker","streamCount":288585084,"duration":165000,"contentRating":"explicit"},{"id":"5RrHzXKmwVd5BCq4UzyJPd","name":"D is for Dangerous","streamCount":99490330,"duration":138106,"contentRating":"none"},{"id":"0ftMOhVfFm5Wbs5sZdEtsC","name":"Balaclava","streamCount":98502743,"duration":171226,"contentRating":"none"},{"id":"2x8evxqUlF0eRabbW2JBJd","name":"Fluorescent Adolescent","streamCount":1066430743,"duration":183893,"contentRating":"none"},{"id":"71ytDkCnYc11VRiRCrhDHX","name":"Only Ones Who Know","streamCount":155950698,"duration":184760,"contentRating":"none"},{"id":"2BqfIlpahcebJPeu1IUTEo","name":"Do Me a Favour","streamCount":191814508,"duration":209253,"contentRating":"explicit"},{"id":"0DKvcH4SCRdhVYTxStKx9h","name":"This House is a Circus","streamCount":68919683,"duration":191680,"contentRating":"explicit"},{"id":"0idZZsnM7nuSYanlpKTuwV","name":"If You Were There, Beware","streamCount":67707239,"duration":276200,"contentRating":"none"},{"id":"4N2yjWLIxZjOXDrCu2VlJe","name":"The Bad Thing","streamCount":66558019,"duration":145213,"contentRating":"none"},{"id":"5KGbRvZyVyKP2AEJMHErB4","name":"Old Yellow Bricks","streamCount":209311253,"duration":193226,"contentRating":"none"},{"id":"0BxE4FqsDD1Ot4YuBXwAPp","name":"505","streamCount":2397460558,"duration":253586,"contentRating":"none"}],"coverArt":[{"url":"https://i.scdn.co/image/ab67616d00001e02b1f8da74f225fa1225cdface","height":300,"width":300},{"url":"https://i.scdn.co/image/ab67616d00004851b1f8da74f225fa1225cdface","height":64,"width":64},{"url":"https://i.scdn.co/image/ab67616d0000b273b1f8da74f225fa1225cdface","height":640,"width":640}],"moreAlbums":[{"id":"78bpIziExqiI9qztvNFlQu","name":"AM","type":"album","releaseDate":"2013"},{"id":"6rsQnwaoJHxXJRCDBPkBRw","name":"Favourite Worst Nightmare (Standard Version)","type":"album","releaseDate":"2007"},{"id":"50Zz8CkIhATKUlQMbHO3k1","name":"Whatever People Say I Am, That's What I'm Not","type":"album","releaseDate":"2006"},{"id":"5IEoiwkThhRmSMBANhpxl2","name":"Humbug","type":"album","releaseDate":"2009"},{"id":"2ym2jcqckXqWeTDoxz3Kst","name":"Suck It and See","type":"album","releaseDate":"2011"},{"id":"2GROf0WKoP5Er2M9RXVNNs","name":"The Car","type":"album","releaseDate":"2022"},{"id":"7v6FNgLDS8KmaWA1amUtqe","name":"Tranquility Base Hotel & Casino","type":"album","releaseDate":"2018"},{"id":"219r3vm32Uzj5Ef7lu9aKw","name":"Leave Before The Lights Come On","type":"single","releaseDate":"2006"},{"id":"0SlR6pLgIqWFUkuUfbNbm0","name":"Why'd You Only Call Me When You're High?","type":"single","releaseDate":"2013"},{"id":"3tEGBDGnejHf4mx1YSqKnb","name":"Who The F*** Are Arctic Monkeys?","type":"ep","releaseDate":"2006"}]}
                                                                                                                                                                                                                    
                                                                                                    

Album - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/9907/spotify+api/18657/album&album_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Get complete data on an artist: biography, followers, monthly listeners, ranking, top cities, popular songs, albums, singles, external links, and covers.



                                                                            
GET https://www.zylalabs.com/api/9907/spotify+api/18659/artist
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"id":"0TnOYISbd1XYRBk9myaseg","name":"Pitbull","verified":true,"followers":11783257,"monthlyListeners":60691771,"worldRank":27,"topCities":[{"country":"AU","city":"Sydney","numberOfListeners":723747},{"country":"AU","city":"Melbourne","numberOfListeners":611712},{"country":"PL","city":"Warsaw","numberOfListeners":553672},{"country":"ES","city":"Madrid","numberOfListeners":553566},{"country":"CL","city":"Santiago","numberOfListeners":542488}],"topTracks":[{"id":"4QNpBfC0zvjKqPJcyqBy9W","name":"Give Me Everything (feat. Nayer)","streamCount":1750184773,"duration":252306,"contentRating":"none"},{"id":"3cHyrEgdyYRjgJKSOiOtcS","name":"Timber","streamCount":1921299415,"duration":204160,"contentRating":"none"},{"id":"2bJvI42r8EF3wxjOuDav4r","name":"Time of Our Lives","streamCount":1681481078,"duration":229360,"contentRating":"explicit"},{"id":"4356Typ82hUiFAynbLYbPn","name":"DJ Got Us Fallin' In Love (feat. Pitbull)","streamCount":1202523645,"duration":220800,"contentRating":"none"},{"id":"0Hf4aIJpsN4Os2f0y0VqWl","name":"Feel This Moment (feat. Christina Aguilera)","streamCount":941208174,"duration":229506,"contentRating":"none"},{"id":"4Y7XAxTANhu3lmnLAzhWJW","name":"Fireball (feat. John Ryan)","streamCount":782552865,"duration":236200,"contentRating":"none"},{"id":"0OPyDgTRuIdCJ9B4bYSths","name":"Hotel Room Service","streamCount":780516825,"duration":237600,"contentRating":"none"},{"id":"62zFEHfAYl5kdHYOivj4BC","name":"International Love (feat. Chris Brown)","streamCount":744218729,"duration":227280,"contentRating":"none"},{"id":"3rfhI32Il2hVRKDkuGeeen","name":"Hey Baby (Drop It to the Floor) (feat. T-Pain)","streamCount":471074901,"duration":234453,"contentRating":"none"},{"id":"13plQdOoWSSXPRUSZc5FuM","name":"I Know You Want Me (Calle Ocho)","streamCount":609604177,"duration":237120,"contentRating":"none"}],"albums":[{"id":"1nPRTKmS3Bn0f2ih11i2aH","name":"UNDERDOGS","type":"album","releaseDate":"2025-08-29"},{"id":"56jg3KJcYmfL7RzYmG2O1Q","name":"Trackhouse (Daytona 500 Edition)","type":"album","releaseDate":"2024-02-16"},{"id":"1l86t4bTNT2j1X0ZBCIv6R","name":"Trackhouse","type":"album","releaseDate":"2023-10-06"},{"id":"6nCJAxRvXmPkPiZo8Vh5ZG","name":"Libertad 548","type":"album","releaseDate":"2019-09-27"},{"id":"6ZSNnOY2ESMNoVQ5DdvHrj","name":"Gotti (Original Motion Picture Soundtrack)","type":"album","releaseDate":"2018-06-14"},{"id":"4jtKPpBQ5eneMwEI94f5Y0","name":"Climate Change","type":"album","releaseDate":"2017-03-17"},{"id":"5PZWGWwRwA0PJCET9BwBAm","name":"Dale","type":"album","releaseDate":"2015-07-17"},{"id":"4EUf4YyNjuXypWY6W5wEDm","name":"Globalization","type":"album","releaseDate":"2014-11-24"},{"id":"2USiuZqEAyfOcKmcujg4hs","name":"Global Warming (Deluxe Version)","type":"album","releaseDate":"2012-11-19"},{"id":"2F7tejLHzTqFq2XLol9ZGy","name":"Global Warming: Meltdown (Deluxe Version)","type":"album","releaseDate":"2012"}],"singles":[{"id":"46FjPDtNFTZ0kn3PVLAcHF","name":"Hangover","type":"single","releaseDate":"2025-08-28"},{"id":"5Skfxe8hI3uMoQ5l3Wl0GS","name":"Borracho Y Loco","type":"single","releaseDate":"2025-08-28"},{"id":"3EIHFD7cnGod28Kg61IfEB","name":"We Will Rock You (2025 FIFA Club World Cup Theme Song) feat. Pitbull x RedOne","type":"single","releaseDate":"2025-06-13"},{"id":"5VaS19t97GVYwJZWi71BDi","name":"Soy Así","type":"single","releaseDate":"2025-06-06"},{"id":"0INLo9d20pUVNHOX1x2X4Q","name":"No Te Hagas","type":"single","releaseDate":"2025-05-09"},{"id":"5tjFV3KmhkpTpRTnv1I8Wu","name":"Now Or Never","type":"ep","releaseDate":"2025-03-28"},{"id":"0f5Fhl4ZgbGtWwtxGofKqa","name":"Now Or Never (TropKillaz Remix)","type":"single","releaseDate":"2025-03-27"},{"id":"7wI8TpkCWRTwmnzZNjUDTj","name":"Now or Never (Muzik Junkies & AROCK Remix)","type":"single","releaseDate":"2025-03-26"},{"id":"3fZxc2BwHIv2I72Txd9yGq","name":"Now or Never (F.A.S.T x & DJ Triple XL Remix)","type":"single","releaseDate":"2025-03-25"},{"id":"2K3vXTZjcuWR8H8LgvJ8Yk","name":"Tamo Bien","type":"single","releaseDate":"2025-03-05"}],"popularReleases":[{"id":"4rG0MhkU6UojACJxkMHIXB","name":"Planet Pit (Deluxe Version)","type":"album","releaseDate":"2011-06-17"},{"id":"4EUf4YyNjuXypWY6W5wEDm","name":"Globalization","type":"album","releaseDate":"2014-11-24"},{"id":"2F7tejLHzTqFq2XLol9ZGy","name":"Global Warming: Meltdown (Deluxe Version)","type":"album","releaseDate":"2012"},{"id":"00zN65JStpVnpJn9ckMsQI","name":"Pitbull Starring In Rebelution","type":"album","releaseDate":"2009-08-31"},{"id":"543NK5YT3RjGmP7nFzWJPm","name":"On The Floor","type":"single","releaseDate":"2011-02-18"},{"id":"2K3vXTZjcuWR8H8LgvJ8Yk","name":"Tamo Bien","type":"single","releaseDate":"2025-03-05"},{"id":"5PZWGWwRwA0PJCET9BwBAm","name":"Dale","type":"album","releaseDate":"2015-07-17"},{"id":"4ObwiIpULEzwOPrtLSd7xA","name":"Now Or Never","type":"single","releaseDate":"2024-11-14"},{"id":"7m9AYxqeFPagkaqlg6WE0J","name":"The Boatlift","type":"album","releaseDate":"2007-11-27"},{"id":"76N6imyjQ9h5p2NzakHT32","name":"M.I.A.M.I.","type":"album","releaseDate":"2004-08-24"}],"latest":{"id":"1nPRTKmS3Bn0f2ih11i2aH","name":"UNDERDOGS","type":"album","releaseDate":"2025-08-29"},"biography":"Pitbull invites disruption on a global scale as a GRAMMY®-winning independent international superstar, education advocate, business entrepreneur and motivational speaker. With countless awards, dozens of international number ones, hundreds of gold and platinum certifications, millions of single sales, 25 million album sales, and cumulative video views in excess of 15 billion, one of the most impressive careers in music history set the stage for him to make true change. Not only did he successfully help establish Sports Leadership Arts and Management (SLAM!) tuition-free public charter schools across the country, he was honored by the United Nations General Assembly on behalf of Clean Water Here; he is a partner in eMerge Americas, the annual tech and innovation summit held in Miami; and he was honored alongside music legends as well as Nobel Peace Prize and Pulitzer Prize winners at the 2019 International Achievement Summit. Pitbull ended 2020 with a bang by ringing in the new year performing on main stage in Times Square.  He returned to the road in 2021 with the sold out I Feel Good Tour, packing arenas and amphitheaters coast-to-coast. Speaking of, Pitbull has performed for millions worldwide and even joined forces with the #1 life and business strategist, Tony Robbins, for numerous engagements around the globe. He maximizes his own creative, entrepreneurial and personal freedom, yet again, on his next long-awaited English album, coming soon.","externalLinks":[{"label":"facebook","url":"https://facebook.com/pitbull"},{"label":"instagram","url":"https://instagram.com/pitbull"},{"label":"twitter","url":"https://twitter.com/pitbull"},{"label":"wikipedia","url":"https://en.wikipedia.org/wiki/Pitbull_(rapper)"}],"coverArt":[{"url":"https://i.scdn.co/image/ab6761610000e5eb4051627b19277613e0e62a34","height":640,"width":640},{"url":"https://i.scdn.co/image/ab6761610000f1784051627b19277613e0e62a34","height":160,"width":160},{"url":"https://i.scdn.co/image/ab676161000051744051627b19277613e0e62a34","height":320,"width":320}]}
                                                                                                                                                                                                                    
                                                                                                    

Artist - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/9907/spotify+api/18659/artist&artist_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Get search results: related artists, albums, tracks, and playlists, including essential metadata such as names, identifiers, descriptions, and dates.



                                                                            
GET https://www.zylalabs.com/api/9907/spotify+api/18660/search
                                                                            
                                                                        

Search - Endpoint Features

Object Description
q [Required] Enter a search term.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"query":"lose yourself","topResults":[{"type":"track","id":"5Z01UMMf7V1o0MzF86s6WJ","name":"Lose Yourself"},{"type":"track","id":"2jvHb9SHJDi8Ugky7tUzUb","name":"Lose Yourself"},{"type":"track","id":"5CMjjywI0eZMixPeqNd75R","name":"Lose Yourself to Dance (feat. Pharrell Williams)"},{"type":"artist","id":"7dGJo4pcD2V6oG8kP0tJRR","name":"Eminem"},{"type":"playlist","id":"6v3HV3is0T3d4QrmKJ2yvD","name":"Lose Yourself clean"}],"artists":[{"id":"7dGJo4pcD2V6oG8kP0tJRR","name":"Eminem"},{"id":"3diZT3RTiofEkEX86AFNGh","name":"Lose Yourself In Music"},{"id":"2YZyLoL8N0Wb9xBt1NhZWg","name":"Kendrick Lamar"},{"id":"5K4W6rqBFWDnAN6FQUkS6x","name":"Kanye West"},{"id":"19k8AgwwTSxeaxkOuCQEJs","name":"Jelly Roll"},{"id":"15UsOTVnJzReFVN1VCnxy4","name":"XXXTENTACION"},{"id":"4MCBfE4596Uoi2O4DtmEMz","name":"Juice WRLD"},{"id":"6DPYiyq5kWVQS4RGwxzPC7","name":"Dr. Dre"},{"id":"7hJcb9fa4alzcOq3EaNPoG","name":"Snoop Dogg"},{"id":"6fOMl44jA4Sp5b9PpYCkzz","name":"NF"}],"albums":[{"id":"353HFOqGHySp027oyr3aGs","name":"8 Mile (Music From And Inspired By The Motion Picture)","type":"compilation","releaseDate":"2002"},{"id":"6U8KV7VvZw2waduhLDwY4T","name":"Lose Yourself","type":"single","releaseDate":"2025"},{"id":"2cWBwpqMsDJC1ZUwz813lo","name":"The Eminem Show","type":"album","releaseDate":"2002"},{"id":"6wdSf72duVewXTqhYU3Z87","name":"SHADYXV","type":"compilation","releaseDate":"2014"},{"id":"4eguh1dJUXRh0IMiLKRwab","name":"Lose Yourself","type":"ep","releaseDate":"2024"},{"id":"5DV2liMHX5AqtiLqy3Qu1b","name":"STANS (The Official Soundtrack)","type":"album","releaseDate":"2025"},{"id":"0RejlT9bmqcXGrqMaJRos0","name":"Killshot","type":"single","releaseDate":"2018"},{"id":"6Vc0neMnj5CDIJFAp14qLX","name":"You will lose yourself (Cinematic Intro x Trap Beat)","type":"single","releaseDate":"2025"},{"id":"2yboV2QBcVGEhcRlYuPpDT","name":"Loose","type":"album","releaseDate":"2006"},{"id":"4Oi37AFEsSHPkwCo8LMNmK","name":"Lose Yourself","type":"single","releaseDate":"2019"}],"tracks":[{"id":"5Z01UMMf7V1o0MzF86s6WJ","name":"Lose Yourself","streamCount":0,"duration":326466,"contentRating":"explicit"},{"id":"2jvHb9SHJDi8Ugky7tUzUb","name":"Lose Yourself","streamCount":0,"duration":320573,"contentRating":"none"},{"id":"5CMjjywI0eZMixPeqNd75R","name":"Lose Yourself to Dance (feat. Pharrell Williams)","streamCount":0,"duration":353893,"contentRating":"none"},{"id":"77Ft1RJngppZlq59B6uP0z","name":"Lose Yourself","streamCount":0,"duration":320626,"contentRating":"explicit"},{"id":"1a3xfVZyJnlKn4t65ccBbp","name":"Lose Yourself - From \"8 Mile\" Soundtrack","streamCount":0,"duration":321213,"contentRating":"none"},{"id":"4xkOaSrkexMciUUogZKVTS","name":"Till I Collapse","streamCount":0,"duration":297786,"contentRating":"explicit"},{"id":"3yfqSUWxFvZELEM4PmlwIR","name":"The Real Slim Shady","streamCount":0,"duration":284200,"contentRating":"explicit"},{"id":"1jS7v1W7iS5ND9IYqfOxWo","name":"Lose Yourself","streamCount":0,"duration":326466,"contentRating":"explicit"},{"id":"7lQ8MOhq6IN2w8EYcFNSUk","name":"Without Me","streamCount":0,"duration":290320,"contentRating":"explicit"},{"id":"6GkTKjv1XbFVdI2D8vvDPu","name":"Lose Yourself","streamCount":0,"duration":320293,"contentRating":"explicit"}],"playlists":[{"id":"6v3HV3is0T3d4QrmKJ2yvD","name":"Lose Yourself clean","description":""},{"id":"7rRsBV0LHXKPJ5tjoudz4J","name":"Eminem Clean Hits","description":"All the hits from Lose Yourself to Godzilla"},{"id":"7CEs30yJ0gRIMx7UzzAHNX","name":"Lose yourself 1 Hour","description":""},{"id":"3E0RgJpQug1ibE2jTGI0Hk","name":"Eminem best song 10 hours","description":"with Mockinbirth,Whitout me,The Real Slim Shady,Lose Yourself, Superman"},{"id":"6B4kAIimKKskZw9ObUSfHe","name":"INSANE PUMP UP SONGS","description":"Pump up songs that get you insanely hype"},{"id":"4Cpn9Pe9oEnAIBnjdiMfji","name":"Lose yourself 10 hours","description":""},{"id":"37i9dQZF1DWXWbLEOaHnU3","name":"Psytrance Supernova","description":"Lose yourself in the cosmic spheres of Psytrance."},{"id":"4vRP3dKcpcL8KIh59xgsa6","name":"Sports Pump Up Music 🏈🏀⚾️⚽️","description":"Perfect for pregame energy! (Clean)"},{"id":"4bjrFEkwyNJcgRxwJiuFYW","name":"eminem lose yourself lyrics","description":""},{"id":"4sjsye4xyuVeYFQh0MJlMG","name":"Electronic Chill","description":"The best new down-tempo Electronica, curated by Enhanced. Lose yourself in these sonic gems for study, focus, reading, relaxing and meditation 🌱 <a href=\"https://ffm.link/m1jwbqo/\">Instagram</a>, <a href=\"https://ffm.link/db6jmde\">YouTube</a>"}]}
                                                                                                                                                                                                                    
                                                                                                    

Search - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/9907/spotify+api/18660/search?q=lose yourself' --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 Spotify 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 commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

🚀 Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

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

Spotify API FAQs

Each endpoint returns structured data specific to its focus: the GET Track endpoint provides detailed track information, the GET Album endpoint offers comprehensive album details, the GET Artist endpoint delivers artist data, and the GET Search endpoint returns results for artists, albums, tracks, and playlists.

Key fields vary by endpoint: GET Track includes name, artist, duration, and play count; GET Album features title, release date, and track list; GET Artist provides biography, followers, and popular songs; GET Search returns names, identifiers, and descriptions for related entities.

Response data is organized in JSON format, with each endpoint returning a structured object. For example, the GET Track response includes nested fields for metadata, while the GET Album response lists tracks in an array, allowing easy access to specific details.

The GET Track endpoint provides track metadata, GET Album offers album details and track listings, GET Artist includes artist biography and statistics, and GET Search delivers a variety of related content, including artists, albums, and playlists.

Each endpoint accepts specific parameters: GET Track may require a track ID, GET Album needs an album ID, GET Artist requires an artist ID, and GET Search allows for keyword queries. Users can customize requests by specifying these identifiers or search terms.

Users can customize requests by specifying parameters such as IDs for specific tracks, albums, or artists, and by using search keywords in the GET Search endpoint to filter results by type, enhancing the relevance of the returned data.

Data accuracy is maintained through regular updates and quality checks from Spotify's extensive music catalog. The API pulls from verified sources, ensuring that the information provided is reliable and up-to-date.

The data is sourced from Spotify's extensive music catalog, ensuring a wide range of artists, albums, and tracks. The API leverages Spotify's internal databases, which are regularly updated to maintain accuracy and comprehensiveness.

Typical use cases include music discovery applications, playlist generation tools, artist analytics platforms, and music research projects. Developers can leverage the API to enhance user experiences by providing detailed music information and recommendations.

When handling partial or empty results, check the response status and data fields. If no data is returned, ensure the query parameters are correct. Implement fallback mechanisms, such as displaying a user-friendly message or suggesting alternative searches.

Users can utilize the returned data by integrating it into applications for displaying music information, creating playlists, or analyzing trends. For example, the track data can be used to show song details in a music app, while artist data can enhance user engagement through profiles and recommendations.

General FAQs

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 1,000 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 1,000 requests per month, this header will display 1,000.

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 3,600, it means 3,600 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 give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.

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 free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.

Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.


Related APIs


You might also like