Skip to main content
The GraphQL server is the best fit for UIs: typed schema, batched queries, and a track:changed / status:changed / playlist:changed subscription stream over WebSocket.
  • Endpointhttp://localhost:6062/graphql
  • WebSocketws://localhost:6062/graphql (graphql-ws protocol)
  • GraphiQLhttp://localhost:6062/graphiql
The schema is generated from crates/graphql/ and served by Juniper. All client SDKs in SDKs wrap this transport.

Quick examples

Subscriptions

Three subscriptions are exposed: All three are pushed by the broker loop in crates/server/src/lib.rs:start_broker().

Connecting from a browser

For language-specific guides, see SDKs.

Schema introspection

GraphiQL ships pre-installed at http://localhost:6062/graphiql — every type, every field, every argument. You can also dump the schema directly: