To access the Musicfetch endpoints you’ll need a subscription. Head to the homepage and pick a plan. All plans start with a free 7 day trial.
All the Musicfetch endpoints require an Access Token. Copy an access token from your Account page. You can create up to 5 access tokens at any one time. A token must be provided whenever you call the API.
You can lookup any track when you have an existing platform/store “source link”. Musicfetch will first lookup the source track and then attempt to find matches across the 25+ other platforms. We merge all the matches found and return a normalized MusicfetchTrack
object.
https://api.musicfetch.io/url
url
- The source URL/link for a track on a given store. We support the following source links: Amazon, Apple Music, Audiomack, AWA, Beatport, Deezer, iHeartRadio, Joox, KKBOX, NetEase, QQ Music, SoundCloud, Spotify, Tidal, Trebel, Yandex, , YouTube.services
- A comma separated list of services (MusicfetchService
) you'd like Musicfetch to search.[country]
- A two letter ISO country-code that you'd like to receive local store links for. This is only relevant to services that have country-specific links (Amazon, Apple Music, AWA, FLO, Gaana, iHeartRadio, JioSaavn, Joox, KKBOX, NetEase, QQ Music, 7digital, Spotify, Tidal) all other services have global links.If you have an ISRC code for a specific track you can use the /isrc
endpoint to lookup that track. We first lookup the ISRC on Spotify and then search all other services
for matching tracks. A normalized MusicfetchTrack
is returned.
https://api.musicfetch.io/isrc
isrc
- The ISRC of the track to lookup.services
- A comma separated list of services (MusicfetchService
) you'd like Musicfetch to search.[country]
- A two letter ISO country-code that you'd like to receive local store links for. This is only relevant to services that have country-specific links (Amazon, Apple Music, AWA, FLO, Gaana, iHeartRadio, JioSaavn, Joox, KKBOX, NetEase, QQ Music, 7digital, Spotify, Tidal) all other services have global links.You can lookup any album when you have an existing platform “source link”. Musicfetch will first lookup the source album and then attempt to find matches across the 25+ other platforms. We merge all the matches found and return a normalized MusicfetchAlbum
object.
https://api.musicfetch.io/url
url
- The source URL/link for an album on a given store. We support the following source links: Amazon, Apple Music, Audiomack, AWA, Beatport, Deezer, iHeartRadio, Joox, KKBOX, NetEase, QQ Music, SoundCloud, Spotify, Tidal, Trebel, Yandex, , YouTube.services
- A comma separated list of services (MusicfetchService
) you'd like Musicfetch to search.[country]
- A two letter ISO country-code that you'd like to receive local store links for. This is only relevant to services that have country-specific links (Amazon, Apple Music, AWA, FLO, Gaana, iHeartRadio, JioSaavn, Joox, KKBOX, NetEase, QQ Music, 7digital, Spotify, Tidal) all other services have global links.If you have the UPC (Universal Product Code) for an album you can use the /upc
endpoint. Musicfetch will first lookup the album by UPC on Spotify and then attempt to find matches across the 25+ other platforms. We merge all the matches found and return a normalized MusicfetchAlbum
object.
https://api.musicfetch.io/upc
upc
- The UPC of the album to lookup (must be on Spotify).services
- A comma separated list of services (MusicfetchService
) you'd like Musicfetch to search.[country]
- A two letter ISO country-code that you'd like to receive local store links for. This is only relevant to services that have country-specific links (Amazon, Apple Music, AWA, FLO, Gaana, iHeartRadio, JioSaavn, Joox, KKBOX, NetEase, QQ Music, 7digital, Spotify, Tidal) all other services have global links.You can lookup any artist when you have an existing platform “source link”. Musicfetch will first lookup the source artist and then attempt to find matches across the 25+ other platforms. We merge all the matches found and return a normalized MusicfetchArtist
object.
https://api.musicfetch.io/url
url
- The source URL/link for an artist on a given store. We support the following source links: Amazon, Apple Music, Audiomack, AWA, Beatport, Deezer, iHeartRadio, Joox, KKBOX, NetEase, QQ Music, SoundCloud, Spotify, Tidal, Trebel, Yandex, , YouTube.services
- A comma separated list of services (MusicfetchService
) you'd like Musicfetch to search.[country]
- A two letter ISO country-code that you'd like to receive local store links for. This is only relevant to services that have country-specific links (Amazon, Apple Music, AWA, FLO, Gaana, iHeartRadio, JioSaavn, Joox, KKBOX, NetEase, QQ Music, 7digital, Spotify, Tidal) all other services have global links.MusicfetchService
Each service Musicfetch supports has a unique key. When making a call to the musicfetch API you need to provide a comma separated list of services you'll like to query for matches.
Musicfetch has a dedicated JS/TS library providing a type-safe interface to the Musicfetch API as well as brand assets to get your UI off the ground quickly.
Once musicfetch
is installed into your node.js/browser project you can import it like any other NPM package. Configure an instance with your token and then use it throughout your app.
The musicfetch
package comes bundled with all brand names, SVG icons and colors, making building a slick UI that bit faster. Icons come as React components, SVG strings or SVG files.