check via curl if Spotify is playing

Hello,

with curl I can control the volumio player remotly.

But the url parameter are different, if it play Spotify or not.

Is there a http get or post command to check if the play currently Spotify or not?

Thank you!