List all tracks in the library
curl --request GET \
--url http://localhost:6063/tracksimport requests
url = "http://localhost:6063/tracks"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:6063/tracks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "6063",
CURLOPT_URL => "http://localhost:6063/tracks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:6063/tracks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://localhost:6063/tracks")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:6063/tracks")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": "cmnvrqv4k002zpdwax7lrsbhh",
"path": "/Users/tsirysandratraina/Music/Juicy J - The Trippy Tapes Vol. 1 (Explicit)/26. Juicy J, DJ Scream, Babyfxce E - Scotty (feat. Babyfxce E ) (Explicit).m4a",
"title": " Scotty (feat. Babyfxce E )",
"artist": "Juicy J, DJ Scream, Babyfxce E",
"album": "The Trippy Tapes Vol. 1",
"album_artist": "Juicy J, DJ Scream",
"bitrate": 320,
"composer": "",
"disc_number": 1,
"filesize": 6746791,
"frequency": 44100,
"length": 168664,
"track_number": 26,
"year": 2026,
"year_string": "2026-04-03",
"md5": "b418a0d44e61ef179005ff9a13d5c8bd",
"album_art": "8c8b3a145776af32d29ea293691ecaa8.jpg",
"artist_id": "cmnvrqv3b0000pdwaux8uj1d2",
"album_id": "cmnvrqv3b0001pdwatmcq1aqt",
"genre_id": "",
"is_remote": false,
"created_at": 1775998658,
"updated_at": 1775998658
}
]Tracks
List all tracks in the library
GET
/
tracks
List all tracks in the library
curl --request GET \
--url http://localhost:6063/tracksimport requests
url = "http://localhost:6063/tracks"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:6063/tracks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "6063",
CURLOPT_URL => "http://localhost:6063/tracks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:6063/tracks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://localhost:6063/tracks")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:6063/tracks")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": "cmnvrqv4k002zpdwax7lrsbhh",
"path": "/Users/tsirysandratraina/Music/Juicy J - The Trippy Tapes Vol. 1 (Explicit)/26. Juicy J, DJ Scream, Babyfxce E - Scotty (feat. Babyfxce E ) (Explicit).m4a",
"title": " Scotty (feat. Babyfxce E )",
"artist": "Juicy J, DJ Scream, Babyfxce E",
"album": "The Trippy Tapes Vol. 1",
"album_artist": "Juicy J, DJ Scream",
"bitrate": 320,
"composer": "",
"disc_number": 1,
"filesize": 6746791,
"frequency": 44100,
"length": 168664,
"track_number": 26,
"year": 2026,
"year_string": "2026-04-03",
"md5": "b418a0d44e61ef179005ff9a13d5c8bd",
"album_art": "8c8b3a145776af32d29ea293691ecaa8.jpg",
"artist_id": "cmnvrqv3b0000pdwaux8uj1d2",
"album_id": "cmnvrqv3b0001pdwatmcq1aqt",
"genre_id": "",
"is_remote": false,
"created_at": 1775998658,
"updated_at": 1775998658
}
]Response
200 - application/json
All tracks
Duration in milliseconds
⌘I