example-data.com

albums

albums

Page 2 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": 25,
      "artistId": 11,
      "title": "Causa curiositas",
      "slug": "causa-curiositas-25",
      "releaseDate": "2002-12-03",
      "trackCount": 13,
      "durationSeconds": 3298,
      "genres": [
        "country",
        "reggae"
      ],
      "coverUrl": "https://picsum.photos/seed/album-25/500/500",
      "createdAt": "2023-12-21T19:43:11.270Z"
    },
    {
      "id": 26,
      "artistId": 11,
      "title": "Doloremque",
      "slug": "doloremque-26",
      "releaseDate": "2002-01-30",
      "trackCount": 10,
      "durationSeconds": 3571,
      "genres": [
        "jazz",
        "pop",
        "metal"
      ],
      "coverUrl": "https://picsum.photos/seed/album-26/500/500",
      "createdAt": "2024-08-10T18:32:39.081Z"
    },
    {
      "id": 27,
      "artistId": 12,
      "title": "Undique caste summa damnatio",
      "slug": "undique-caste-summa-damnatio-27",
      "releaseDate": "2006-09-24",
      "trackCount": 13,
      "durationSeconds": 2995,
      "genres": [
        "hip-hop"
      ],
      "coverUrl": "https://picsum.photos/seed/album-27/500/500",
      "createdAt": "2025-05-19T18:42:35.865Z"
    }
  ],
  "meta": {
    "page": 2,
    "limit": 24,
    "total": 282,
    "totalPages": 12
  },
  "links": {
    "self": "/api/v1/albums?page=2",
    "next": "/api/v1/albums?page=3",
    "prev": "/api/v1/albums?page=1"
  }
}
Draftbit