Skip to content
GET /v1/album/tracks

An album's tracks

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/audiodb-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/audiodb-api/v1/album/tracks" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/audiodb-api/v1/album/tracks", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/audiodb-api/v1/album/tracks");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/audiodb-api/v1/album/tracks",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "count": 11,
        "tracks": [
            {
                "id": "32724169",
                "name": "Politik",
                "genre": "Pop-Rock",
                "thumb": null,
                "number": 1,
                "duration_ms": 318626,
                "music_video": null
            },
            {
                "id": "32724170",
                "name": "In My Place",
                "genre": "Pop-Rock",
                "thumb": "https://r2.theaudiodb.com/images/media/track/thumb/tvsxqr1340354952.jpg",
                "number": 2,
                "duration_ms": 228733,
                "music_video": "https://www.youtube.com/watch?v=gnIZ7RMuLpU"
            },
            {
                "id": "32724171",
                "name": "God Put a Smile Upon Your Face",
                "genre": "Pop-Rock",
                "thumb": "https://r2.theaudiodb.com/images/media/track/thumb/qytusw1553139856.jpg",
                "number": 3,
                "duration_ms": 297306,
                "music_video": "https://www.youtube.com/watch?v=qhIVgSoJVRc"
            },
            {
                "id": "32724172",
                "name": "The Scientist",
                "genre": "Pop-Rock",
                "thumb": "https://r2.theaudiodb.com/images/media/track/thumb/xuxwwp1340355023.jpg",
                "number": 4,
                "duration_ms": 309160,
                "music_video": "https://www.youtube.com/watch?v=RB-RcX5DS5A"
            },
            {
                "id": "32724173",
                "name": "Clocks",
                "genre": "Pop-Rock",
                "thumb": "https://r2.theaudiodb.com/images/media/track/thumb/ywsvvp1340355105.jpg",
                "number": 5,
                "duration_ms": 307466,
                "music_video": "https://www.youtube.com/watch?v=d020hcWA_Wg"
            },
            {
                "id": "32724174",
                "name": "Daylight",
                "genre": "Pop-Rock",
                "thumb": null,
                "number": 6,
                "duration_ms": 327800,
                "music_video": null
            },
            {
                "id": "32724175",
                "name": "Green Eyes",
                "genre": "Pop-Rock",
                "thumb": null,
                "number": 7,
                "duration_ms": 223040,
                "music_video": null
            },
            {
                "id": "32724176",
                "name": "Warning Sign",
                "genre": "Pop-Rock",
                "thumb": null,
                "number": 8,
                "duration_ms": 331133,
                "music_video": null
            },
            {
                "id": "32724177",
                "name": "A Whisper",
                "genre": "Pop-Rock",
                "thumb": null,
                "number": 9,
                "duration_ms": 238333,
                "music_video": null
            },
            {
                
…