Browse docs and collections
Overview
Request
curl example
curl -sS \ "https://example-data.com/api/v1/songs/1077" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/songs/1077" ); 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/1077"
);
const song = (await res.json()) as Song; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/songs/1077"
)
song = res.json() Response
{
"id": 1077,
"albumId": 103,
"artistId": 40,
"title": "All Shook Up",
"slug": "all-shook-up-1077",
"trackNumber": 3,
"durationSeconds": 409,
"isExplicit": false,
"playCount": 28359556,
"createdAt": "2025-10-12T16:07:12.420Z"
}