example-data.com
Menu
Browse docs and collections

songs

songs

Page 25 of 125.

Overview

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/songs?limit=25"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/songs?limit=25"
);
const { data, meta } = 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, ListEnvelope } from "./types/songs";

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

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/songs",
    params={"limit": 25},
)
data = res.json()

Response

{
  "data": [
    {
      "id": 577,
      "albumId": 53,
      "artistId": 22,
      "title": "We Can Work it Out",
      "slug": "we-can-work-it-out-577",
      "trackNumber": 8,
      "durationSeconds": 227,
      "isExplicit": true,
      "playCount": 7642896,
      "createdAt": "2022-01-10T10:24:36.286Z"
    },
    {
      "id": 578,
      "albumId": 53,
      "artistId": 22,
      "title": "Under the Boardwalk",
      "slug": "under-the-boardwalk-578",
      "trackNumber": 9,
      "durationSeconds": 426,
      "isExplicit": false,
      "playCount": 13059711,
      "createdAt": "2025-11-23T09:35:52.578Z"
    },
    {
      "id": 579,
      "albumId": 53,
      "artistId": 22,
      "title": "You Belong to Me",
      "slug": "you-belong-to-me-579",
      "trackNumber": 10,
      "durationSeconds": 269,
      "isExplicit": false,
      "playCount": 14003905,
      "createdAt": "2021-06-21T12:05:23.660Z"
    }
  ],
  "meta": {
    "page": 25,
    "limit": 24,
    "total": 2978,
    "totalPages": 125
  },
  "links": {
    "self": "/api/v1/songs?page=25&limit=24",
    "first": "/api/v1/songs?page=1&limit=24",
    "last": "/api/v1/songs?page=125&limit=24",
    "next": "/api/v1/songs?page=26&limit=24",
    "prev": "/api/v1/songs?page=24&limit=24"
  }
}