curl -sS \
"https://example-data.com/api/v1/songs/76" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/songs/76"
);
const song = await res.json();import type { Song } from "https://example-data.com/types/songs.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/songs/76"
);
const song = (await res.json()) as Song;import requests
res = requests.get(
"https://example-data.com/api/v1/songs/76"
)
song = res.json() {
"id": 76,
"albumId": 8,
"artistId": 3,
"title": "Green Onions",
"slug": "green-onions-76",
"trackNumber": 9,
"durationSeconds": 223,
"isExplicit": false,
"playCount": 38095024,
"createdAt": "2026-04-22T18:03:24.205Z"
}