example-data.com

songs

songs

Page 5 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": 97,
      "albumId": 10,
      "artistId": 5,
      "title": "Fast Car",
      "slug": "fast-car-97",
      "trackNumber": 7,
      "durationSeconds": 187,
      "isExplicit": false,
      "playCount": 29222612,
      "createdAt": "2025-07-31T20:21:43.852Z"
    },
    {
      "id": 98,
      "albumId": 10,
      "artistId": 5,
      "title": "Imagine",
      "slug": "imagine-98",
      "trackNumber": 8,
      "durationSeconds": 177,
      "isExplicit": false,
      "playCount": 10951641,
      "createdAt": "2024-04-02T14:34:56.921Z"
    },
    {
      "id": 99,
      "albumId": 10,
      "artistId": 5,
      "title": "Honky Tonk",
      "slug": "honky-tonk-99",
      "trackNumber": 9,
      "durationSeconds": 119,
      "isExplicit": false,
      "playCount": 15003866,
      "createdAt": "2021-07-27T19:00:56.203Z"
    }
  ],
  "meta": {
    "page": 5,
    "limit": 24,
    "total": 2978,
    "totalPages": 125
  },
  "links": {
    "self": "/api/v1/songs?page=5",
    "next": "/api/v1/songs?page=6",
    "prev": "/api/v1/songs?page=4"
  }
}
Draftbit