I’m surprised I didn’t see royalty free music as a default source; e.g. jamendo offers an API with a free tier for non commercial apps[1]. Then again, there is a way to add custom sources, perhaps that would work anyway.
[1]: https://developer.jamendo.com/v3.0