example-data.com
Menu
Browse docs and collections

playlists

playlists

Page 2 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": 25,
      "userId": 167,
      "name": "Hey There Mix",
      "slug": "hey-there-mix-25",
      "description": "Nihil confugo crinis thymum coerceo cras correptius triduana deprecator aliqua traho.",
      "songIds": [
        1663,
        1596,
        515,
        944,
        1937,
        910,
        2619,
        2062,
        322,
        1806,
        1601,
        1461,
        2651,
        391,
        1738,
        860,
        746,
        706,
        2520,
        2241,
        197,
        448,
        267,
        1081
      ],
      "isPublic": true,
      "coverUrl": "https://picsum.photos/seed/playlist-25/500/500",
      "createdAt": "2026-05-13T07:07:20.157Z",
      "updatedAt": "2026-05-15T16:35:52.667Z"
    },
    {
      "id": 26,
      "userId": 14,
      "name": "We Built This City Mix",
      "slug": "we-built-this-city-mix-26",
      "description": "Tres video aeger caveo decretum debilito sum ambulo clementia arbitro.",
      "songIds": [
        44,
        1984,
        1905,
        2843,
        682,
        1109,
        361,
        1978,
        2005,
        1356,
        161,
        1907,
        2277,
        597,
        144,
        1379,
        840,
        592,
        542,
        2938,
        2374,
        271,
        1853,
        999,
        1164,
        826,
        2351,
        940,
        2753,
        157,
        2429,
        2090,
        92,
        1130,
        1231,
        1977,
        1213,
        2431,
        2681,
        1120,
        2611,
        1004
      ],
      "isPublic": true,
      "coverUrl": "https://picsum.photos/seed/playlist-26/500/500",
      "createdAt": "2024-09-18T00:51:00.197Z",
      "updatedAt": "2024-10-12T12:01:03.614Z"
    },
    {
      "id": 27,
      "userId": 221,
      "name": "This Land is Your Land Mix",
      "slug": "this-land-is-your-land-mix-27",
      "description": "Utilis adflicto deleniti ciminatio tunc vis degenero soleo debeo conatus textus vacuus ventus.",
      "songIds": [
        447,
        1121,
        542,
        1555,
        2588,
        2132,
        1069,
        1059,
        781,
        1964,
        892,
        2125,
        2960,
        2010,
        36,
        1682,
        1016,
        2606,
        2395,
        1443,
        411,
        1200,
        2052,
        555,
        2209,
        2501,
        1194,
        2440,
        2316,
        1659,
        1554,
        1240,
        2016,
        1315,
        609,
        2296,
        1367,
        2839,
        2239,
        1528,
        817,
        639,
        2964,
        2385,
        2530,
        1024,
        2094,
        2246
      ],
      "isPublic": false,
      "coverUrl": "https://picsum.photos/seed/playlist-27/500/500",
      "createdAt": "2026-01-16T00:10:01.015Z",
      "updatedAt": "2026-02-08T16:24:32.556Z"
    }
  ],
  "meta": {
    "page": 2,
    "limit": 24,
    "total": 200,
    "totalPages": 9
  },
  "links": {
    "self": "/api/v1/playlists?page=2&limit=24",
    "first": "/api/v1/playlists?page=1&limit=24",
    "last": "/api/v1/playlists?page=9&limit=24",
    "next": "/api/v1/playlists?page=3&limit=24",
    "prev": "/api/v1/playlists?page=1&limit=24"
  }
}