Musicfetch

Search music by query

The /search endpoint allows you to search for tracks, albums, and artists. You can specify which types of content to search for (tracks, albums, artists). The results return basic metadata including name, link, and image for each match.

To get full normalized metadata with links across all platforms, use the URL lookup endpoint with the links returned from search results.

Example

curl "https://api.musicfetch.io/search?query=Taylor Swift&types=artist,album,track" \
-H "x-token: YOUR_TOKEN"

Endpoint

GET https://api.musicfetch.io/search

Query parameters

Search query string
The country to fetch local links for (eg. US, GB, FR)
Possible enum values
ADAEAGAIAMARATAUAZBBBEBGBHBJBMBOBRBWBYBZCACGCHCLCNCOCRCVCYCZDEDKDMDOECEEEGESFIFJFMFRGBGDGHGMGRGTHKHNHUIDIEILINISITJOJPKEKGKHKNKRKYKZLALBLCLILKLTLULVMCMDMLMNMOMTMUMWMXMYNENGNINLNONPNZOMPAPEPGPHPLPTPWPYRORUSASBSESGSISKSLSTSVSZTDTHTJTMTRTTTWUAUGUSUYUZVEVGVNYEZAZW
Comma-separated list of types to search (artist, album, track)
Possible enum values
artistalbumtrack

Try it out

Use the interactive playground below to test the search endpoint with your own parameters. The playground will show you the exact request and response.