songs
songs
Page 104 of 125.
Overview
-
Cheek to Cheek
· 2 min
-
Tangerine
· 4 min
-
The Wanderer
· 3 min
-
No Scrubs
· 6 min
-
Hot Child In The City
· 4 min
-
Rock Your Baby
· 4 min
-
Black Or White
· 4 min
-
Wipe Out
· 4 min
-
Bye Bye Love
· 7 min
-
Under the Bridge
· 4 min
-
Indian Reservation (The Lament Of The Cherokee Reservation Indian)
· 8 min
-
Tears of a Clown
· 2 min
-
My Girl
· 6 min
-
You Sexy Thing
· 6 min
-
(Ghost) Riders in the Sky
· 4 min
-
One of These Nights
· 4 min
-
Chapel of Love
· 5 min
-
Billie Jean
· 7 min
-
Silly Love Songs
· 2 min
-
Mister Sandman
· 7 min
-
Money For Nothing
· 3 min
-
Kiss From a Rose
· 3 min
-
Mister Sandman
· 4 min
-
Mule Train
· 7 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": 2473,
"albumId": 234,
"artistId": 83,
"title": "Cheek to Cheek",
"slug": "cheek-to-cheek-2473",
"trackNumber": 8,
"durationSeconds": 127,
"isExplicit": false,
"playCount": 12846697,
"createdAt": "2022-07-10T12:25:28.592Z"
},
{
"id": 2474,
"albumId": 234,
"artistId": 83,
"title": "Tangerine",
"slug": "tangerine-2474",
"trackNumber": 9,
"durationSeconds": 259,
"isExplicit": false,
"playCount": 23671429,
"createdAt": "2021-06-22T02:53:42.929Z"
},
{
"id": 2475,
"albumId": 234,
"artistId": 83,
"title": "The Wanderer",
"slug": "the-wanderer-2475",
"trackNumber": 10,
"durationSeconds": 202,
"isExplicit": true,
"playCount": 20890830,
"createdAt": "2022-11-05T11:31:43.240Z"
}
],
"meta": {
"page": 104,
"limit": 24,
"total": 2978,
"totalPages": 125
},
"links": {
"self": "/api/v1/songs?page=104&limit=24",
"first": "/api/v1/songs?page=1&limit=24",
"last": "/api/v1/songs?page=125&limit=24",
"next": "/api/v1/songs?page=105&limit=24",
"prev": "/api/v1/songs?page=103&limit=24"
}
}