Overview
The Lavalink REST API provides HTTP endpoints for player control, track loading, session management, and server information. All v4 routes are prefixed with/v4.
Authentication
Most endpoints require theAuthorization header with your configured Lavalink password.
The password configured in your Lavalink server configuration
API Versioning
Lavalink uses versioned API routes:- v4 - Current version (prefix:
/v4) - v3 - Legacy version (prefix:
/v3, available in v3.7.0+) - Unversioned routes were removed in v4 (except
/version)
Error Responses
When an error occurs, Lavalink returns a JSON error response. Add?trace=true to receive the full stack trace.
Unix timestamp in milliseconds when the error occurred
The HTTP status code
The HTTP status code message
The error message describing what went wrong
The request path that triggered the error
The full stack trace (only included when
?trace=true query parameter is present)Get Lavalink Info
Retrieve detailed information about the Lavalink server.Response
Semantic version information
Unix timestamp in milliseconds when this Lavalink build was created
Git repository information
The JVM version running Lavalink
The Lavaplayer version being used
List of enabled source managers (e.g., [“youtube”, “soundcloud”])
List of enabled audio filters (e.g., [“equalizer”, “karaoke”, “timescale”])
List of enabled plugins
Get Lavalink Version
Retrieve the Lavalink version string.This is the only unversioned endpoint that still exists in v4.
Response
Returns a plain text version string.Get Lavalink Stats
Retrieve current statistics about the Lavalink server.Response
The number of players connected to this node
The number of players currently playing a track
The uptime of the node in milliseconds
Memory usage statistics
CPU usage statistics
The
frameStats field is always null for this REST endpoint. It’s only available via the WebSocket stats OP when players are active.Insomnia Collection
An Insomnia collection with all endpoints is available in the Lavalink repository atInsomnia.json.
Related Endpoints
- Track Loading - Load and decode audio tracks
- Player Endpoints - Control player playback
- Session Endpoints - Manage Lavalink sessions