The Velora local API is a localhost-only HTTP and WebSocket interface exposed by the Electron desktop app. It lets approved local applications read playback state and send playback controls.
Availability
- Host:
127.0.0.1
- Default port:
39031
- Base URL:
http://127.0.0.1:39031
- Transport: HTTP and WebSocket
- CORS:
* with Authorization and Content-Type
- Scope: local machine only (loopback addresses)
The local API is designed for trusted local integrations. It does not accept non-loopback traffic.
What you can do
With read permission:
- Check server status
- Read the current track
- Read playback state
- Read playback queue
- Read the signed-in user’s public profile snapshot
- Subscribe to playback updates over WebSocket
With write permission:
- Play a specific track (or resume)
- Pause playback
- Skip to next track
- Seek to a position in milliseconds
- Toggle play and pause
Quick start
- Register your local app with
POST /register.
- Poll
GET /request-status?request_id=... until you receive an access_token.
- Use
Authorization: Bearer <token> (or access_token query param) for authenticated calls.
- Connect to
ws://127.0.0.1:39031/ws?access_token=<token> for real-time events.
curl -X POST http://127.0.0.1:39031/register \
-H "Content-Type: application/json" \
-d '{
"app": {
"name": "Game Launcher",
"description": "Local game launcher that allows downloading and playing games",
"developer": "CrickDevs",
"website": "https://gamelauncher.crickdevs.com",
"icon": "https://gamelauncher.crickdevs.com/icon.png"
},
"permissions": ["read", "write"]
}'