songs
songs
Page 42 of 125.
Overview
-
On Bended Knee
· 6 min
-
What a Fool Believes
· 5 min
-
You Make Me Feel Like Dancing
· 7 min
-
Say You, Say Me
· 5 min
-
Heart of Gold
· 3 min
-
Dardanella
· 3 min
-
Body & Soul
· 6 min
-
9 to 5
· 7 min
-
All Out of Love
· 7 min
-
Party Rock Anthem
· 7 min
-
Running Scared
· 5 min
-
Promiscuous
· 6 min
-
Can You Feel the Love Tonight
· 7 min
-
I Feel Fine
· 7 min
-
Pon De Replay
· 4 min
-
Knock Three Times
· 5 min
-
Don't Speak
· 4 min
-
Hard to Say I'm Sorry
· 3 min
-
In the Mood
· 6 min
-
Puttin' on the Ritz
· 6 min
-
Cathy's Clown
· 6 min
-
Promiscuous
· 4 min
-
Strangers in the Night
· 6 min
-
Brother, Can You Spare a Dime?
· 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": 985,
"albumId": 94,
"artistId": 37,
"title": "On Bended Knee",
"slug": "on-bended-knee-985",
"trackNumber": 9,
"durationSeconds": 336,
"isExplicit": false,
"playCount": 38456039,
"createdAt": "2023-08-02T14:01:21.043Z"
},
{
"id": 986,
"albumId": 94,
"artistId": 37,
"title": "What a Fool Believes",
"slug": "what-a-fool-believes-986",
"trackNumber": 10,
"durationSeconds": 296,
"isExplicit": true,
"playCount": 38059637,
"createdAt": "2022-10-12T20:16:23.763Z"
},
{
"id": 987,
"albumId": 94,
"artistId": 37,
"title": "You Make Me Feel Like Dancing",
"slug": "you-make-me-feel-like-dancing-987",
"trackNumber": 11,
"durationSeconds": 412,
"isExplicit": false,
"playCount": 24944798,
"createdAt": "2024-02-12T11:13:15.602Z"
}
],
"meta": {
"page": 42,
"limit": 24,
"total": 2978,
"totalPages": 125
},
"links": {
"self": "/api/v1/songs?page=42&limit=24",
"first": "/api/v1/songs?page=1&limit=24",
"last": "/api/v1/songs?page=125&limit=24",
"next": "/api/v1/songs?page=43&limit=24",
"prev": "/api/v1/songs?page=41&limit=24"
}
}