example-data.com
Menu
Browse docs and collections

playlists

playlists

Page 8 of 9.

Overview

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/playlists?limit=25"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/playlists?limit=25"
);
const { data, meta } = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/playlists.d.ts https://example-data.com/types/playlists.d.ts
import type { Playlist, ListEnvelope } from "./types/playlists";

const res = await fetch(
  "https://example-data.com/api/v1/playlists?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Playlist>;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/playlists",
    params={"limit": 25},
)
data = res.json()

Response

{
  "data": [
    {
      "id": 169,
      "userId": 208,
      "name": "Apologize Mix",
      "slug": "apologize-mix-169",
      "description": "Uterque aureus pauci temeritas deripio stips accedo bene suscipio assentator caput aperte advoco.",
      "songIds": [
        186,
        2797,
        1925,
        2170,
        222,
        256,
        1758,
        479,
        2812,
        925,
        1328,
        1882,
        2454,
        1634,
        766,
        1229,
        1987,
        72,
        2695,
        1862,
        296,
        1745,
        359,
        185,
        1357,
        2945,
        541,
        1681,
        2684,
        434,
        21,
        2789,
        402,
        952,
        1553,
        629,
        1655,
        1569,
        1609,
        1567,
        1880,
        2432,
        270
      ],
      "isPublic": false,
      "coverUrl": "https://picsum.photos/seed/playlist-169/500/500",
      "createdAt": "2024-06-19T13:11:26.394Z",
      "updatedAt": "2024-06-30T07:57:44.435Z"
    },
    {
      "id": 170,
      "userId": 12,
      "name": "(Ghost) Riders in the Sky Mix",
      "slug": "ghost-riders-in-the-sky-mix-170",
      "description": "Tam vulticulus deduco texo nemo brevis denego cubitum peior abeo cervus numquam aliquid cum vitae.",
      "songIds": [
        40,
        409,
        2582,
        1482,
        2615,
        1798,
        2018,
        1842,
        2055,
        771,
        2307,
        2309,
        1733,
        799,
        2736,
        1771,
        1408,
        1448,
        2384,
        815,
        2433,
        606,
        741,
        2869,
        2829,
        1924,
        672,
        1434,
        1484,
        446,
        1563,
        2456,
        817,
        1912,
        1661,
        2150,
        1155,
        791,
        2069,
        2659,
        1031,
        546,
        794,
        2216,
        1630,
        1681
      ],
      "isPublic": true,
      "coverUrl": "https://picsum.photos/seed/playlist-170/500/500",
      "createdAt": "2026-05-11T18:32:09.056Z",
      "updatedAt": "2026-05-30T16:43:00.932Z"
    },
    {
      "id": 171,
      "userId": 42,
      "name": "All My Lovin' (You're Never Gonna Get It) Mix",
      "slug": "all-my-lovin-youre-never-gonna-get-it-mix-171",
      "description": "Magnam crepusculum thymum in supplanto animus laboriosam sum carbo tenax.",
      "songIds": [
        1601,
        890,
        1196,
        853,
        2144,
        406,
        636,
        2016,
        2163,
        106,
        1305,
        1340,
        1232,
        824,
        1336,
        2954,
        933,
        1870,
        462,
        744,
        101,
        2198,
        1992,
        1205,
        186,
        2385
      ],
      "isPublic": true,
      "coverUrl": "https://picsum.photos/seed/playlist-171/500/500",
      "createdAt": "2025-10-07T10:00:46.566Z",
      "updatedAt": "2025-10-15T06:30:56.463Z"
    }
  ],
  "meta": {
    "page": 8,
    "limit": 24,
    "total": 200,
    "totalPages": 9
  },
  "links": {
    "self": "/api/v1/playlists?page=8&limit=24",
    "first": "/api/v1/playlists?page=1&limit=24",
    "last": "/api/v1/playlists?page=9&limit=24",
    "next": "/api/v1/playlists?page=9&limit=24",
    "prev": "/api/v1/playlists?page=7&limit=24"
  }
}