example-data.com
Menu
Browse docs and collections

Overview

albums / #281

Sublime volo

Sublime volo

2020

country

Component variants

Related

Referenced by

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/albums/281" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/albums/281"
);
const album = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/albums.d.ts https://example-data.com/types/albums.d.ts
import type { Album } from "./types/albums";

const res = await fetch(
  "https://example-data.com/api/v1/albums/281"
);
const album = (await res.json()) as Album;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/albums/281"
)
album = res.json()

Response

{
  "id": 281,
  "artistId": 100,
  "title": "Sublime volo",
  "slug": "sublime-volo-281",
  "releaseDate": "2020-01-09",
  "trackCount": 11,
  "durationSeconds": 2496,
  "genres": [
    "country"
  ],
  "coverUrl": "https://picsum.photos/seed/album-281/500/500",
  "createdAt": "2026-05-02T15:23:08.385Z"
}