example-data.com

albums

albums

Page 6 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": 121,
      "artistId": 45,
      "title": "Auctor",
      "slug": "auctor-121",
      "releaseDate": "1996-08-27",
      "trackCount": 7,
      "durationSeconds": 1105,
      "genres": [
        "soul",
        "reggae"
      ],
      "coverUrl": "https://picsum.photos/seed/album-121/500/500",
      "createdAt": "2025-08-07T22:56:54.553Z"
    },
    {
      "id": 122,
      "artistId": 45,
      "title": "Testimonium asperiores incidunt",
      "slug": "testimonium-asperiores-incidunt-122",
      "releaseDate": "2011-02-06",
      "trackCount": 12,
      "durationSeconds": 1601,
      "genres": [
        "classical",
        "jazz"
      ],
      "coverUrl": "https://picsum.photos/seed/album-122/500/500",
      "createdAt": "2024-05-30T04:27:42.542Z"
    },
    {
      "id": 123,
      "artistId": 46,
      "title": "Convoco suscipit teres sint",
      "slug": "convoco-suscipit-teres-sint-123",
      "releaseDate": "2011-05-14",
      "trackCount": 10,
      "durationSeconds": 2909,
      "genres": [
        "punk"
      ],
      "coverUrl": "https://picsum.photos/seed/album-123/500/500",
      "createdAt": "2025-05-05T10:50:24.409Z"
    }
  ],
  "meta": {
    "page": 6,
    "limit": 24,
    "total": 282,
    "totalPages": 12
  },
  "links": {
    "self": "/api/v1/albums?page=6",
    "next": "/api/v1/albums?page=7",
    "prev": "/api/v1/albums?page=5"
  }
}
Draftbit