songs
songs
Page 81 of 125.
Overview
-
Ode To Billie Joe
· 4 min
-
Oh, Pretty Woman
· 8 min
-
Roses Are Red
· 3 min
-
Oh Happy Day
· 8 min
-
Honky Tonk
· 3 min
-
Up Where We Belong
· 5 min
-
Wild Wild West
· 4 min
-
Sentimental Journey
· 8 min
-
Kiss Me
· 8 min
-
People Got to Be Free
· 3 min
-
Miss You Much
· 3 min
-
Disco Duck
· 5 min
-
Somethin' Stupid
· 2 min
-
Crying
· 4 min
-
Toxic
· 2 min
-
Mister Sandman
· 4 min
-
Indian Reservation (The Lament Of The Cherokee Reservation Indian)
· 6 min
-
Call Me Maybe
· 2 min
-
Theme From 'Shaft'
· 7 min
-
Afternoon Delight
· 4 min
-
When a Man Loves a Woman
· 4 min
-
Hair
· 2 min
-
Mrs Brown You've Got a Lovely Daughter
· 3 min
-
Shining Star
· 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": 1921,
"albumId": 183,
"artistId": 65,
"title": "Ode To Billie Joe",
"slug": "ode-to-billie-joe-1921",
"trackNumber": 1,
"durationSeconds": 257,
"isExplicit": false,
"playCount": 25711835,
"createdAt": "2023-06-11T05:00:11.558Z"
},
{
"id": 1922,
"albumId": 183,
"artistId": 65,
"title": "Oh, Pretty Woman",
"slug": "oh-pretty-woman-1922",
"trackNumber": 2,
"durationSeconds": 459,
"isExplicit": true,
"playCount": 25059827,
"createdAt": "2023-11-23T01:28:27.314Z"
},
{
"id": 1923,
"albumId": 183,
"artistId": 65,
"title": "Roses Are Red",
"slug": "roses-are-red-1923",
"trackNumber": 3,
"durationSeconds": 161,
"isExplicit": false,
"playCount": 1786988,
"createdAt": "2024-08-10T05:36:43.723Z"
}
],
"meta": {
"page": 81,
"limit": 24,
"total": 2978,
"totalPages": 125
},
"links": {
"self": "/api/v1/songs?page=81&limit=24",
"first": "/api/v1/songs?page=1&limit=24",
"last": "/api/v1/songs?page=125&limit=24",
"next": "/api/v1/songs?page=82&limit=24",
"prev": "/api/v1/songs?page=80&limit=24"
}
}