Skip to content
GET /v1/playlist

Playlist with 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/spotify-api

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

Get an API key

Code snippets

curl "https://api.oanor.com/spotify-api/v1/playlist" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/spotify-api/v1/playlist", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/spotify-api/v1/playlist");
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/spotify-api/v1/playlist",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

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

{
    "data": {
        "playlist": {
            "id": "37i9dQZF1DXcBWIGoYBM5M",
            "uri": "spotify:playlist:37i9dQZF1DXcBWIGoYBM5M",
            "url": "https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M",
            "name": "Today’s Top Hits",
            "type": "playlist",
            "owners": [
                "Spotify"
            ],
            "tracks": [
                {
                    "id": "20jbSiX29FDX4oQxBXyUEi",
                    "title": "hate that i made you love me",
                    "artists": [
                        "Ariana Grande"
                    ],
                    "explicit": false,
                    "playable": true,
                    "subtitle": "Ariana Grande",
                    "has_video": false,
                    "duration_ms": 197949,
                    "audio_preview": "https://p.scdn.co/mp3-preview/9fb8e09c9facc2d9443b6e57ae36d47bf83c01b8"
                },
                {
                    "id": "5uPaqMMt59KGrdKIitDRqa",
                    "title": "I Knew It, I Knew You",
                    "artists": [
                        "Taylor Swift"
                    ],
                    "explicit": false,
                    "playable": true,
                    "subtitle": "Taylor Swift",
                    "has_video": false,
                    "duration_ms": 178186,
                    "audio_preview": "https://p.scdn.co/mp3-preview/d21ded2a54dde5461f908b1bf26f1b4bae5ac139"
                },
                {
                    "id": "5yvVYFDUpbnjcnRBgjwTzM",
                    "title": "Dracula - JENNIE Remix",
                    "artists": [
                        "Tame Impala",
                        "JENNIE"
                    ],
                    "explicit": true,
                    "playable": true,
                    "subtitle": "Tame Impala, JENNIE",
                    "has_video": false,
                    "duration_ms": 209720,
                    "audio_preview": "https://p.scdn.co/mp3-preview/631b9cec18551169382ef4be4f01e40bc5523441"
                },
                {
                    "id": "7yNf9YjeO5JXUE3JEBgnYc",
                    "title": "Babydoll",
                    "artists": [
                        "Dominic Fike"
                    ],
                    "explicit": false,
                    "playable": true,
                    "subtitle": "Dominic Fike",
                    "has_video": false,
                    "duration_ms": 97960,
                    "audio_preview": "https://p.scdn.co/mp3-preview/bf5ab98492256120bd9c48658e9c899c8692f77f"
                },
                {
                    "id": "1qbmS6ep2hbBRaEZFpn7BX",
                    "title": "Man I Need",
                    "artists": [
                        "Olivia Dean"
                    ],
                    "explicit": false,
                    "playable": true,
                    "subtitle": "Olivia Dean",
                    "has_v
…