songs
songs
Page 83 of 125.
Overview
-
Lola
· 3 min
-
Thriller
· 4 min
-
Just Dance
· 8 min
-
Bad Romance
· 5 min
-
Honey
· 6 min
-
I Honestly Love You
· 7 min
-
Don't Worry Be Happy
· 5 min
-
When Doves Cry
· 6 min
-
Rich Girl
· 3 min
-
Sixteen Tons
· 3 min
-
Celebration
· 5 min
-
Have You Ever Really Loved a Woman?
· 6 min
-
Wichita Lineman
· 6 min
-
Knock Three Times
· 2 min
-
I Still Haven't Found What I'm Looking For
· 7 min
-
Crying
· 7 min
-
Monday Monday
· 4 min
-
We Didn't Start the Fire
· 2 min
-
Hot Child In The City
· 7 min
-
Best of My Love
· 3 min
-
Love Me Tender
· 7 min
-
Crazy
· 5 min
-
Gives You Hell
· 6 min
-
Unforgettable
· 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": 1969,
"albumId": 186,
"artistId": 66,
"title": "Lola",
"slug": "lola-1969",
"trackNumber": 10,
"durationSeconds": 179,
"isExplicit": false,
"playCount": 7880678,
"createdAt": "2024-09-24T04:46:35.251Z"
},
{
"id": 1970,
"albumId": 186,
"artistId": 66,
"title": "Thriller",
"slug": "thriller-1970",
"trackNumber": 11,
"durationSeconds": 264,
"isExplicit": false,
"playCount": 19425347,
"createdAt": "2024-05-07T09:59:23.500Z"
},
{
"id": 1971,
"albumId": 186,
"artistId": 66,
"title": "Just Dance",
"slug": "just-dance-1971",
"trackNumber": 12,
"durationSeconds": 451,
"isExplicit": false,
"playCount": 48337034,
"createdAt": "2023-08-27T10:20:29.500Z"
}
],
"meta": {
"page": 83,
"limit": 24,
"total": 2978,
"totalPages": 125
},
"links": {
"self": "/api/v1/songs?page=83&limit=24",
"first": "/api/v1/songs?page=1&limit=24",
"last": "/api/v1/songs?page=125&limit=24",
"next": "/api/v1/songs?page=84&limit=24",
"prev": "/api/v1/songs?page=82&limit=24"
}
}