Those aren’t REST APIs to gather data about songs or your history. They are native APIs to control Spotify app on that machine etc.
I think a fair amount of their business relies on gathering data from people and recommending music. They don’t let 3rd parties to do that.