example-data.com

albums

albums

Page 9 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": 193,
      "artistId": 69,
      "title": "Arca",
      "slug": "arca-193",
      "releaseDate": "2018-05-20",
      "trackCount": 13,
      "durationSeconds": 3571,
      "genres": [
        "soul",
        "country"
      ],
      "coverUrl": "https://picsum.photos/seed/album-193/500/500",
      "createdAt": "2024-05-03T23:54:16.331Z"
    },
    {
      "id": 194,
      "artistId": 69,
      "title": "Deludo vestigium",
      "slug": "deludo-vestigium-194",
      "releaseDate": "2009-08-10",
      "trackCount": 9,
      "durationSeconds": 2443,
      "genres": [
        "r&b",
        "pop"
      ],
      "coverUrl": "https://picsum.photos/seed/album-194/500/500",
      "createdAt": "2023-09-14T11:43:41.760Z"
    },
    {
      "id": 195,
      "artistId": 69,
      "title": "Demergo",
      "slug": "demergo-195",
      "releaseDate": "2024-04-16",
      "trackCount": 6,
      "durationSeconds": 1610,
      "genres": [
        "jazz"
      ],
      "coverUrl": "https://picsum.photos/seed/album-195/500/500",
      "createdAt": "2026-03-25T16:40:11.880Z"
    }
  ],
  "meta": {
    "page": 9,
    "limit": 24,
    "total": 282,
    "totalPages": 12
  },
  "links": {
    "self": "/api/v1/albums?page=9",
    "next": "/api/v1/albums?page=10",
    "prev": "/api/v1/albums?page=8"
  }
}
Draftbit