Apple Music have an API, by technicality. It's mostly read only, only really works in client side JS, uses their own proprietary authentication rather than OAuth, mostly readonly with the only exception of being able to create playlists for a user, and then add songs to a playlist