songs
songs
Page 62 of 125.
Overview
-
You Don't Have to Be a Star (To Be in My Show)
· 7 min
-
My Sweet Lord
· 7 min
-
Wichita Lineman
· 4 min
-
Red Red Wine
· 5 min
-
Woman
· 4 min
-
He'll Have to Go
· 7 min
-
Rhapsody in Blue
· 8 min
-
Burn
· 5 min
-
Time of the Season
· 2 min
-
Alone Again (Naturally)
· 4 min
-
Like a Prayer
· 5 min
-
The Power of Love
· 3 min
-
Hey Baby
· 7 min
-
December 1963 (Oh What a Night)
· 3 min
-
Boom Boom Pow
· 5 min
-
Baker Street
· 5 min
-
Will It Go Round In Circles
· 4 min
-
My Eyes Adored You
· 4 min
-
She Drives Me Crazy
· 4 min
-
Get Down Tonight
· 3 min
-
Pop Muzik
· 2 min
-
I Believe I Can Fly
· 4 min
-
Stormy Weather (Keeps Rainin' All the Time)
· 3 min
-
Tequila
· 6 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": 1465,
"albumId": 140,
"artistId": 51,
"title": "You Don't Have to Be a Star (To Be in My Show)",
"slug": "you-dont-have-to-be-a-star-to-be-in-my-show-1465",
"trackNumber": 5,
"durationSeconds": 401,
"isExplicit": false,
"playCount": 29083240,
"createdAt": "2024-07-11T18:40:55.856Z"
},
{
"id": 1466,
"albumId": 140,
"artistId": 51,
"title": "My Sweet Lord",
"slug": "my-sweet-lord-1466",
"trackNumber": 6,
"durationSeconds": 411,
"isExplicit": false,
"playCount": 45343545,
"createdAt": "2023-02-05T23:35:53.818Z"
},
{
"id": 1467,
"albumId": 140,
"artistId": 51,
"title": "Wichita Lineman",
"slug": "wichita-lineman-1467",
"trackNumber": 7,
"durationSeconds": 261,
"isExplicit": false,
"playCount": 6896990,
"createdAt": "2023-02-10T18:01:24.282Z"
}
],
"meta": {
"page": 62,
"limit": 24,
"total": 2978,
"totalPages": 125
},
"links": {
"self": "/api/v1/songs?page=62&limit=24",
"first": "/api/v1/songs?page=1&limit=24",
"last": "/api/v1/songs?page=125&limit=24",
"next": "/api/v1/songs?page=63&limit=24",
"prev": "/api/v1/songs?page=61&limit=24"
}
}