List tracks by an artist
curl --request GET \
--url http://localhost:6063/artists/{id}/tracksimport requests
url = "http://localhost:6063/artists/{id}/tracks"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:6063/artists/{id}/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/artists/{id}/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/artists/{id}/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/artists/{id}/tracks")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:6063/artists/{id}/tracks")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": "cmodxew9o006spdmdnhqjh8ab",
"path": "/Users/tsirysandratraina/Music/J. Cole - 2014 Forest Hills Drive (Explicit)/04. J. Cole - 03’ Adolescence (Explicit).m4a",
"title": "03’ Adolescence",
"artist": "J. Cole",
"album": "2014 Forest Hills Drive",
"album_artist": "J. Cole",
"bitrate": 320,
"composer": "",
"disc_number": 1,
"filesize": 10570653,
"frequency": 44100,
"length": 264259,
"track_number": 4,
"year": 2014,
"year_string": "2014-12-09",
"md5": "0edf984c5a9cb95e6d9003b47f10e991",
"album_art": "216ccc791352fbbffc11268b984db19a.jpg",
"artist_id": "cmodw19po0005pdmd6k9mwauv",
"album_id": "cmodxew8w0053pdmdmro8vx0w",
"genre_id": "",
"is_remote": false,
"created_at": 1777096568,
"updated_at": 1777096568
},
{
"id": "cmodw19qb002apdmd476zdpfv",
"path": "/Users/tsirysandratraina/Music/J. Cole - The Fall-Off (Explicit)/101. J. Cole - 29 Intro (Explicit).m4a",
"title": "29 Intro",
"artist": "J. Cole",
"album": "The Fall-Off",
"album_artist": "J. Cole",
"bitrate": 320,
"composer": "",
"disc_number": 1,
"filesize": 2311779,
"frequency": 44100,
"length": 57779,
"track_number": 1,
"year": 2026,
"year_string": "2026-02-06",
"md5": "72ee494cab9aba116e2fe724e347dc59",
"album_art": "20a95234ea29a20884f5c6a1ef5ad592.jpg",
"artist_id": "cmodw19po0005pdmd6k9mwauv",
"album_id": "cmodw19pi0001pdmdv76spfpp",
"genre_id": "",
"is_remote": false,
"created_at": 1777094253,
"updated_at": 1777094253
}
]Artists
List tracks by an artist
GET
/
artists
/
{id}
/
tracks
List tracks by an artist
curl --request GET \
--url http://localhost:6063/artists/{id}/tracksimport requests
url = "http://localhost:6063/artists/{id}/tracks"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:6063/artists/{id}/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/artists/{id}/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/artists/{id}/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/artists/{id}/tracks")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:6063/artists/{id}/tracks")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": "cmodxew9o006spdmdnhqjh8ab",
"path": "/Users/tsirysandratraina/Music/J. Cole - 2014 Forest Hills Drive (Explicit)/04. J. Cole - 03’ Adolescence (Explicit).m4a",
"title": "03’ Adolescence",
"artist": "J. Cole",
"album": "2014 Forest Hills Drive",
"album_artist": "J. Cole",
"bitrate": 320,
"composer": "",
"disc_number": 1,
"filesize": 10570653,
"frequency": 44100,
"length": 264259,
"track_number": 4,
"year": 2014,
"year_string": "2014-12-09",
"md5": "0edf984c5a9cb95e6d9003b47f10e991",
"album_art": "216ccc791352fbbffc11268b984db19a.jpg",
"artist_id": "cmodw19po0005pdmd6k9mwauv",
"album_id": "cmodxew8w0053pdmdmro8vx0w",
"genre_id": "",
"is_remote": false,
"created_at": 1777096568,
"updated_at": 1777096568
},
{
"id": "cmodw19qb002apdmd476zdpfv",
"path": "/Users/tsirysandratraina/Music/J. Cole - The Fall-Off (Explicit)/101. J. Cole - 29 Intro (Explicit).m4a",
"title": "29 Intro",
"artist": "J. Cole",
"album": "The Fall-Off",
"album_artist": "J. Cole",
"bitrate": 320,
"composer": "",
"disc_number": 1,
"filesize": 2311779,
"frequency": 44100,
"length": 57779,
"track_number": 1,
"year": 2026,
"year_string": "2026-02-06",
"md5": "72ee494cab9aba116e2fe724e347dc59",
"album_art": "20a95234ea29a20884f5c6a1ef5ad592.jpg",
"artist_id": "cmodw19po0005pdmd6k9mwauv",
"album_id": "cmodw19pi0001pdmdv76spfpp",
"genre_id": "",
"is_remote": false,
"created_at": 1777094253,
"updated_at": 1777094253
}
]Path Parameters
Response
200 - application/json
Tracks by the artist
Duration in milliseconds
⌘I