songs
songs
Page 121 of 125.
Overview
-
My Sweet Lord
· 3 min
-
The Way You Look Tonight
· 3 min
-
I Feel Love
· 6 min
-
Rich Girl
· 7 min
-
A Woman in Love
· 3 min
-
Candle in the Wind '97
· 4 min
-
Just the Way You Are
· 5 min
-
Stardust
· 4 min
-
Dancing in the Street
· 5 min
-
Peg o' My Heart
· 5 min
-
Uncle Albert (Admiral Halsey)
· 5 min
-
He's So Fine
· 6 min
-
Heart of Glass
· 7 min
-
Ebony & Ivory
· 4 min
-
Disturbia
· 7 min
-
Manana (Is Soon Enough For Me)
· 7 min
-
You Are the Sunshine of My Life
· 8 min
-
Over the Rainbow
· 2 min
-
You make Me Wanna
· 4 min
-
Hello Dolly
· 5 min
-
Promiscuous
· 2 min
-
Whole Lotta Love
· 3 min
-
Soul Man
· 5 min
-
Yesterday
· 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": 2881,
"albumId": 273,
"artistId": 95,
"title": "My Sweet Lord",
"slug": "my-sweet-lord-2881",
"trackNumber": 7,
"durationSeconds": 152,
"isExplicit": false,
"playCount": 22263465,
"createdAt": "2022-07-06T20:59:17.165Z"
},
{
"id": 2882,
"albumId": 273,
"artistId": 95,
"title": "The Way You Look Tonight",
"slug": "the-way-you-look-tonight-2882",
"trackNumber": 8,
"durationSeconds": 197,
"isExplicit": false,
"playCount": 11748122,
"createdAt": "2021-05-25T10:58:23.359Z"
},
{
"id": 2883,
"albumId": 273,
"artistId": 95,
"title": "I Feel Love",
"slug": "i-feel-love-2883",
"trackNumber": 9,
"durationSeconds": 362,
"isExplicit": false,
"playCount": 26428130,
"createdAt": "2024-05-11T17:38:57.832Z"
}
],
"meta": {
"page": 121,
"limit": 24,
"total": 2978,
"totalPages": 125
},
"links": {
"self": "/api/v1/songs?page=121&limit=24",
"first": "/api/v1/songs?page=1&limit=24",
"last": "/api/v1/songs?page=125&limit=24",
"next": "/api/v1/songs?page=122&limit=24",
"prev": "/api/v1/songs?page=120&limit=24"
}
}