Funkwhale
Funkwhale is a social, open-source music server. Instances are self-hosted or hosted by community members. Music comes from a user's library or from other people sharing their music. It has a web interface and mobile apps. The API documentation is here: https://docs.funkwhale.audio/swagger/