songs
songs
Page 59 of 125.
Overview
-
Music
· 5 min
-
Layla
· 5 min
-
Cherry Pink & Apple Blossom White
· 8 min
-
Best of My Love
· 6 min
-
Apologize
· 7 min
-
The Glow-Worm
· 5 min
-
You're the One That I Want
· 3 min
-
Baby Love
· 5 min
-
E.T.
· 6 min
-
Lookin' Out My Back Door
· 3 min
-
Hold On
· 6 min
-
Ain't That a Shame
· 5 min
-
Blue Tango
· 5 min
-
Royals
· 6 min
-
Ain't No Mountain High Enough
· 3 min
-
Over the Rainbow
· 3 min
-
Judy in Disguise (With Glasses)
· 8 min
-
Kung Fu Fighting
· 4 min
-
In the Mood
· 8 min
-
You've Lost That Lovin' Feelin'
· 4 min
-
I Only Have Eyes For You
· 3 min
-
Ol' Man River
· 2 min
-
Band of Gold
· 3 min
-
Tammy
· 2 min
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": 1393,
"albumId": 132,
"artistId": 48,
"title": "Music",
"slug": "music-1393",
"trackNumber": 7,
"durationSeconds": 280,
"isExplicit": false,
"playCount": 5812642,
"createdAt": "2022-07-05T19:49:00.767Z"
},
{
"id": 1394,
"albumId": 132,
"artistId": 48,
"title": "Layla",
"slug": "layla-1394",
"trackNumber": 8,
"durationSeconds": 285,
"isExplicit": false,
"playCount": 47081703,
"createdAt": "2023-03-19T08:24:28.096Z"
},
{
"id": 1395,
"albumId": 132,
"artistId": 48,
"title": "Cherry Pink & Apple Blossom White",
"slug": "cherry-pink-apple-blossom-white-1395",
"trackNumber": 9,
"durationSeconds": 474,
"isExplicit": false,
"playCount": 19867174,
"createdAt": "2023-10-17T11:49:16.373Z"
}
],
"meta": {
"page": 59,
"limit": 24,
"total": 2978,
"totalPages": 125
},
"links": {
"self": "/api/v1/songs?page=59&limit=24",
"first": "/api/v1/songs?page=1&limit=24",
"last": "/api/v1/songs?page=125&limit=24",
"next": "/api/v1/songs?page=60&limit=24",
"prev": "/api/v1/songs?page=58&limit=24"
}
}