example-data.com

albums

albums

Page 7 of 10.

curl -sS \
  "https://example-data.com/api/v1/albums?limit=25"
const res = await fetch(
  "https://example-data.com/api/v1/albums?limit=25"
);
const { data, meta } = await res.json();
import type { Album, ListEnvelope } from "https://example-data.com/types/albums.d.ts";

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

res = requests.get(
    "https://example-data.com/api/v1/albums",
    params={"limit": 25},
)
data = res.json()
{
  "data": [
    {
      "id": 145,
      "artistId": 52,
      "title": "Paulatim deficio",
      "slug": "paulatim-deficio-145",
      "releaseDate": "2010-02-16",
      "trackCount": 8,
      "durationSeconds": 1059,
      "genres": [
        "classical",
        "country",
        "metal"
      ],
      "coverUrl": "https://picsum.photos/seed/album-145/500/500",
      "createdAt": "2025-04-13T19:19:40.888Z"
    },
    {
      "id": 146,
      "artistId": 52,
      "title": "Nemo maxime eos",
      "slug": "nemo-maxime-eos-146",
      "releaseDate": "2025-12-08",
      "trackCount": 7,
      "durationSeconds": 1876,
      "genres": [
        "punk"
      ],
      "coverUrl": "https://picsum.photos/seed/album-146/500/500",
      "createdAt": "2024-04-30T02:09:35.204Z"
    },
    {
      "id": 147,
      "artistId": 52,
      "title": "Coma",
      "slug": "coma-147",
      "releaseDate": "2010-11-24",
      "trackCount": 13,
      "durationSeconds": 4047,
      "genres": [
        "country",
        "jazz"
      ],
      "coverUrl": "https://picsum.photos/seed/album-147/500/500",
      "createdAt": "2024-08-22T21:09:22.960Z"
    }
  ],
  "meta": {
    "page": 7,
    "limit": 24,
    "total": 282,
    "totalPages": 12
  },
  "links": {
    "self": "/api/v1/albums?page=7",
    "next": "/api/v1/albums?page=8",
    "prev": "/api/v1/albums?page=6"
  }
}
Draftbit