songs
songs
Page 76 of 125.
Overview
-
Maniac
· 3 min
-
Can't Get Enough of Your Love, Babe
· 7 min
-
Take The 'A' Train
· 5 min
-
Wake Me Up Before You Go Go
· 7 min
-
King of the Road
· 3 min
-
Puttin' on the Ritz
· 6 min
-
One O'Clock Jump
· 6 min
-
For What It's Worth (Stop, Hey What's That Sound)
· 8 min
-
Can't Buy Me Love
· 4 min
-
Travellin' Man
· 2 min
-
(It's No) Sin
· 5 min
-
Tonight's the Night (Gonna Be Alright)
· 7 min
-
Believe
· 6 min
-
Sir Duke
· 4 min
-
Cat's in the Cradle
· 4 min
-
Baby Love
· 5 min
-
Spanish Harlem
· 7 min
-
April Showers
· 7 min
-
Na Na Hey Hey (Kiss Him Goodbye)
· 8 min
-
I'll be seeing you
· 2 min
-
Sing, Sing, Sing (With A Swing)
· 6 min
-
We Can Work it Out
· 7 min
-
Shining Star
· 3 min
-
Wicked Game
· 6 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": 1801,
"albumId": 172,
"artistId": 60,
"title": "Maniac",
"slug": "maniac-1801",
"trackNumber": 6,
"durationSeconds": 205,
"isExplicit": true,
"playCount": 44243942,
"createdAt": "2021-07-03T11:41:19.381Z"
},
{
"id": 1802,
"albumId": 172,
"artistId": 60,
"title": "Can't Get Enough of Your Love, Babe",
"slug": "cant-get-enough-of-your-love-babe-1802",
"trackNumber": 7,
"durationSeconds": 415,
"isExplicit": false,
"playCount": 12401081,
"createdAt": "2024-01-28T04:37:57.969Z"
},
{
"id": 1803,
"albumId": 172,
"artistId": 60,
"title": "Take The 'A' Train",
"slug": "take-the-a-train-1803",
"trackNumber": 8,
"durationSeconds": 295,
"isExplicit": false,
"playCount": 32429960,
"createdAt": "2023-08-20T21:15:47.979Z"
}
],
"meta": {
"page": 76,
"limit": 24,
"total": 2978,
"totalPages": 125
},
"links": {
"self": "/api/v1/songs?page=76&limit=24",
"first": "/api/v1/songs?page=1&limit=24",
"last": "/api/v1/songs?page=125&limit=24",
"next": "/api/v1/songs?page=77&limit=24",
"prev": "/api/v1/songs?page=75&limit=24"
}
}