example-data.com

songs

songs

Page 7 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": 145,
      "albumId": 15,
      "artistId": 6,
      "title": "I Honestly Love You",
      "slug": "i-honestly-love-you-145",
      "trackNumber": 2,
      "durationSeconds": 450,
      "isExplicit": false,
      "playCount": 3171945,
      "createdAt": "2024-03-12T23:13:59.593Z"
    },
    {
      "id": 146,
      "albumId": 15,
      "artistId": 6,
      "title": "Iris",
      "slug": "iris-146",
      "trackNumber": 3,
      "durationSeconds": 168,
      "isExplicit": false,
      "playCount": 17734644,
      "createdAt": "2026-02-27T12:38:59.873Z"
    },
    {
      "id": 147,
      "albumId": 15,
      "artistId": 6,
      "title": "Never Gonna Give You Up",
      "slug": "never-gonna-give-you-up-147",
      "trackNumber": 4,
      "durationSeconds": 408,
      "isExplicit": false,
      "playCount": 17923202,
      "createdAt": "2024-05-05T19:22:51.891Z"
    }
  ],
  "meta": {
    "page": 7,
    "limit": 24,
    "total": 2978,
    "totalPages": 125
  },
  "links": {
    "self": "/api/v1/songs?page=7",
    "next": "/api/v1/songs?page=8",
    "prev": "/api/v1/songs?page=6"
  }
}
Draftbit