Browse docs and collections
Overview
songs / #1325
Component variants
Medium
Rolling In The Deep
· 3 min
Small
Rolling In The Deep Related
Request
curl example
curl -sS \ "https://example-data.com/api/v1/songs/1325" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/songs/1325" ); 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/1325"
);
const song = (await res.json()) as Song; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/songs/1325"
)
song = res.json() Response
{
"id": 1325,
"albumId": 125,
"artistId": 47,
"title": "Rolling In The Deep",
"slug": "rolling-in-the-deep-1325",
"trackNumber": 6,
"durationSeconds": 182,
"isExplicit": false,
"playCount": 42907488,
"createdAt": "2026-03-27T04:36:56.513Z"
}