Clam
2012
punkr&bmetal
Overview
albums / #273
2012
Clam
2012
Request
curl example
curl -sS \ "https://example-data.com/api/v1/albums/273" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/albums/273" ); 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/273"
);
const album = (await res.json()) as Album; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/albums/273"
)
album = res.json() Response
{
"id": 273,
"artistId": 95,
"title": "Clam",
"slug": "clam-273",
"releaseDate": "2012-05-16",
"trackCount": 11,
"durationSeconds": 1550,
"genres": [
"punk",
"r&b",
"metal"
],
"coverUrl": "https://picsum.photos/seed/album-273/500/500",
"createdAt": "2025-07-18T19:11:30.299Z"
}