Skip to main content
GET
/
api
/
tracks
/
history
Get Track History
curl --request GET \
  --url http://localhost:1234/api/tracks/history

JSON Response

data
Record<trackId: string, Track>
required
A dictionary of Track objects
error
null
required

Example Response

{
  data: {
    "beyoncfreedomfeatkendricklamarlemonade": {
      id: "beyoncfreedomfeatkendricklamarlemonade",
      hash: "QmV5b25jQzNBOUZyZWVkb20yMGZlYXQyMEtlbmRyaWNrMjBMYW1hckxlbW9uYWRl",
      lastPlayedTimestamp: 1776990890021,
      title: "Freedom%20(feat.%20Kendrick%20Lamar)",
      artist: "Beyonc%C3%A9",
      album: "Lemonade",
      imageUrl: "https://is1-ssl.mzstatic.com/image/thumb/Music115/v4/db/25/a1/db25a1c0-8a4a-3b4d-226d-7c7704dc92da/886447680711.jpg/640x640sr.jpg",
      trackUrl: "https://music.apple.com/us/album/freedom-feat-kendrick-lamar/1460430561?i=1460430752",
      genres: [
        "Pop"
      ],
      provider: "cider",
      has_controls: true
      },
      ...
  },
  error: null
}