1001Tracklists artist tracks
The tracks of an artist or producer, newest release first. Each track: id, link, name, artist, title, label (id, name, link), artwork, release date, genre, unique DJ support, tracklist plays, Spotify saves, track_num_id (for /track-media) and the players it has (YouTube, SoundCloud, Spotify, Apple Music, shops). Also returns the artist's id, slug, name and link. Pass next_cursor back as cursor; null on the last page. Unknown artists answer 404.
Every response includes credits_used: the credits this call cost.
Part of the 1001Tracklists API: 14 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
artistrequired | string | An artist id from search (e.g. j4dbbd), an artist slug as in 1001tracklists.com/artist/<slug>/ (e.g. armin-van-buuren), the artist's name, or the artist's link. Example: armin-van-buuren |
limit | integer | Items per page (1-100). Default: 30 |
cursor | string | The next_cursor of the previous page; leave out for the first page. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/1001tracklists/v1/artist-tracks?artist=armin-van-buuren" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/1001tracklists/v1/artist-tracks",
params={"artist": "armin-van-buuren"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/1001tracklists/v1/artist-tracks");
url.searchParams.set("artist", "armin-van-buuren");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"artist_id": "k0y0md","artist_slug": "david-guetta","artist_name": "David Guetta","artist_url": "https://www.1001tracklists.com/artist/david-guetta/tracks.html","limit": 10,"count": 10,"tracks": [{"id": "6g030f6x","url": "https://www.1001tracklists.com/track/6g030f6x/zombie-nation-kernkraft-400-david-guetta-marten-horger-pres.-men-machine-remix/index.html","name": "Zombie Nation - Kernkraft 400 (David Guetta & MARTEN HØRGER pres. Men Machine Remix)","artist": "Zombie Nation","title": "Kernkraft 400 (David Guetta & MARTEN HØRGER pres. Men Machine Remix)","label": {"id": "cd7x8r","name": "EPM","url": "https://www.1001tracklists.com/label/cd7x8r/epm-music/index.html"},"artwork": "https://geo-media.beatport.com/image_size/300x300/19667c7c-7f48-4430-8f05-176025cdc2f1.jpg","release_date": null,"genre": null,"unique_dj_support": null,"tracklist_plays": 9,"spotify_saves": 13,"spotify_presave": true,"track_num_id": 1193975,"media_available": []},{"id": "nf1whlf5","url": "https://www.1001tracklists.com/track/nf1whlf5/lana-del-rey-young-beautiful-david-guetta-r3hab-remix/index.html","name": "Lana Del Rey - Young & Beautiful (David Guetta & R3HAB Remix)","artist": "Lana Del Rey","title": "Young & Beautiful (David Guetta & R3HAB Remix)","label": {"id": "vgh3pr","name": "INTERSCOPE","url": "https://www.1001tracklists.com/label/vgh3pr/interscope-records/index.html"},"artwork": "https://geo-media.beatport.com/image_size/300x300/91415492-21e8-4835-852f-b9e4fe094005.jpg","release_date": null,"genre": null,"unique_dj_support": null,"tracklist_plays": 2,"spotify_saves": 5,"spotify_presave": true,"track_num_id": 1216836,"media_available": []},"… 8 more"],"next_cursor": "10.4dtluc7p","cached": false,"credits_used": 1}