songs
songs
Page 92 of 125.
Overview
-
Cry Like a Baby
· 6 min
-
Stormy Weather (Keeps Rainin' All the Time)
· 5 min
-
Duke of Earl
· 7 min
-
Car Wash
· 7 min
-
Wabash Cannonball
· 4 min
-
Blaze of Glory
· 3 min
-
Moonlight Serenade
· 3 min
-
Love Is Blue (L'Amour Est Bleu)
· 3 min
-
Surfin' USA
· 3 min
-
Hollaback Girl
· 2 min
-
Hit the Road, Jack
· 7 min
-
Jailhouse Rock
· 7 min
-
She's a Lady
· 5 min
-
Crazy For You
· 7 min
-
(Put Another Nickel In) Music! Music! Music!
· 7 min
-
For What It's Worth (Stop, Hey What's That Sound)
· 6 min
-
If I Didn't Care
· 3 min
-
That's the Way Love Goes
· 2 min
-
The Long & Winding Road
· 5 min
-
Funkytown
· 3 min
-
Royals
· 3 min
-
I'll Never Smile Again
· 2 min
-
Can't Get Enough of Your Love, Babe
· 6 min
-
She's a Lady
· 3 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": 2185,
"albumId": 205,
"artistId": 72,
"title": "Cry Like a Baby",
"slug": "cry-like-a-baby-2185",
"trackNumber": 12,
"durationSeconds": 366,
"isExplicit": false,
"playCount": 12739248,
"createdAt": "2021-10-13T10:40:25.810Z"
},
{
"id": 2186,
"albumId": 205,
"artistId": 72,
"title": "Stormy Weather (Keeps Rainin' All the Time)",
"slug": "stormy-weather-keeps-rainin-all-the-time-2186",
"trackNumber": 13,
"durationSeconds": 284,
"isExplicit": false,
"playCount": 17242969,
"createdAt": "2023-01-28T05:02:12.908Z"
},
{
"id": 2187,
"albumId": 206,
"artistId": 73,
"title": "Duke of Earl",
"slug": "duke-of-earl-2187",
"trackNumber": 1,
"durationSeconds": 400,
"isExplicit": true,
"playCount": 24043526,
"createdAt": "2023-04-11T01:37:55.434Z"
}
],
"meta": {
"page": 92,
"limit": 24,
"total": 2978,
"totalPages": 125
},
"links": {
"self": "/api/v1/songs?page=92&limit=24",
"first": "/api/v1/songs?page=1&limit=24",
"last": "/api/v1/songs?page=125&limit=24",
"next": "/api/v1/songs?page=93&limit=24",
"prev": "/api/v1/songs?page=91&limit=24"
}
}