songs
songs
Page 27 of 125.
Overview
-
Black Velvet
· 3 min
-
The Prisoner's Song
· 4 min
-
Viva La Vida
· 4 min
-
Rosanna
· 6 min
-
I Only Have Eyes For You
· 4 min
-
Rock the Casbah
· 4 min
-
Crazy For You
· 2 min
-
Brand New Key
· 7 min
-
Chattanoogie Shoe-Shine Boy
· 8 min
-
My Blue Heaven
· 6 min
-
Knock On Wood
· 4 min
-
You Make Me Feel Brand New
· 4 min
-
Cherish
· 4 min
-
Gives You Hell
· 3 min
-
Unbelievable
· 7 min
-
Me & Mrs Jones
· 7 min
-
I Can't Help Myself (Sugar Pie, Honey Bunch)
· 5 min
-
Yesterday
· 8 min
-
Unbelievable
· 7 min
-
Happy Days Are Here Again
· 3 min
-
December 1963 (Oh What a Night)
· 2 min
-
Oh, Pretty Woman
· 6 min
-
Shop Around
· 5 min
-
Little Things Mean a Lot
· 5 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": 625,
"albumId": 57,
"artistId": 22,
"title": "Black Velvet",
"slug": "black-velvet-625",
"trackNumber": 3,
"durationSeconds": 151,
"isExplicit": false,
"playCount": 49317224,
"createdAt": "2023-10-19T07:42:56.634Z"
},
{
"id": 626,
"albumId": 57,
"artistId": 22,
"title": "The Prisoner's Song",
"slug": "the-prisoners-song-626",
"trackNumber": 4,
"durationSeconds": 225,
"isExplicit": false,
"playCount": 45787049,
"createdAt": "2024-04-12T21:44:12.414Z"
},
{
"id": 627,
"albumId": 57,
"artistId": 22,
"title": "Viva La Vida",
"slug": "viva-la-vida-627",
"trackNumber": 5,
"durationSeconds": 265,
"isExplicit": false,
"playCount": 34478631,
"createdAt": "2022-04-29T19:29:17.225Z"
}
],
"meta": {
"page": 27,
"limit": 24,
"total": 2978,
"totalPages": 125
},
"links": {
"self": "/api/v1/songs?page=27&limit=24",
"first": "/api/v1/songs?page=1&limit=24",
"last": "/api/v1/songs?page=125&limit=24",
"next": "/api/v1/songs?page=28&limit=24",
"prev": "/api/v1/songs?page=26&limit=24"
}
}