My Question or Issue
For some reason, making a query to "Get a track" method using track id 7swIKcU4tFRk4iFJpi12Fg returns a track object with empty "available_markets". My question is what does that mean? Is the track available in every country or is this a bug? I could not find anything about this in the API docs.
This is the full track object that I got:
{
"album" : {
"album_type" : "compilation",
"artists" : [ {
"external_urls" : {
"spotify" : "https://open.spotify.com/artist/2zUQjYvy0TevSi4d3PjqQO"
},
"href" : "https://api.spotify.com/v1/artists/2zUQjYvy0TevSi4d3PjqQO",
"id" : "2zUQjYvy0TevSi4d3PjqQO",
"name" : "MONGOL800",
"type" : "artist",
"uri" : "spotify:artist:2zUQjYvy0TevSi4d3PjqQO"
} ],
"available_markets" : [ ],
"external_urls" : {
"spotify" : "https://open.spotify.com/album/5DDaPFrj3LdwzYmC4LJ7Nt"
},
"href" : "https://api.spotify.com/v1/albums/5DDaPFrj3LdwzYmC4LJ7Nt",
"id" : "5DDaPFrj3LdwzYmC4LJ7Nt",
"images" : [ {
"height" : 640,
"url" : "https://i.scdn.co/image/ab67616d0000b2730976960fab46a0fc89bd57bf",
"width" : 640
}, {
"height" : 300,
"url" : "https://i.scdn.co/image/ab67616d00001e020976960fab46a0fc89bd57bf",
"width" : 300
}, {
"height" : 64,
"url" : "https://i.scdn.co/image/ab67616d000048510976960fab46a0fc89bd57bf",
"width" : 64
} ],
"name" : "800BEST -simple is the BEST!!-",
"release_date" : "2013-01-23",
"release_date_precision" : "day",
"total_tracks" : 15,
"type" : "album",
"uri" : "spotify:album:5DDaPFrj3LdwzYmC4LJ7Nt"
},
"artists" : [ {
"external_urls" : {
"spotify" : "https://open.spotify.com/artist/2zUQjYvy0TevSi4d3PjqQO"
},
"href" : "https://api.spotify.com/v1/artists/2zUQjYvy0TevSi4d3PjqQO",
"id" : "2zUQjYvy0TevSi4d3PjqQO",
"name" : "MONGOL800",
"type" : "artist",
"uri" : "spotify:artist:2zUQjYvy0TevSi4d3PjqQO"
} ],
"available_markets" : [ ],
"disc_number" : 1,
"duration_ms" : 222520,
"explicit" : false,
"external_ids" : {
"isrc" : "JPB590501014"
},
"external_urls" : {
"spotify" : "https://open.spotify.com/track/7swIKcU4tFRk4iFJpi12Fg"
},
"href" : "https://api.spotify.com/v1/tracks/7swIKcU4tFRk4iFJpi12Fg",
"id" : "7swIKcU4tFRk4iFJpi12Fg",
"is_local" : false,
"name" : "???????",
"popularity" : 4,
"preview_url" : null,
"track_number" : 2,
"type" : "track",
"uri" : "spotify:track:7swIKcU4tFRk4iFJpi12Fg"
}