example-data.com

albums

albums

Browse 282 albums records. Free mock data API by Draftbit — fetch over REST or browse paginated HTML.

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": 1,
      "artistId": 1,
      "title": "Addo",
      "slug": "addo-1",
      "releaseDate": "2004-09-07",
      "trackCount": 9,
      "durationSeconds": 3365,
      "genres": [
        "soul",
        "electronic",
        "folk"
      ],
      "coverUrl": "https://picsum.photos/seed/album-1/500/500",
      "createdAt": "2025-10-18T04:51:02.326Z"
    },
    {
      "id": 2,
      "artistId": 1,
      "title": "Asperiores thermae",
      "slug": "asperiores-thermae-2",
      "releaseDate": "2010-07-15",
      "trackCount": 9,
      "durationSeconds": 1716,
      "genres": [
        "hip-hop"
      ],
      "coverUrl": "https://picsum.photos/seed/album-2/500/500",
      "createdAt": "2023-07-25T15:03:43.526Z"
    },
    {
      "id": 3,
      "artistId": 2,
      "title": "Constans totidem",
      "slug": "constans-totidem-3",
      "releaseDate": "2024-09-17",
      "trackCount": 14,
      "durationSeconds": 5561,
      "genres": [
        "soul",
        "country"
      ],
      "coverUrl": "https://picsum.photos/seed/album-3/500/500",
      "createdAt": "2023-10-15T23:31:07.648Z"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 25,
    "total": 282,
    "totalPages": 12
  },
  "links": {
    "self": "/api/v1/albums?page=1",
    "first": "/api/v1/albums?page=1",
    "last": "/api/v1/albums?page=12",
    "next": "/api/v1/albums?page=2",
    "prev": null
  }
}

View full response →

Draftbit