songs
songs
Page 102 of 125.
Overview
-
Kiss You All Over
· 7 min
-
Irreplaceable
· 5 min
-
Hold On
· 5 min
-
These Boots Are Made For Walking
· 5 min
-
Honey
· 2 min
-
You're Beautiful
· 3 min
-
Stay (I Missed You)
· 2 min
-
Magic Carpet Ride
· 3 min
-
If You Leave Me Now
· 6 min
-
Hard to Say I'm Sorry
· 4 min
-
You Can't Hurry Love
· 2 min
-
With Or Without You
· 5 min
-
Mule Train
· 2 min
-
Delicado
· 2 min
-
Weak
· 5 min
-
Rag Mop
· 4 min
-
West End Blues
· 3 min
-
Light My Fire
· 7 min
-
My Guy
· 5 min
-
(Your Love Keeps Lifting Me) Higher & Higher
· 5 min
-
(Sittin' On) the Dock of the Bay
· 3 min
-
Paper Planes
· 6 min
-
Sh-Boom (Life Could Be a Dream)
· 6 min
-
Don't You (Forget About Me)
· 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": 2425,
"albumId": 229,
"artistId": 80,
"title": "Kiss You All Over",
"slug": "kiss-you-all-over-2425",
"trackNumber": 11,
"durationSeconds": 431,
"isExplicit": true,
"playCount": 25663162,
"createdAt": "2024-02-08T13:43:46.824Z"
},
{
"id": 2426,
"albumId": 229,
"artistId": 80,
"title": "Irreplaceable",
"slug": "irreplaceable-2426",
"trackNumber": 12,
"durationSeconds": 327,
"isExplicit": false,
"playCount": 40845971,
"createdAt": "2024-04-16T22:57:37.118Z"
},
{
"id": 2427,
"albumId": 230,
"artistId": 81,
"title": "Hold On",
"slug": "hold-on-2427",
"trackNumber": 1,
"durationSeconds": 281,
"isExplicit": false,
"playCount": 22713729,
"createdAt": "2022-06-16T04:32:22.217Z"
}
],
"meta": {
"page": 102,
"limit": 24,
"total": 2978,
"totalPages": 125
},
"links": {
"self": "/api/v1/songs?page=102&limit=24",
"first": "/api/v1/songs?page=1&limit=24",
"last": "/api/v1/songs?page=125&limit=24",
"next": "/api/v1/songs?page=103&limit=24",
"prev": "/api/v1/songs?page=101&limit=24"
}
}