example-data.com

songs

songs

Page 8 of 10.

curl -sS \
  "https://example-data.com/api/v1/songs?limit=25"
const res = await fetch(
  "https://example-data.com/api/v1/songs?limit=25"
);
const { data, meta } = await res.json();
import type { Song, ListEnvelope } from "https://example-data.com/types/songs.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/songs?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Song>;
import requests

res = requests.get(
    "https://example-data.com/api/v1/songs",
    params={"limit": 25},
)
data = res.json()
{
  "data": [
    {
      "id": 169,
      "albumId": 17,
      "artistId": 7,
      "title": "Love's Theme",
      "slug": "loves-theme-169",
      "trackNumber": 6,
      "durationSeconds": 288,
      "isExplicit": false,
      "playCount": 35136480,
      "createdAt": "2025-05-07T14:56:52.551Z"
    },
    {
      "id": 170,
      "albumId": 17,
      "artistId": 7,
      "title": "Lonely Boy",
      "slug": "lonely-boy-170",
      "trackNumber": 7,
      "durationSeconds": 341,
      "isExplicit": false,
      "playCount": 30599569,
      "createdAt": "2021-06-13T17:55:46.568Z"
    },
    {
      "id": 171,
      "albumId": 17,
      "artistId": 7,
      "title": "Tammy",
      "slug": "tammy-171",
      "trackNumber": 8,
      "durationSeconds": 167,
      "isExplicit": false,
      "playCount": 32404790,
      "createdAt": "2025-05-12T11:34:27.172Z"
    }
  ],
  "meta": {
    "page": 8,
    "limit": 24,
    "total": 2978,
    "totalPages": 125
  },
  "links": {
    "self": "/api/v1/songs?page=8",
    "next": "/api/v1/songs?page=9",
    "prev": "/api/v1/songs?page=7"
  }
}
Draftbit