songs
songs
Page 32 of 125.
Overview
-
This Used to Be My Playground
· 2 min
-
Be My Love
· 4 min
-
Change the World
· 3 min
-
Beautiful Day
· 5 min
-
A Boy Named Sue
· 3 min
-
I Can't Go For That (No Can Do)
· 7 min
-
Lookin' Out My Back Door
· 5 min
-
Cars
· 7 min
-
This Ole House
· 3 min
-
The First Time Ever I Saw Your Face
· 2 min
-
Love Shack
· 8 min
-
American Pie
· 6 min
-
White Christmas
· 7 min
-
Just Dance
· 3 min
-
50 Ways to Leave Your Lover
· 6 min
-
You Are the Sunshine of My Life
· 7 min
-
Sh-Boom (Life Could Be a Dream)
· 3 min
-
Papa Don't Preach
· 4 min
-
Goodnight, Irene
· 2 min
-
Where is the Love?
· 6 min
-
Baby Love
· 8 min
-
Queen of Hearts
· 2 min
-
Heart of Gold
· 7 min
-
Downtown
· 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": 745,
"albumId": 69,
"artistId": 27,
"title": "This Used to Be My Playground",
"slug": "this-used-to-be-my-playground-745",
"trackNumber": 7,
"durationSeconds": 130,
"isExplicit": false,
"playCount": 34754266,
"createdAt": "2021-11-10T18:14:39.175Z"
},
{
"id": 746,
"albumId": 69,
"artistId": 27,
"title": "Be My Love",
"slug": "be-my-love-746",
"trackNumber": 8,
"durationSeconds": 255,
"isExplicit": false,
"playCount": 14494692,
"createdAt": "2024-05-25T17:46:32.014Z"
},
{
"id": 747,
"albumId": 69,
"artistId": 27,
"title": "Change the World",
"slug": "change-the-world-747",
"trackNumber": 9,
"durationSeconds": 199,
"isExplicit": false,
"playCount": 24991034,
"createdAt": "2023-07-09T12:08:31.000Z"
}
],
"meta": {
"page": 32,
"limit": 24,
"total": 2978,
"totalPages": 125
},
"links": {
"self": "/api/v1/songs?page=32&limit=24",
"first": "/api/v1/songs?page=1&limit=24",
"last": "/api/v1/songs?page=125&limit=24",
"next": "/api/v1/songs?page=33&limit=24",
"prev": "/api/v1/songs?page=31&limit=24"
}
}