songs
songs
Page 18 of 125.
Overview
-
I Can't Get Started
· 8 min
-
I Only Have Eyes For You
· 8 min
-
Iris
· 3 min
-
Build Me Up Buttercup
· 4 min
-
Where Did Our Love Go
· 6 min
-
Dreamlover
· 2 min
-
I Can See Clearly Now
· 2 min
-
Walk On By
· 5 min
-
Whip It
· 3 min
-
Say My Name
· 6 min
-
Fast Car
· 2 min
-
Crazy For You
· 7 min
-
The Long & Winding Road
· 7 min
-
Dreams
· 3 min
-
There goes my baby
· 8 min
-
Band of Gold
· 5 min
-
Brandy (You're A Fine Girl)
· 8 min
-
Morning Train (Nine to Five)
· 7 min
-
Another One Bites the Dust
· 7 min
-
I'll Be Missing You
· 5 min
-
Smoke On the Water
· 3 min
-
I'll Make Love to You
· 5 min
-
Sh-Boom (Life Could Be a Dream)
· 8 min
-
Blue Tango
· 4 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": 409,
"albumId": 37,
"artistId": 17,
"title": "I Can't Get Started",
"slug": "i-cant-get-started-409",
"trackNumber": 9,
"durationSeconds": 451,
"isExplicit": true,
"playCount": 43099835,
"createdAt": "2023-09-30T22:58:30.360Z"
},
{
"id": 410,
"albumId": 38,
"artistId": 17,
"title": "I Only Have Eyes For You",
"slug": "i-only-have-eyes-for-you-410",
"trackNumber": 1,
"durationSeconds": 451,
"isExplicit": false,
"playCount": 608300,
"createdAt": "2024-07-11T01:28:45.892Z"
},
{
"id": 411,
"albumId": 38,
"artistId": 17,
"title": "Iris",
"slug": "iris-411",
"trackNumber": 2,
"durationSeconds": 185,
"isExplicit": false,
"playCount": 9230515,
"createdAt": "2024-07-17T13:39:59.361Z"
}
],
"meta": {
"page": 18,
"limit": 24,
"total": 2978,
"totalPages": 125
},
"links": {
"self": "/api/v1/songs?page=18&limit=24",
"first": "/api/v1/songs?page=1&limit=24",
"last": "/api/v1/songs?page=125&limit=24",
"next": "/api/v1/songs?page=19&limit=24",
"prev": "/api/v1/songs?page=17&limit=24"
}
}