example-data.com
Menu
Browse docs and collections

songs

songs

Page 39 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": 913,
      "albumId": 88,
      "artistId": 35,
      "title": "You Make Me Feel Like Dancing",
      "slug": "you-make-me-feel-like-dancing-913",
      "trackNumber": 4,
      "durationSeconds": 252,
      "isExplicit": false,
      "playCount": 22864146,
      "createdAt": "2026-01-26T02:13:44.993Z"
    },
    {
      "id": 914,
      "albumId": 88,
      "artistId": 35,
      "title": "That's the Way Love Goes",
      "slug": "thats-the-way-love-goes-914",
      "trackNumber": 5,
      "durationSeconds": 203,
      "isExplicit": false,
      "playCount": 27812420,
      "createdAt": "2023-08-29T21:14:10.867Z"
    },
    {
      "id": 915,
      "albumId": 88,
      "artistId": 35,
      "title": "Gives You Hell",
      "slug": "gives-you-hell-915",
      "trackNumber": 6,
      "durationSeconds": 440,
      "isExplicit": false,
      "playCount": 12540922,
      "createdAt": "2025-12-31T11:06:33.617Z"
    }
  ],
  "meta": {
    "page": 39,
    "limit": 24,
    "total": 2978,
    "totalPages": 125
  },
  "links": {
    "self": "/api/v1/songs?page=39&limit=24",
    "first": "/api/v1/songs?page=1&limit=24",
    "last": "/api/v1/songs?page=125&limit=24",
    "next": "/api/v1/songs?page=40&limit=24",
    "prev": "/api/v1/songs?page=38&limit=24"
  }
}