songs
songs
Browse 2978 songs records. Explore sample records and fetch JSON over a free REST API for prototypes, tests, and learning.
Overview
Cards
-
Will It Go Round In Circles
· 2 min
-
You Always Hurt the One You Love
· 6 min
-
You Make Me Feel Brand New
· 4 min
-
My Boyfriend's Back
· 2 min
-
Maniac
· 6 min
-
We Can Work it Out
· 3 min
-
Smoke On the Water
· 7 min
-
Black Or White
· 2 min
-
My Heart Will Go On
· 2 min
-
Crazy For You
· 8 min
-
Purple Rain
· 7 min
-
Help!
· 3 min
-
He'll Have to Go
· 7 min
-
Family Affair
· 4 min
-
Ain't No Sunshine
· 5 min
-
Hey Ya!
· 7 min
-
People
· 2 min
-
Pony Time
· 6 min
-
Gypsies, Tramps & Thieves
· 7 min
-
Band On the Run
· 2 min
-
Sunday, Monday or Always
· 7 min
-
Black Velvet
· 5 min
-
I Want You Back
· 6 min
-
In Da Club
· 3 min
Compact
- Will It Go Round In Circles
- You Always Hurt the One You Love
- You Make Me Feel Brand New
- My Boyfriend's Back
- Maniac
- We Can Work it Out
- Smoke On the Water
- Black Or White
- My Heart Will Go On
- Crazy For You
- Purple Rain
- Help!
- He'll Have to Go
- Family Affair
- Ain't No Sunshine
- Hey Ya!
- People
- Pony Time
- Gypsies, Tramps & Thieves
- Band On the Run
- Sunday, Monday or Always
- Black Velvet
- I Want You Back
- In Da Club
Detailed
Will It Go Round In Circles
You Always Hurt the One You Love
You Make Me Feel Brand New
My Boyfriend's Back
Maniac
We Can Work it Out
Showing first 6 of 24 on this page.
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": 1,
"albumId": 1,
"artistId": 1,
"title": "Will It Go Round In Circles",
"slug": "will-it-go-round-in-circles-1",
"trackNumber": 1,
"durationSeconds": 143,
"isExplicit": false,
"playCount": 17622831,
"createdAt": "2022-06-01T17:10:51.068Z"
},
{
"id": 2,
"albumId": 1,
"artistId": 1,
"title": "You Always Hurt the One You Love",
"slug": "you-always-hurt-the-one-you-love-2",
"trackNumber": 2,
"durationSeconds": 375,
"isExplicit": false,
"playCount": 19259774,
"createdAt": "2024-08-14T22:32:45.266Z"
},
{
"id": 3,
"albumId": 1,
"artistId": 1,
"title": "You Make Me Feel Brand New",
"slug": "you-make-me-feel-brand-new-3",
"trackNumber": 3,
"durationSeconds": 237,
"isExplicit": false,
"playCount": 20796294,
"createdAt": "2022-06-12T10:52:12.356Z"
}
],
"meta": {
"page": 1,
"limit": 25,
"total": 2978,
"totalPages": 120
},
"links": {
"self": "/api/v1/songs?page=1",
"first": "/api/v1/songs?page=1",
"last": "/api/v1/songs?page=120",
"next": "/api/v1/songs?page=2",
"prev": null
}
}