Yes. In addition to providing free access to their API, which allows music services to send them data, Last.fm also offers endpoints that compile all of the information it has on different artists, songs, and genres. Their Pro version, though, isn't.