• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Rapid Blog

  • Enterprise
  • API Hub
  • Add Your API
  • About
  • Docs
    • API Glossary
  • Blog
    • What is an API?
    • REST API Tutorials
    • Most Popular APIs
  • Sign Up
    • Log In
Blog » APIs » Top 8 Free Music Data APIs (Updated for 2023)
Best Free Music APIs

Top 8 Free Music Data APIs (Updated for 2023)

By Team RapidAPI // March 15, 2023

Music data APIs are application programming interfaces that allow developers to access and integrate the functionalities of music applications or services, such as streaming and downloading audio files, into their own product. These APIs enable users to search for music related data including artist names, album titles, song lyrics, and genre information for any given track. These APIs can also be used to fetch artist bios, concert dates and more.

By using these APIs, developers can create a wide range of applications ranging from personal music players with custom soundtracks, interactive soundboards for DJs or radio stations and even full-fledged e-commerce businesses dedicated solely to selling digital audio files. The availability of this type of API makes it easier for developers to leverage existing music assets and create better user experiences without having to start from scratch.

Music data APIs can also be used by music analytics companies to analyze musical trends over time or cross-reference various pieces of data related to a particular song or artist in order to gain insight into consumer behavior. They provide a reliable source of information and authentication about the state of the industry at any given moment and can help inform business decisions accordingly.

FAQs

What is a Music Database API?

A music database API usually refers to a web service or REST API that retrieves and returns music info such as song tracks, lyrics, artist or album information. Some popular music database APIs include Deezer, iTunes (an apple music api data connector), and more.

View Rapid's Best Music and Audio API Collection

What is the best free music API?

Below are our top picks for best free music APIs.


What is the best music API?

After reviewing over 28 music APIs, we found these 8 APIs to be the very best and worth mentioning:

  • Deezer API
  • Shazam API
  • Spotify API
  • Genius API
  • Radio World API
  • TheAudioDB API
  • iTunes API
  • 30,000 radio stations API

Our Top 8 Music APIs for 2023

DeezerBest for Finding Tracks & Building PlaylistsConnect to API
ShazamBest for Detailed Data & Song DetectorConnect to API
SpotifyBest for Music Metadata & PlaylistsConnect to API
GeniusBest for Song LyricsConnect to API
Radio WorldBest for Live FM RadioConnect to API
TheAudioDBBest for Simple and Accurate Music dataConnect to API
iTunesBest for Connecting to iTunes and Mac StoreConnect to API
30,000 radio stationsBest for Radio Station SteamsConnect to API

Our Top Picks for Best Music APIs

Below are the most commonly used music APIs on the Rapid API Hub:

1. Deezer

Deezer is the No. 1 site and music streaming platform for streaming and listening to music on demand. With more than 30 million tracks in its music library, developers can create playlists and share their favorite tracks.

Endpoints:

  • Infos
  • Radio
  • Genre
  • *Search
  • Playlist
  • Artist
  • Editorial
  • Track
  • Comment
  • Album
  • Deezer

    Popularity Score: 9.9/10/10

    Best For
    Finding Tracks & Building Playlists


    Connect to API

    2. Shazam

    The Shazam Core API provides detailed data on songs and artists. Discover, artists, lyrics, videos & playlists to create a song detector site/application such as shazam.com.

    Shazam is an identifier for songs, it does this by creating a unique digital fingerprint to match what you’re hearing in playback with one of the millions of songs in the Shazam database.

    Endpoints:

  • shazam-events/list
  • search
  • auto-complete
  • songs
  • chart
  • artists
  • shazam songs
  • albums
  • 
Shazam

    Popularity Score: 9.9/10/10

    Best For
    Detailed Data & Song Detector


    Connect to API

    3. Spotify

    The Spotify API gives developers access to millions of songs & podcasts, artists, albums, playlists, user’s libraries , and more.

    Endpoints:

  • Search
  • Albums
  • Artists
  • Tracks
  • Playlists
  • Users
  • Extras
  • 
Spotify

    Popularity Score: 9.8/10/10

    Best For
    Music Metadata & Playlists


    Connect to API

    4. Genius

    There are four primary — and undeniably Genius — things you can do with the Genius API:

    1. Create, Manage & View Annotations — Add, edit, and view annotations on any piece of text on the Internet, or on any song hosted on Genius.com.

    2. Upvote & Downvote Annotations — Vote on annotations and earn Genius IQ in the process.

    3. Go Behind Your Favorite Artists & Songs — Build products that bring Genius’s millions of lyrics-based annotations to life.

    4. Search Our Musical Metadata — Dive into Genius’s rich music library of musical metadata about artists, albums, and tracks to help power interactive experiences through any connected app or service.

    
Genius

    Popularity Score: 9.7/10/10

    Best For
    Song Lyrics


    Connect to API

    5. Radio World

    Offering the largest collection of FM Radios API from around the world, Radio World has 79,000+ radio stations. All the stations are updating on a daily & weekly basis, with at least 100+ stations added and 1000+ stations are fixing to the API Weekly (This is minimum ratio).

    Endpoints:

  • getStationByCountry
  • getHomePage
  • getAllCountry
  • getAllStation
  • searchStation
  • GetAllQuotes
  • 
Radio World

    Popularity Score: 9.7/10/10

    Best For
    Live FM Radio


    Connect to API

    6. TheAudioDB

    TheAudioDB API is a community driven database of audio metadata. The API also provides a repository of data that can be used in various types of HTPC software to make viewing experiences more visually appealing.

    Endpoints:

  • Search
  • Artist Data
  • Album Data
  • Track Data
  • Music Videos
  • Popularity
  • Playlists
  • Ratings
  • 
TheAudioDB

    Popularity Score: 9.6/10/10

    Best For
    Simple and Accurate Music data


    Connect to API

    7. iTunes

    Connect to the iTunes Search API and developers can add iTunes and Mac Store search fields to their app. Test an API in a browser and export the code snippet into an app. This is an apple music api data connector.

    Endpoints:

  • SearchMovies
  • SearchEbooks
  • getContentByAmgAlbumId
  • getContentByAmgArtistId
  • getContentByAmgVideoId
  • getContentById
  • getContentByIsbn
  • getContentByUpc
  • search
  • searchAudioBooks
  • searchMusic
  • searchMusicVideos
  • searchPodcasts
  • searchShortFilms
  • searchSoftwares
  • searchTvShows
  • 
iTunes

    Popularity Score: Na/10/10

    Best For
    Connecting to iTunes and Mac Store


    Connect to API

    8. 30,000 radio stations

    The 30,000 radio stations and music charts API gives developers access to 30,000 radio stations stream urls updated everyday and classified by music genre and country (over 130 countries and 167 music genres). The API also provide the top 50 music charts (daily, weekly, and monthly) and the Now Playing songs.

    Endpoints:

  • Radio station infos
  • Music genres list
  • Weekly Charts
  • Monthly Charts
  • Daily Charts
  • Countries list
  • Radio search (unlimited)
  • Now Playing
  • Radio search (limited)
  • 
30,000 radio stations

    Popularity Score: 9.3/10 /10

    Best For
    Radio Station Steams


    Connect to API


    Conclusion

    These are some of our favorite free music data APIs. Have you built any cool projects with these APIs? Did we miss your favorite music data API? Let us know in the comments below!

    All APIs mentioned above and accessible on RapidAPI.com are available in the following programming languages:

    • Node.js
    • PHP
    • Python
    • Ruby
    • Objective-C
    • Java (for Android)
    • C# (.net)
    • cURL
    • RapidQL

    Learn more how to get started with RapidAPI SDKs.

    Summary: Best Music APIs for Developers

    APITrack DataAlbum DataLyricsPlaylistsFree
    DeezerYesYesNoYesYes
    ShazamYesNoYesYesYes
    SpotifyYesYesNoYesYes
    GeniusYesYesYesNoYes
    Radio WorldNoNoNoNoYes
    TheAudioDBYesYesNoYesYes
    iTunesYesYesNoYesNo
    30,000 radio stations and music chartsYesNoNoNoYes

    Related Resources

    • How to use an API
    • Music Websites to Download Music Legally
    • Best online streaming services

    Additional Info

    What is the Spotify Web API?

    From Spotify: Our API is what is commonly known as a RESTful API. Basically it is an interface that programs can use to retrieve and manage Spotify data over the internet. The Web API uses the same HTTP protocol that’s used by every internet browser. In fact, you can access the API directly from your own browser. Try clicking this link and see what happens

    Is Spotify API Free?

    Yes, Spotify‘s API is free to use.

    5/5 - (261 votes)

    Complete List of the Best Music & Lyric APIs

    • TheAudioDB - TheAudioDB.com is a community driven database of audio metadata.
    • Shazam API - Identify any song. Discover, artists, lyrics, videos & playlists
    • Genius API - Genius Song Lyrics API
    • gaana.com Songs Download - Download free music from gaana.com. Using this API you can search for Songs, Albums browse New Albums, Tracks etc. This is unofficial API of gaana.com. Gaana.com provides both Indian and international music content. The entire Indian music catalog is available to users worldwide.
    • MediaCrush - MediaCrush makes sharing media super fast by reducing the file size, without sacrificing quality. We'll losslessly compress images, video, and audio uploaded to our service. We can get 1000-3000% faster for some files!
    • iTunes - Add iTunes and Mac Store search fields to your app.
    • Deezer - Deezer is the No. 1 site for listening to music on demand. Discover more than 30 million tracks, create your own playlists, and share your favourite tracks.
    • Raaga.com Songs Download - Browse, Search and Download Songs from Raaga.com. Raaga has a huge catalog of songs, from massive hits to rare gems to cult classics, with more added every week. Discover, enjoy, and share the music you love.
    • Songkick - Be the first to know about concerts Track your favourite artists and never miss them live.
    • humm - humm is a ready-made, open, and fully catalogued “white label” index of online music, offered to developers through our ground-breaking API. humm enables developers to create their own innovative — and 100% legal — music solutions, and businesses to build music into their services. In a word, we aim to be the Android of Music Services.
    • Billboard-API - Providing the Billboard chart rankings and information on titles, artists, lyrics, images, and more.
    • Audio 2D Code - Audio-2d-Code is a new technology to share links using sound which can replace 2Dcode, NFC and Bluetooth in many occasions. By the means of sound broadcasting, the effective range can reach up to 3 meters. The SDK was designed for extension into many use-cases just like file transmission, tickets, broadcasting and other related fields. Now it supports iOS, Android, Windows Phone 8 and server development. The client SDK supports multiple platforms. For more information, please refer to the Getting Started page.
    • Scrapesoft Music Lyrics - Welcome to the ScrapeSoft's Lyrics API! You can use my API to access Google's lyrics database through a web scraping API, which can get information on the lyrics of a specific artist's song. This API uses the following license: https://creativecommons.org/licenses/by/2.0/
    • SoundCTL - SoundCTL is a simple API for real-time audio processing, mixing and routing. Our goal is to provide developers with a simple and programmatic interface to our powerful audio engine.
    • instatunes - Love music ? This API will search for tracks/ songs in mp3 formate and gets direct download/stream links to you. You can then either stream the track directly or download it. it can search for all indian , english and other local music. download wont cost you anything!!!
    • 30,000 radio stations and music charts - 30,000 radio stations including the top radio stations in the world. Daily, weekly and monthly music charts + Now Playing songs.
    • SongMeanings - Easily follow and track your favorite artists on SongMeanings! Be the first to know about new lyrics, song meanings & more!
    • SRAPI 1.0 - SingRing API (SRAPI from now on) is a restricted REST service developed to serve SingRing (SR from now on) lyrics, artists and videoinformation to its partners. The service is based on server side connection between partners server and SRAPI servers and between clients and SRAPI servers.
    • Music Trivia - A Music Trivia API driven by listeners of ZPlayer, a media player on Android
    • Quicktate - Quicktate uses live professional transcribers to convert audio notes, to-do lists, medical reports, conference calls, legal files, voicemail messages, and more to text. We accept both short and long files.
    • Chart Lyrics - The API provides 3 functions. SearchLyric and SearchLyricsText to search the available lyric(s) and GetLyric to retrieve the lyric. SOAP API (beta) Our Simple Object Access Protocol Application Programming Interface is available to developers and end users who wish to use our database for their music project, website or application. Calls to the API are done using SOAP 1.1 or 1.2. The WSDL Service Description file can be found on api.chartlyrics.com/apiv1.asmx?WSDL For additional information please visit the API webpage. api.chartlyrics.com/apiv1.asmx and/or download example code using the SOAP web service from chartlyrics.codeplex.com
    • LYRICSnMUSIC - The LYRICSnMUSIC API allows your site to legally display up to 150 characters of a songs lyrics with a link back to our copyright compliant lyric page or you can simply link back to the lyrics without displaying them on your App/Site.
    • OneMusic - OneMusicAPI is an aggregated API, combining several of the largest, most accurate online music databases. OneMusicAPI allows you to query all of these databases with one call. This means less integration code for you to write, debug, maintain and (re) deploy. OneMusicAPI is lightweight; it is of a 'REST' style. You pass queries to OneMusicAPI in the form of URLs with the query details in the URL's query string. You receive results in JSON format.
    • Soundcloud - Integrate SoundCloud user, track and playlist information.
    • SpotifyPublicAPI - Retrieve music information from the full Spotify catalog.
    • Openload - Connect to the Openload File Sharing API to upload, share and edit any file. Test an API call in your browser and export the code snippet into your app.
    • Opera - Give you random opera and its composers. Great for building music-related apps.
    • Eventful - Search events and venues on Eventful's local event database.
    « Top 7 Food & Restaurant APIs We Love (And You Should Too!) [Updated for 2021]
    How To Estimate Weather Forecasts with the OpenWeatherMap API in Python »

    Related Blog Posts

    Cloud and API: A perfect match or a complex pair?
    Cloud and API: A perfect match or a complex pair?

    How to use the Deezer API with Java, Python, PHP, Ruby & JavaScript Examples
    How to use the Deezer API with Java, Python, PHP, Ruby & JavaScript Examples

    5 Steps to Fueling a Successful Local Analytics Product Using Data Axle’s Data on RapidAPI
    5 Steps to Fueling a Successful Local Analytics Product Using Data Axle’s Data on RapidAPI

    How to Use the Horoscope API with Python, PHP, Ruby & Javascript Examples
    How to Use the Horoscope API with Python, PHP, Ruby & Javascript Examples

    What Are Microservices?
    What Are Microservices?

    How to Use the CalorieNinjas API with Python, PHP, Ruby & Javascript Examples
    How to Use the CalorieNinjas API with Python, PHP, Ruby & Javascript Examples


    Filed Under: APIs Tagged With: audio, Deezer, deezer api, iTunes, music, music api, musiXmatch, radio world, shazam api, shazam api java, shazam api php, shazam api python, shazam api ruby, shazam apis, Spotify, Spotify Public API, Spotify User API

    Team RapidAPI

    Reader Interactions

    Comments

    1. Alex says

      September 19, 2017 at 4:21 pm

      A lot of words, not much code? Can you fix?

      Reply
    2. Lindsey says

      September 19, 2017 at 11:32 pm

      Thanks for reaching out! This was a round-up post, not a technical tutorial. You can read our tutorials here: https://rapidapi.com/blog/category/tutorial/

      You can also click the link to call any of these APIs and dig straight into the code.

      Reply
    3. ekalaracha says

      September 27, 2017 at 5:57 pm

      Do any of these APIs actually allow you to stream the music itself (besides the 30 second preview from Spotify)? It seems like these are more for the information about the music than the actual music itself, unless I’m missing something.

      Reply
      • Purvaldur says

        September 27, 2017 at 7:44 pm

        Not any of *these* api’s as far as I’m aware. I know with google play, you can stream the music but it’s unofficial, so I’m not 100% clear on the ToS. Here’s a link: https://github.com/simon-weber/gmusicapi. There’s plenty of libraries in other languages built up around it.

        Reply
      • Lindsey says

        September 27, 2017 at 11:23 pm

        @ekalaracha This article was more focused on music data (ex. song titles, lyrics etc.) vs. actually streaming.

        RapidAPI currently doesn’t support any API functionality that streams music. However, you can apply for access through the Spotify API page: https://developer.spotify.com/technologies/libspotify/

        Reply
    4. Mark Nejmeh says

      November 19, 2017 at 11:43 pm

      Hi, Mark Nejmeh here. Hope you are all well. Can you tell me where the best and largest database of older songs for download might be found?

      Reply
    5. Anna says

      November 21, 2018 at 6:32 am

      Hi, I am looking for an API that can tell me in live time how many people are listening to a song on a particular platform such as Spotify etc. Do you have any advice?

      Reply
    6. Ala Cherif says

      December 30, 2018 at 6:30 am

      Which one is the best api for commercial use?
      And is there free api for commercial use?

      Reply
    7. Bill Oreally says

      January 30, 2020 at 12:49 pm

      Except that Soundcloud hasnt let you register a new app for over a year now. https://docs.google.com/forms/d/e/1FAIpQLSfNxc82RJuzC0DnISat7n4H-G7IsPQIdaMpe202iiHZEoso9w/closedform

      Reply
    8. Tina says

      February 25, 2020 at 11:03 pm

      Thank you. 6 sites to download music very well.

      Reply
    9. Music License says

      April 22, 2021 at 2:02 am

      Hey there! Do you use LinkedIn? I’d like to follow you if that would be okay. I’m definitely enjoying your blog and look forward to new updates

      Reply
    10. Music Licensing Company says

      April 22, 2021 at 3:35 am

      Most of the sites I have used and develop musical sites, It looks like amazing, I love it.

      Reply

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Primary Sidebar

    Build anything with APIs, faster.

    Discover, evaluate, and integrate with any API. RapidAPI is the world’s largest API Hub with over 4 Million developers and 35,000 APIs.

    Browse APIs »

    APIs mentioned in this article

    Browse Music APIs
    Browse Music APIs

    Footer

    • API Guides
    • API Courses
    • API Glossary
    • API Testing
    • API Management
    • Most Popular APIs
    • Free APIs List
    • How to use an API
    • Learn REST API
    • Build API’s
    • About
    • Build APIs
    • Careers
    • Contact Us
    • Write for Us
    • API Directory
    • Press Room
    • Privacy Policy
    • Terms of Use

    © 2025 RapidAPI. All rights reserved.

    Building an Enterprise API Program
    Learn More

    ×