These docs describe the 4.0 beta. Using 3.x? Read the 3.x manual
Skip to content

API and Client integration ​

WARNING

The API is not stable. Breaking changes are common.

The daemon exposes HTTP snapshots and durable history queries plus a SignalR hub for ordered live-state deltas and compact activity.

.NET clients ​

Use SockseekApiClient for HTTP requests and SockseekLiveClient for live updates.

OpenAPI ​

OpenAPI spec is in docs/openapi.json (auto-generated during build). The same document is also served by a running daemon at GET /api/openapi.json.

If you are not using .NET, use the OpenAPI document with your viewer or client generator of choice.

Local mock daemon ​

For client development, start from mock files instead of a real Soulseek account:

bash
python scripts/create_mock_music_library.py -o /tmp/sockseek-fixture

sockseek daemon --web-password-file /path/to/test-password --allow-http-auth \
  --mock-files-dir /tmp/sockseek-fixture/mock-library \
  --mock-files-no-read-tags \
  --mock-files-slow \
  --server-port 5030 \
  -o /tmp/sockseek-out

Client source to read ​