example-data.com

songs

songs

Page 3 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": 49,
      "albumId": 6,
      "artistId": 2,
      "title": "Please Mr Postman",
      "slug": "please-mr-postman-49",
      "trackNumber": 6,
      "durationSeconds": 328,
      "isExplicit": false,
      "playCount": 36852264,
      "createdAt": "2026-05-16T14:20:41.761Z"
    },
    {
      "id": 50,
      "albumId": 6,
      "artistId": 2,
      "title": "Brother, Can You Spare a Dime?",
      "slug": "brother-can-you-spare-a-dime-50",
      "trackNumber": 7,
      "durationSeconds": 264,
      "isExplicit": false,
      "playCount": 45267023,
      "createdAt": "2024-07-06T23:21:44.877Z"
    },
    {
      "id": 51,
      "albumId": 6,
      "artistId": 2,
      "title": "Que sera sera (Whatever will be will be)",
      "slug": "que-sera-sera-whatever-will-be-will-be-51",
      "trackNumber": 8,
      "durationSeconds": 451,
      "isExplicit": false,
      "playCount": 1476148,
      "createdAt": "2021-11-19T19:33:49.702Z"
    }
  ],
  "meta": {
    "page": 3,
    "limit": 24,
    "total": 2978,
    "totalPages": 125
  },
  "links": {
    "self": "/api/v1/songs?page=3",
    "next": "/api/v1/songs?page=4",
    "prev": "/api/v1/songs?page=2"
  }
}
Draftbit