REST API

Cider offers a simple REST API to remotely control the app.

URL: http://localhost:9000/api/

Endpoints

{% tabs %} {% tab title="/playback" %}

EndpointDescription
/playpauseToggle between play and pause
/playPlay
/pausePause
/stopStop the current song
/nextSkip to the next song in the queue
/previousGo back to the previous song in the queue

{% endtab %}

{% tab title="/musickit" %}

EndpointMethodDescriptionUsage
/v3POST

Access the MusicKit instance and use the v3 API routes
https://developer.apple.com/documentation/applemusicapi/

Takes 3 parameters.
route
body
options

{% endtab %}
{% endtabs %}