Hacker News new | ask | show | jobs
by nullify88 1767 days ago
Anyone know of a API to fetch high quality music artist and album art? I've been meaning to make something which sniffs whats playing on my Chromecast and display it on a screen but I've had difficulty finding a good source of art.

Thank you for the suggestions :)

7 comments

The iTunes has an amazing free API: https://developer.apple.com/library/archive/documentation/Au...

By default the images it returns are small but you can get the full res ones easily. Here's some example code (not mine): https://github.com/bendodson/itunes-artwork-finder/blob/mast...

The Cover Art Archive[1] is a joint project between the Internet Archive and MusicBrainz, whose goal is to make cover art images available to everyone on the Internet in an organised and convenient way.

[1] https://coverartarchive.org/

I won't speak to the quality, but that's what libmusicbrainz is for: https://github.com/metabrainz/libmusicbrainz
Someone else mentioned Spotify, you could try looking into Last.fm[1] (which queries from a number of different sources - spotify, youtube, soundcloud and user contributed artwork).

1: https://www.last.fm/api/show/album.getInfo - looks like it provides three image resolutions - small, medium and large.

Spotify? Or is that not high quality enough? https://developer.spotify.com/documentation/web-api/referenc...

(Or there's a bunch of others in the submission under 'music'.)

When querying the chromecast for now playing media when using Spotify Connect, the response contains spotify album art urls. I haven't verified whether its the same as directly querying the spotify api but at first glance the images weren't as big as I'd like them to be.

I'd also like a variety of artist images as a backdrop which is hit and miss.

Thanks for the suggestion though.

I used Deezer for https://audile.app and have been really happy.
I usually get mine manually from [0]. A lot of work, but i get to choose the cover i like best.

[0] https://discogs.com

Do you at least use their API or data dump?

http://www.discogs.com/developers/ http://data.discogs.com/