Skip to content

spotify-cli


spotify-cli / test/fixtures

test/fixtures ​

Real Spotify API response fixtures (sanitized).

Captured from live API responses with personal info removed. Used by integration tests to verify API modules handle real response shapes.

Variables ​

fixtures ​

const fixtures: object

Defined in: src/test/fixtures/index.ts:10

Type Declaration ​

album ​

readonly album: object

album.album_type ​

readonly album_type: "album" = "album"

album.artists ​

readonly artists: readonly [{ external_urls: { spotify: "https://open.spotify.com/artist/711MCceyCBcFnzjGY4Q7Un"; }; href: "https://api.spotify.com/v1/artists/711MCceyCBcFnzjGY4Q7Un"; id: "711MCceyCBcFnzjGY4Q7Un"; name: "AC/DC"; type: "artist"; uri: "spotify:artist:711MCceyCBcFnzjGY4Q7Un"; }]

album.copyrights ​

readonly copyrights: readonly [{ text: "(P) 1990 Leidseplein Presse B.V."; type: "P"; }]

album.external_ids ​

readonly external_ids: object

album.external_ids.upc ​

readonly upc: "886444890151" = "886444890151"

album.external_urls ​

readonly external_urls: object

album.external_urls.spotify ​

readonly spotify: "https://open.spotify.com/album/4vu7F6h90Br1ZtYYaqfITy" = "https://open.spotify.com/album/4vu7F6h90Br1ZtYYaqfITy"

album.genres ​

readonly genres: readonly [] = []

album.href ​

readonly href: "https://api.spotify.com/v1/albums/4vu7F6h90Br1ZtYYaqfITy" = "https://api.spotify.com/v1/albums/4vu7F6h90Br1ZtYYaqfITy"

album.id ​

readonly id: "4vu7F6h90Br1ZtYYaqfITy" = "4vu7F6h90Br1ZtYYaqfITy"

album.images ​

readonly images: readonly [{ height: 640; url: "https://i.scdn.co/image/ab67616d0000b2739a9b1cc067e4460da04adce2"; width: 640; }, { height: 300; url: "https://i.scdn.co/image/ab67616d00001e029a9b1cc067e4460da04adce2"; width: 300; }, { height: 64; url: "https://i.scdn.co/image/ab67616d000048519a9b1cc067e4460da04adce2"; width: 64; }]

album.name ​

readonly name: "The Razors Edge" = "The Razors Edge"

album.release_date ​

readonly release_date: "1990-09-24" = "1990-09-24"

album.release_date_precision ​

readonly release_date_precision: "day" = "day"

album.total_tracks ​

readonly total_tracks: 12 = 12

album.type ​

readonly type: "album" = "album"

album.uri ​

readonly uri: "spotify:album:4vu7F6h90Br1ZtYYaqfITy" = "spotify:album:4vu7F6h90Br1ZtYYaqfITy"

albumTracks ​

readonly albumTracks: object

albumTracks.href ​

readonly href: "https://api.spotify.com/v1/albums/4vu7F6h90Br1ZtYYaqfITy/tracks?offset=0&limit=2" = "https://api.spotify.com/v1/albums/4vu7F6h90Br1ZtYYaqfITy/tracks?offset=0&limit=2"

albumTracks.items ​

readonly items: readonly [{ artists: readonly [{ external_urls: { spotify: "https://open.spotify.com/artist/711MCceyCBcFnzjGY4Q7Un"; }; href: "https://api.spotify.com/v1/artists/711MCceyCBcFnzjGY4Q7Un"; id: "711MCceyCBcFnzjGY4Q7Un"; name: "AC/DC"; type: "artist"; uri: "spotify:artist:711MCceyCBcFnzjGY4Q7Un"; }]; disc_number: 1; duration_ms: 292333; explicit: false; external_urls: { spotify: "https://open.spotify.com/track/57bgtoPSgt236HzfBOd8kj"; }; href: "https://api.spotify.com/v1/tracks/57bgtoPSgt236HzfBOd8kj"; id: "57bgtoPSgt236HzfBOd8kj"; is_local: false; name: "Thunderstruck"; track_number: 1; type: "track"; uri: "spotify:track:57bgtoPSgt236HzfBOd8kj"; }, { artists: readonly [{ external_urls: { spotify: "https://open.spotify.com/artist/711MCceyCBcFnzjGY4Q7Un"; }; href: "https://api.spotify.com/v1/artists/711MCceyCBcFnzjGY4Q7Un"; id: "711MCceyCBcFnzjGY4Q7Un"; name: "AC/DC"; type: "artist"; uri: "spotify:artist:711MCceyCBcFnzjGY4Q7Un"; }]; disc_number: 1; duration_ms: 173753; explicit: false; external_urls: { spotify: "https://open.spotify.com/track/0cLvKgKkqlaJ9UajbitH4l"; }; href: "https://api.spotify.com/v1/tracks/0cLvKgKkqlaJ9UajbitH4l"; id: "0cLvKgKkqlaJ9UajbitH4l"; is_local: false; name: "Fire Your Guns"; track_number: 2; type: "track"; uri: "spotify:track:0cLvKgKkqlaJ9UajbitH4l"; }]

albumTracks.limit ​

readonly limit: 2 = 2

albumTracks.next ​

readonly next: "https://api.spotify.com/v1/albums/4vu7F6h90Br1ZtYYaqfITy/tracks?offset=2&limit=2" = "https://api.spotify.com/v1/albums/4vu7F6h90Br1ZtYYaqfITy/tracks?offset=2&limit=2"

albumTracks.offset ​

readonly offset: 0 = 0

albumTracks.previous ​

readonly previous: null = null

albumTracks.total ​

readonly total: 12 = 12

currentlyPlaying ​

readonly currentlyPlaying: object

currentlyPlaying.device ​

readonly device: object

currentlyPlaying.device.id ​

readonly id: "device123" = "device123"

currentlyPlaying.device.name ​

readonly name: "Test MacBook" = "Test MacBook"

currentlyPlaying.device.type ​

readonly type: "Computer" = "Computer"

currentlyPlaying.device.volume_percent ​

readonly volume_percent: 50 = 50

currentlyPlaying.is_playing ​

readonly is_playing: true = true

currentlyPlaying.item ​

readonly item: object

currentlyPlaying.item.album ​

readonly album: object

currentlyPlaying.item.album.album_type ​

readonly album_type: "album" = "album"

currentlyPlaying.item.album.artists ​

readonly artists: readonly [{ id: "711MCceyCBcFnzjGY4Q7Un"; name: "AC/DC"; type: "artist"; uri: "spotify:artist:711MCceyCBcFnzjGY4Q7Un"; }]

currentlyPlaying.item.album.name ​

readonly name: "The Razors Edge" = "The Razors Edge"

currentlyPlaying.item.album.type ​

readonly type: "album" = "album"

currentlyPlaying.item.artists ​

readonly artists: readonly [{ id: "711MCceyCBcFnzjGY4Q7Un"; name: "AC/DC"; type: "artist"; uri: "spotify:artist:711MCceyCBcFnzjGY4Q7Un"; }]

currentlyPlaying.item.duration_ms ​

readonly duration_ms: 292333 = 292333

currentlyPlaying.item.id ​

readonly id: "57bgtoPSgt236HzfBOd8kj" = "57bgtoPSgt236HzfBOd8kj"

currentlyPlaying.item.name ​

readonly name: "Thunderstruck" = "Thunderstruck"

currentlyPlaying.item.type ​

readonly type: "track" = "track"

currentlyPlaying.item.uri ​

readonly uri: "spotify:track:57bgtoPSgt236HzfBOd8kj" = "spotify:track:57bgtoPSgt236HzfBOd8kj"

currentlyPlaying.progress_ms ​

readonly progress_ms: 45000 = 45000

currentlyPlaying.repeat_state ​

readonly repeat_state: "off" = "off"

currentlyPlaying.shuffle_state ​

readonly shuffle_state: false = false

devices ​

readonly devices: object

devices.devices ​

readonly devices: readonly [{ id: "device123"; is_active: false; is_private_session: false; is_restricted: false; name: "Test MacBook"; supports_volume: true; type: "Computer"; volume_percent: 50; }]

errors ​

readonly errors: object

Spotify API error responses

errors.badRequest ​

readonly badRequest: object

errors.badRequest.error ​

readonly error: object

errors.badRequest.error.message ​

readonly message: "Missing required field: uris" = "Missing required field: uris"

errors.badRequest.error.status ​

readonly status: 400 = 400

errors.forbidden ​

readonly forbidden: object

errors.forbidden.error ​

readonly error: object

errors.forbidden.error.message ​

readonly message: "Forbidden" = "Forbidden"

errors.forbidden.error.status ​

readonly status: 403 = 403

errors.notFound ​

readonly notFound: object

errors.notFound.error ​

readonly error: object

errors.notFound.error.message ​

readonly message: "Resource not found" = "Resource not found"

errors.notFound.error.status ​

readonly status: 404 = 404

errors.rateLimited ​

readonly rateLimited: object

errors.rateLimited.error ​

readonly error: object

errors.rateLimited.error.message ​

readonly message: "API rate limit exceeded" = "API rate limit exceeded"

errors.rateLimited.error.status ​

readonly status: 429 = 429

errors.unauthorized ​

readonly unauthorized: object

errors.unauthorized.error ​

readonly error: object

errors.unauthorized.error.message ​

readonly message: "The access token expired" = "The access token expired"

errors.unauthorized.error.status ​

readonly status: 401 = 401

followedArtists ​

readonly followedArtists: object

followedArtists.artists ​

readonly artists: object

followedArtists.artists.cursors ​

readonly cursors: object

followedArtists.artists.cursors.after ​

readonly after: "4MzzjPw3VUmr72ZphV54Sa" = "4MzzjPw3VUmr72ZphV54Sa"

followedArtists.artists.href ​

readonly href: "https://api.spotify.com/v1/me/following?type=artist&limit=2" = "https://api.spotify.com/v1/me/following?type=artist&limit=2"

followedArtists.artists.items ​

readonly items: readonly [{ external_urls: { spotify: "https://open.spotify.com/artist/00n4Vljc6N9pvJ26SKPphh"; }; href: "https://api.spotify.com/v1/artists/00n4Vljc6N9pvJ26SKPphh"; id: "00n4Vljc6N9pvJ26SKPphh"; images: readonly [{ height: 1477; url: "https://i.scdn.co/image/e6ba16e3b34581a4fcfb8bd11fac7bbf7bb40f77"; width: 1000; }]; name: "Ruben Gonzalez"; type: "artist"; uri: "spotify:artist:00n4Vljc6N9pvJ26SKPphh"; }]

followedArtists.artists.limit ​

readonly limit: 2 = 2

followedArtists.artists.next ​

readonly next: "https://api.spotify.com/v1/me/following?type=artist&limit=2&after=4MzzjPw3VUmr72ZphV54Sa" = "https://api.spotify.com/v1/me/following?type=artist&limit=2&after=4MzzjPw3VUmr72ZphV54Sa"

followedArtists.artists.total ​

readonly total: 140 = 140

me ​

readonly me: object

me.country ​

readonly country: "US" = "US"

me.display_name ​

readonly display_name: "testuser" = "testuser"

me.email ​

readonly email: "test@example.com" = "test@example.com"

me.explicit_content ​

readonly explicit_content: object

me.explicit_content.filter_enabled ​

readonly filter_enabled: false = false

me.explicit_content.filter_locked ​

readonly filter_locked: false = false

me.external_urls ​

readonly external_urls: object

me.external_urls.spotify ​

readonly spotify: "https://open.spotify.com/user/testuser" = "https://open.spotify.com/user/testuser"

me.followers ​

readonly followers: object

me.followers.href ​

readonly href: null = null

me.followers.total ​

readonly total: 46 = 46

me.href ​

readonly href: "https://api.spotify.com/v1/users/testuser" = "https://api.spotify.com/v1/users/testuser"

me.id ​

readonly id: "testuser" = "testuser"

me.images ​

readonly images: readonly [] = []

me.product ​

readonly product: "premium" = "premium"

me.type ​

readonly type: "user" = "user"

me.uri ​

readonly uri: "spotify:user:testuser" = "spotify:user:testuser"

playlistCreated ​

readonly playlistCreated: object

playlistCreated.collaborative ​

readonly collaborative: false = false

playlistCreated.description ​

readonly description: "" = ""

playlistCreated.external_urls ​

readonly external_urls: object

playlistCreated.external_urls.spotify ​

readonly spotify: "https://open.spotify.com/playlist/newplaylist123" = "https://open.spotify.com/playlist/newplaylist123"

playlistCreated.href ​

readonly href: "https://api.spotify.com/v1/playlists/newplaylist123" = "https://api.spotify.com/v1/playlists/newplaylist123"

playlistCreated.id ​

readonly id: "newplaylist123" = "newplaylist123"

playlistCreated.images ​

readonly images: null = null

playlistCreated.name ​

readonly name: "Test Playlist" = "Test Playlist"

playlistCreated.owner ​

readonly owner: object

playlistCreated.owner.display_name ​

readonly display_name: "testuser" = "testuser"

playlistCreated.owner.id ​

readonly id: "testuser" = "testuser"

playlistCreated.owner.type ​

readonly type: "user" = "user"

playlistCreated.owner.uri ​

readonly uri: "spotify:user:testuser" = "spotify:user:testuser"

playlistCreated.public ​

readonly public: true = true

playlistCreated.snapshot_id ​

readonly snapshot_id: "AAAAAeVjTHx" = "AAAAAeVjTHx"

playlistCreated.tracks ​

readonly tracks: object

playlistCreated.tracks.href ​

readonly href: "https://api.spotify.com/v1/playlists/newplaylist123/tracks" = "https://api.spotify.com/v1/playlists/newplaylist123/tracks"

playlistCreated.tracks.total ​

readonly total: 0 = 0

playlistCreated.type ​

readonly type: "playlist" = "playlist"

playlistCreated.uri ​

readonly uri: "spotify:playlist:newplaylist123" = "spotify:playlist:newplaylist123"

playlists ​

readonly playlists: object

playlists.href ​

readonly href: "https://api.spotify.com/v1/me/playlists?offset=0&limit=2" = "https://api.spotify.com/v1/me/playlists?offset=0&limit=2"

playlists.items ​

readonly items: readonly [{ collaborative: false; description: ""; external_urls: { spotify: "https://open.spotify.com/playlist/abc123"; }; href: "https://api.spotify.com/v1/playlists/abc123"; id: "abc123"; images: null; items: { href: "https://api.spotify.com/v1/playlists/abc123/items"; total: 5; }; name: "Test Playlist"; owner: { display_name: "testuser"; external_urls: { spotify: "https://open.spotify.com/user/testuser"; }; href: "https://api.spotify.com/v1/users/testuser"; id: "testuser"; type: "user"; uri: "spotify:user:testuser"; }; primary_color: null; public: true; snapshot_id: "AAAAAeVjTHxxOP/x8oDpg0679osdxtIR"; type: "playlist"; uri: "spotify:playlist:abc123"; }]

playlists.limit ​

readonly limit: 2 = 2

playlists.next ​

readonly next: "https://api.spotify.com/v1/me/playlists?offset=2&limit=2" = "https://api.spotify.com/v1/me/playlists?offset=2&limit=2"

playlists.offset ​

readonly offset: 0 = 0

playlists.previous ​

readonly previous: null = null

playlists.total ​

readonly total: 112 = 112

playlistTracks ​

readonly playlistTracks: object

playlistTracks.href ​

readonly href: "https://api.spotify.com/v1/playlists/abc123/items?offset=0&limit=2" = "https://api.spotify.com/v1/playlists/abc123/items?offset=0&limit=2"

playlistTracks.items ​

readonly items: readonly [{ added_at: "2026-01-01T00:00:00Z"; item: { album: { album_type: "album"; artists: readonly [{ external_urls: { spotify: "https://open.spotify.com/artist/711MCceyCBcFnzjGY4Q7Un"; }; href: "https://api.spotify.com/v1/artists/711MCceyCBcFnzjGY4Q7Un"; id: "711MCceyCBcFnzjGY4Q7Un"; name: "AC/DC"; type: "artist"; uri: "spotify:artist:711MCceyCBcFnzjGY4Q7Un"; }]; name: "The Razors Edge"; type: "album"; }; artists: readonly [{ id: "711MCceyCBcFnzjGY4Q7Un"; name: "AC/DC"; type: "artist"; uri: "spotify:artist:711MCceyCBcFnzjGY4Q7Un"; }]; duration_ms: 292333; id: "57bgtoPSgt236HzfBOd8kj"; name: "Thunderstruck"; type: "track"; uri: "spotify:track:57bgtoPSgt236HzfBOd8kj"; }; }]

playlistTracks.limit ​

readonly limit: 2 = 2

playlistTracks.next ​

readonly next: null = null

playlistTracks.offset ​

readonly offset: 0 = 0

playlistTracks.previous ​

readonly previous: null = null

playlistTracks.total ​

readonly total: 1 = 1

queue ​

readonly queue: object

queue.currently_playing ​

readonly currently_playing: null = null

queue.queue ​

readonly queue: readonly [] = []

recentlyPlayed ​

readonly recentlyPlayed: object

recentlyPlayed.cursors ​

readonly cursors: object

recentlyPlayed.cursors.after ​

readonly after: "1773582501018" = "1773582501018"

recentlyPlayed.cursors.before ​

readonly before: "1773547654577" = "1773547654577"

recentlyPlayed.href ​

readonly href: "https://api.spotify.com/v1/me/player/recently-played?limit=2" = "https://api.spotify.com/v1/me/player/recently-played?limit=2"

recentlyPlayed.items ​

readonly items: readonly [{ context: { type: "playlist"; uri: "spotify:playlist:abc123"; }; played_at: "2026-03-15T13:48:21.018Z"; track: { album: { album_type: "album"; artists: readonly [{ external_urls: { spotify: "https://open.spotify.com/artist/0gxyHStUsqpMadRV0Di1Qt"; }; href: "https://api.spotify.com/v1/artists/0gxyHStUsqpMadRV0Di1Qt"; id: "0gxyHStUsqpMadRV0Di1Qt"; name: "Rick Astley"; type: "artist"; uri: "spotify:artist:0gxyHStUsqpMadRV0Di1Qt"; }]; name: "Whenever You Need Somebody"; type: "album"; }; artists: readonly [{ id: "0gxyHStUsqpMadRV0Di1Qt"; name: "Rick Astley"; type: "artist"; uri: "spotify:artist:0gxyHStUsqpMadRV0Di1Qt"; }]; duration_ms: 213573; id: "4PTG3Z6ehGkBFwjybzWkR8"; name: "Never Gonna Give You Up"; type: "track"; uri: "spotify:track:4PTG3Z6ehGkBFwjybzWkR8"; }; }]

recentlyPlayed.limit ​

readonly limit: 2 = 2

recentlyPlayed.next ​

readonly next: "https://api.spotify.com/v1/me/player/recently-played?before=1773547654577&limit=2" = "https://api.spotify.com/v1/me/player/recently-played?before=1773547654577&limit=2"

savedTracks ​

readonly savedTracks: object

savedTracks.href ​

readonly href: "https://api.spotify.com/v1/me/tracks?offset=0&limit=2" = "https://api.spotify.com/v1/me/tracks?offset=0&limit=2"

savedTracks.items ​

readonly items: readonly [{ added_at: "2026-01-23T02:58:08Z"; track: { album: { album_type: "album"; artists: readonly [{ external_urls: { spotify: "https://open.spotify.com/artist/12eNUx8BvR5qmpFssq8Vkt"; }; href: "https://api.spotify.com/v1/artists/12eNUx8BvR5qmpFssq8Vkt"; id: "12eNUx8BvR5qmpFssq8Vkt"; name: "Soneros De Verdad"; type: "artist"; uri: "spotify:artist:12eNUx8BvR5qmpFssq8Vkt"; }]; name: "A Buena Vista: Barrio De La Habana"; type: "album"; }; artists: readonly [{ id: "12eNUx8BvR5qmpFssq8Vkt"; name: "Soneros De Verdad"; type: "artist"; uri: "spotify:artist:12eNUx8BvR5qmpFssq8Vkt"; }, { id: "3NOoOH3WZuJRNe5cvmW7ic"; name: "Luis Frank"; type: "artist"; uri: "spotify:artist:3NOoOH3WZuJRNe5cvmW7ic"; }]; duration_ms: 193693; id: "6K4iVISawI285iTxyvBIEB"; name: "A Buena Vista"; type: "track"; uri: "spotify:track:6K4iVISawI285iTxyvBIEB"; }; }]

savedTracks.limit ​

readonly limit: 2 = 2

savedTracks.next ​

readonly next: "https://api.spotify.com/v1/me/tracks?offset=2&limit=2" = "https://api.spotify.com/v1/me/tracks?offset=2&limit=2"

savedTracks.offset ​

readonly offset: 0 = 0

savedTracks.previous ​

readonly previous: null = null

savedTracks.total ​

readonly total: 1500 = 1500

searchTracks ​

readonly searchTracks: object

searchTracks.tracks ​

readonly tracks: object

searchTracks.tracks.href ​

readonly href: "https://api.spotify.com/v1/search?offset=0&limit=1&query=Thunderstruck%20AC%2FDC&type=track" = "https://api.spotify.com/v1/search?offset=0&limit=1&query=Thunderstruck%20AC%2FDC&type=track"

searchTracks.tracks.items ​

readonly items: readonly [{ album: { album_type: "album"; artists: readonly [{ external_urls: { spotify: "https://open.spotify.com/artist/711MCceyCBcFnzjGY4Q7Un"; }; href: "https://api.spotify.com/v1/artists/711MCceyCBcFnzjGY4Q7Un"; id: "711MCceyCBcFnzjGY4Q7Un"; name: "AC/DC"; type: "artist"; uri: "spotify:artist:711MCceyCBcFnzjGY4Q7Un"; }]; external_urls: { spotify: "https://open.spotify.com/album/4vu7F6h90Br1ZtYYaqfITy"; }; href: "https://api.spotify.com/v1/albums/4vu7F6h90Br1ZtYYaqfITy"; id: "4vu7F6h90Br1ZtYYaqfITy"; images: readonly [{ height: 640; url: "https://i.scdn.co/image/ab67616d0000b2739a9b1cc067e4460da04adce2"; width: 640; }]; is_playable: true; name: "The Razors Edge"; release_date: "1990-09-24"; release_date_precision: "day"; total_tracks: 12; type: "album"; uri: "spotify:album:4vu7F6h90Br1ZtYYaqfITy"; }; artists: readonly [{ external_urls: { spotify: "https://open.spotify.com/artist/711MCceyCBcFnzjGY4Q7Un"; }; href: "https://api.spotify.com/v1/artists/711MCceyCBcFnzjGY4Q7Un"; id: "711MCceyCBcFnzjGY4Q7Un"; name: "AC/DC"; type: "artist"; uri: "spotify:artist:711MCceyCBcFnzjGY4Q7Un"; }]; disc_number: 1; duration_ms: 292333; explicit: false; external_ids: { isrc: "AUAP09000014"; }; external_urls: { spotify: "https://open.spotify.com/track/57bgtoPSgt236HzfBOd8kj"; }; href: "https://api.spotify.com/v1/tracks/57bgtoPSgt236HzfBOd8kj"; id: "57bgtoPSgt236HzfBOd8kj"; is_local: false; is_playable: true; name: "Thunderstruck"; track_number: 1; type: "track"; uri: "spotify:track:57bgtoPSgt236HzfBOd8kj"; }]

searchTracks.tracks.limit ​

readonly limit: 1 = 1

searchTracks.tracks.next ​

readonly next: "https://api.spotify.com/v1/search?offset=1&limit=1&query=Thunderstruck%20AC%2FDC&type=track" = "https://api.spotify.com/v1/search?offset=1&limit=1&query=Thunderstruck%20AC%2FDC&type=track"

searchTracks.tracks.offset ​

readonly offset: 0 = 0

searchTracks.tracks.previous ​

readonly previous: null = null

searchTracks.tracks.total ​

readonly total: 1000 = 1000

snapshotId ​

readonly snapshotId: object

snapshotId.snapshot_id ​

readonly snapshot_id: "abc123snapshot" = "abc123snapshot"

topTracks ​

readonly topTracks: object

topTracks.href ​

readonly href: "https://api.spotify.com/v1/me/top/tracks?limit=2" = "https://api.spotify.com/v1/me/top/tracks?limit=2"

topTracks.items ​

readonly items: readonly [{ album: { album_type: "album"; artists: readonly [{ external_urls: { spotify: "https://open.spotify.com/artist/6qxpnaukVayrQn6ViNvu9I"; }; href: "https://api.spotify.com/v1/artists/6qxpnaukVayrQn6ViNvu9I"; id: "6qxpnaukVayrQn6ViNvu9I"; name: "BigXthaPlug"; type: "artist"; uri: "spotify:artist:6qxpnaukVayrQn6ViNvu9I"; }]; name: "AMAR"; type: "album"; }; artists: readonly [{ id: "6qxpnaukVayrQn6ViNvu9I"; name: "BigXthaPlug"; type: "artist"; uri: "spotify:artist:6qxpnaukVayrQn6ViNvu9I"; }]; duration_ms: 146133; id: "7j7ud2oFTJ8BjmeI8bjkQm"; name: "Texas"; type: "track"; uri: "spotify:track:7j7ud2oFTJ8BjmeI8bjkQm"; }]

topTracks.limit ​

readonly limit: 2 = 2

topTracks.next ​

readonly next: "https://api.spotify.com/v1/me/top/tracks?offset=2&limit=2" = "https://api.spotify.com/v1/me/top/tracks?offset=2&limit=2"

topTracks.offset ​

readonly offset: 0 = 0

topTracks.previous ​

readonly previous: null = null

topTracks.total ​

readonly total: 5291 = 5291

track ​

readonly track: object

track.album ​

readonly album: object

track.album.album_type ​

readonly album_type: "album" = "album"

track.album.artists ​

readonly artists: readonly [{ external_urls: { spotify: "https://open.spotify.com/artist/711MCceyCBcFnzjGY4Q7Un"; }; href: "https://api.spotify.com/v1/artists/711MCceyCBcFnzjGY4Q7Un"; id: "711MCceyCBcFnzjGY4Q7Un"; name: "AC/DC"; type: "artist"; uri: "spotify:artist:711MCceyCBcFnzjGY4Q7Un"; }]

track.album.external_urls ​

readonly external_urls: object

track.album.external_urls.spotify ​

readonly spotify: "https://open.spotify.com/album/4vu7F6h90Br1ZtYYaqfITy" = "https://open.spotify.com/album/4vu7F6h90Br1ZtYYaqfITy"

track.album.href ​

readonly href: "https://api.spotify.com/v1/albums/4vu7F6h90Br1ZtYYaqfITy" = "https://api.spotify.com/v1/albums/4vu7F6h90Br1ZtYYaqfITy"

track.album.id ​

readonly id: "4vu7F6h90Br1ZtYYaqfITy" = "4vu7F6h90Br1ZtYYaqfITy"

track.album.images ​

readonly images: readonly [{ height: 640; url: "https://i.scdn.co/image/ab67616d0000b2739a9b1cc067e4460da04adce2"; width: 640; }, { height: 300; url: "https://i.scdn.co/image/ab67616d00001e029a9b1cc067e4460da04adce2"; width: 300; }, { height: 64; url: "https://i.scdn.co/image/ab67616d000048519a9b1cc067e4460da04adce2"; width: 64; }]

track.album.is_playable ​

readonly is_playable: true = true

track.album.name ​

readonly name: "The Razors Edge" = "The Razors Edge"

track.album.release_date ​

readonly release_date: "1990-09-24" = "1990-09-24"

track.album.release_date_precision ​

readonly release_date_precision: "day" = "day"

track.album.total_tracks ​

readonly total_tracks: 12 = 12

track.album.type ​

readonly type: "album" = "album"

track.album.uri ​

readonly uri: "spotify:album:4vu7F6h90Br1ZtYYaqfITy" = "spotify:album:4vu7F6h90Br1ZtYYaqfITy"

track.artists ​

readonly artists: readonly [{ external_urls: { spotify: "https://open.spotify.com/artist/711MCceyCBcFnzjGY4Q7Un"; }; href: "https://api.spotify.com/v1/artists/711MCceyCBcFnzjGY4Q7Un"; id: "711MCceyCBcFnzjGY4Q7Un"; name: "AC/DC"; type: "artist"; uri: "spotify:artist:711MCceyCBcFnzjGY4Q7Un"; }]

track.disc_number ​

readonly disc_number: 1 = 1

track.duration_ms ​

readonly duration_ms: 292333 = 292333

track.explicit ​

readonly explicit: false = false

track.external_ids ​

readonly external_ids: object

track.external_ids.isrc ​

readonly isrc: "AUAP09000014" = "AUAP09000014"

track.external_urls ​

readonly external_urls: object

track.external_urls.spotify ​

readonly spotify: "https://open.spotify.com/track/57bgtoPSgt236HzfBOd8kj" = "https://open.spotify.com/track/57bgtoPSgt236HzfBOd8kj"

track.href ​

readonly href: "https://api.spotify.com/v1/tracks/57bgtoPSgt236HzfBOd8kj" = "https://api.spotify.com/v1/tracks/57bgtoPSgt236HzfBOd8kj"

track.id ​

readonly id: "57bgtoPSgt236HzfBOd8kj" = "57bgtoPSgt236HzfBOd8kj"

track.is_local ​

readonly is_local: false = false

track.is_playable ​

readonly is_playable: true = true

track.name ​

readonly name: "Thunderstruck" = "Thunderstruck"

track.track_number ​

readonly track_number: 1 = 1

track.type ​

readonly type: "track" = "track"

track.uri ​

readonly uri: "spotify:track:57bgtoPSgt236HzfBOd8kj" = "spotify:track:57bgtoPSgt236HzfBOd8kj"

MIT Licensed. Not affiliated with or endorsed by Spotify AB.