Browse docs and collections
Overview
songs / #898
Component variants
Medium
Tennessee Waltz
· 7 min
Small
Tennessee Waltz Related
References
Request
curl example
curl -sS \ "https://example-data.com/api/v1/songs/898" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/songs/898" ); const song = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/songs.d.ts https://example-data.com/types/songs.d.ts
import type { Song } from "./types/songs";
const res = await fetch(
"https://example-data.com/api/v1/songs/898"
);
const song = (await res.json()) as Song; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/songs/898"
)
song = res.json() Response
{
"id": 898,
"albumId": 86,
"artistId": 34,
"title": "Tennessee Waltz",
"slug": "tennessee-waltz-898",
"trackNumber": 2,
"durationSeconds": 405,
"isExplicit": false,
"playCount": 49471038,
"createdAt": "2026-02-08T12:09:54.621Z"
}