Browse docs and collections
Overview
songs / #1895
Component variants
Medium
Money For Nothing
· 3 min
Small
Money For Nothing Related
References
Request
curl example
curl -sS \ "https://example-data.com/api/v1/songs/1895" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/songs/1895" ); 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/1895"
);
const song = (await res.json()) as Song; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/songs/1895"
)
song = res.json() Response
{
"id": 1895,
"albumId": 180,
"artistId": 64,
"title": "Money For Nothing",
"slug": "money-for-nothing-1895",
"trackNumber": 9,
"durationSeconds": 191,
"isExplicit": false,
"playCount": 3013736,
"createdAt": "2025-08-07T14:12:17.591Z"
}