example-data.com

songs

songs

Page 2 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": 25,
      "albumId": 4,
      "artistId": 2,
      "title": "Till I Waltz Again With You",
      "slug": "till-i-waltz-again-with-you-25",
      "trackNumber": 1,
      "durationSeconds": 363,
      "isExplicit": false,
      "playCount": 24731162,
      "createdAt": "2025-03-19T05:21:20.184Z"
    },
    {
      "id": 26,
      "albumId": 4,
      "artistId": 2,
      "title": "Morning Train (Nine to Five)",
      "slug": "morning-train-nine-to-five-26",
      "trackNumber": 2,
      "durationSeconds": 432,
      "isExplicit": false,
      "playCount": 38615386,
      "createdAt": "2023-01-10T15:17:57.671Z"
    },
    {
      "id": 27,
      "albumId": 4,
      "artistId": 2,
      "title": "Me & Bobby McGee",
      "slug": "me-bobby-mcgee-27",
      "trackNumber": 3,
      "durationSeconds": 202,
      "isExplicit": false,
      "playCount": 8877419,
      "createdAt": "2021-10-27T18:45:31.581Z"
    }
  ],
  "meta": {
    "page": 2,
    "limit": 24,
    "total": 2978,
    "totalPages": 125
  },
  "links": {
    "self": "/api/v1/songs?page=2",
    "next": "/api/v1/songs?page=3",
    "prev": "/api/v1/songs?page=1"
  }
}
Draftbit