Yahoo opened up its music API back in 2008, but it is now closed. You can view their available APIs here.
Now that the Yahoo Music API is depreciated, you can use this collection to find an alternative. Here are a few worth mentioning:
Sign up today for a free RapidAPI account to begin testing and using the APIs in this collection (and many more!)