Browse docs and collections
Overview
songs / #530
Component variants
Medium
So Much in Love
· 8 min
Small
So Much in Love Related
References
Request
curl example
curl -sS \ "https://example-data.com/api/v1/songs/530" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/songs/530" ); 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/530"
);
const song = (await res.json()) as Song; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/songs/530"
)
song = res.json() Response
{
"id": 530,
"albumId": 49,
"artistId": 19,
"title": "So Much in Love",
"slug": "so-much-in-love-530",
"trackNumber": 11,
"durationSeconds": 473,
"isExplicit": false,
"playCount": 41412661,
"createdAt": "2025-12-30T01:40:54.128Z"
}