example-data.com

songs / #155

Rock With You

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/songs/155" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/songs/155"
);
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/155"
);
const song = (await res.json()) as Song;
import requests

res = requests.get(
    "https://example-data.com/api/v1/songs/155"
)
song = res.json()
{
  "id": 155,
  "albumId": 16,
  "artistId": 6,
  "title": "Rock With You",
  "slug": "rock-with-you-155",
  "trackNumber": 1,
  "durationSeconds": 358,
  "isExplicit": false,
  "playCount": 36118644,
  "createdAt": "2025-05-14T08:10:35.724Z"
}
Draftbit