Music APIs
| API | Pricing | Auth | Format | Free tier | Status |
|---|---|---|---|---|---|
AI MasteringUploads an audio file and returns it automatically mastered with adjustable loudness and dynamics. Media & Entertainment › Music | Free | API key | Binary | Unlimited | Deprecated |
AudDIdentifies songs from audio files, URLs, or live streams, returning artist, title, and metadata. Media & Entertainment › Music | Free trial | API key | JSON | — | Live |
audiometa.ioUnified music catalog: BPM, key, multi-platform playcounts and artist social stats for 6.9M+ tracks. Media & Entertainment › Music | Free | API key | JSON | 10k+/day | Live |
DeezerMusic catalog data: tracks, albums, artists, playlists, and 30-second preview clips. Media & Entertainment › Music | Free | None | JSON | — | Live |
DiscogsLooks up music releases, artists and labels from Discogs's user-built discography database. Media & Entertainment › Music | JSON | 10k+/day | Live | ||
Eurovision Song Contest APIHistorical Eurovision and Junior Eurovision data: contests, participants, songs and voting results. Media & Entertainment › Music | Free | None | JSON | Unlimited | Live |
FreesoundSearch and metadata for millions of Creative Commons-licensed sound effects and samples. Media & Entertainment › Music | Freemium | API key | JSON | 1k–10k/day | Live |
GeniusSong lyrics, artist and community-annotation data from Genius; commercial use needs a paid license. Media & Entertainment › Music | Freemium | OAuth | JSON | — | Live |
GenrenatorGenerates whimsical, fictional music genre names and short backstory blurbs. Media & Entertainment › Music | Free | None | JSON | Unlimited | Live |
iTunes Search APISearches and looks up Apple's catalog of music, movies, podcasts, apps, books and TV shows. Media & Entertainment › Music | Free | None | JSON | 10k+/day | Live |
JamendoCatalogue API for independent music: search tracks, albums, artists, playlists, and radios. Media & Entertainment › Music | API key | JSON | 1k–10k/day | Live | |
KKBOXKKBOX's music catalog API: tracks, albums, playlists, charts, and search across five Asian territories. Media & Entertainment › Music | OAuth | JSON | — | Live | |
Last.fm APIMusic metadata, charts, artist/track info, and user listening history from Last.fm scrobbling. Media & Entertainment › Music | Free | API key | JSON | — | Live |
LRCLIBCrowdsourced plain and time-synced (LRC) song lyrics, matched by track title, artist and duration. Media & Entertainment › Music | Free | None | JSON | Unlimited | Live |
MixcloudPublic metadata for Mixcloud shows, DJs, tags and popularity charts; no key needed to read. Media & Entertainment › Music | Free | None | JSON | — | Live |
Mubert AI Music APIGenerates and streams royalty-free AI music tracks from text or image prompts, mood and tempo. Media & Entertainment › Music | Paid | API key | JSON | — | Live |
MusicBrainzOpen music encyclopedia covering artists, releases, recordings and labels with stable MBIDs. Media & Entertainment › Music | Freemium | None | JSON | — | Live |
MusixmatchSong lyrics, subtitles, translations and music catalog metadata (tracks, artists, albums, charts). Media & Entertainment › Music | Freemium | API key | JSON | — | Live |
OpenwhydUser playlists, tracks and trending music from Openwhyd's cross-platform music curation site. Media & Entertainment › Music | Free | None | JSON | Unlimited | Live |
Phish.inSetlists, venues, tours and streaming links for the full archive of live Phish audience recordings. Media & Entertainment › Music | Free | None | JSON | Unlimited | Live |
Radio BrowserCommunity-maintained directory of ~60,000 internet radio stations with stream URLs, tags, and metadata. Media & Entertainment › Music | Free | None | JSON | Unlimited | Live |
Songlink / OdesliTurned a song or album link from one streaming service into matching links on Spotify, Apple Music and more. Media & Entertainment › Music | Free | None | JSON | 10k+/day | Deprecated |
SoundCloudSearch, stream, and manage SoundCloud tracks, playlists, and users via OAuth-authenticated REST calls. Media & Entertainment › Music | Paid | OAuth | JSON | — | Live |
Spotify Web APISearch Spotify's music catalog and manage a user's playlists, library, and playback via OAuth. Media & Entertainment › Music | Free | OAuth | JSON | — | Live |
SunorGenerates AI music and lyrics through Suno and Udio models via a single credit-based API. Media & Entertainment › Music | Free trial | API key | JSON | — | Live |
TheAudioDBArtist, album and track metadata, biographies, artwork and music video links. Media & Entertainment › Music | Freemium | API key | JSON | <100/day | Live |
Choosing a Music API
Is there a free Music API?
Yes. Spotify Web API, Last.fm API, audiometa.io, Deezer, Eurovision Song Contest API and 7 others are free to use, and MusicBrainz, Freesound, Genius, Musixmatch and TheAudioDB have a free tier alongside paid plans.
Which Music APIs work without an API key?
MusicBrainz, Deezer, Eurovision Song Contest API, Genrenator, iTunes Search API and 5 others need no key or sign-up, so you can try them with a plain request.
Can I call a Music API from front-end JavaScript?
MusicBrainz, Eurovision Song Contest API, Genrenator, iTunes Search API, LRCLIB and 3 others allow cross-origin requests and need no key, so they work straight from the browser. For the others, call them from your server so your key stays private.
Can I use Music APIs in a commercial project?
AudD, Mubert AI Music API and Radio Browser permit commercial use. Spotify Web API, MusicBrainz, Last.fm API, Deezer, Freesound and 5 others restrict it, for example to non-commercial or attributed use, so read the terms first.
Which Music APIs work with AI agents?
Spotify Web API, audiometa.io, Freesound, KKBOX, Musixmatch and 3 others publish an OpenAPI spec for generating clients and tools.
More specific: Lyrics APIs
More in Media & Entertainment: Images & Photos APIs · Movies & TV APIs · Games APIs · Anime & Comics APIs · Podcasts APIs · Video APIs · Icons APIs · Jokes & Quotes APIs