Spotify API .NET Standard Library
Access Token Object
Token Expiration Date
Refresh
Scopes
Access Token
Token Type
Authentication Token Type
Access Token
User Token
Auth Access Token Expired or Required Error
Auth Code State Error
Auth Code Value Error
Auth Code Error
Auth Token Expired or Required Error
Auth Token State Error
Auth Token Value Error
Auth User Token Expired or Required Error
Spotify API
Add Tracks to a Playlist Scopes: PlaylistModifyPublic, PlaylistModifyPrivate
Name | Description |
---|---|
playlistId | System.String The Spotify ID for the playlist. |
uris | System.Collections.Generic.List{System.String} (Optional) List of Spotify track URIs to add. |
position | System.Nullable{System.Int32} (Optional) The position to insert the tracks, a zero-based index. |
Snapshot Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Change a Playlist's Details Scopes: PlaylistModifyPublic, PlaylistModifyPrivate
Name | Description |
---|---|
playlistId | System.String (Required) The Spotify ID for the playlist. |
name | System.String (Optional) The new name for the playlist, for example "My New Playlist Title" |
isPublic | System.Nullable{System.Boolean} (Optional) If true the playlist will be public, if false it will be private. |
isCollaborative | System.Nullable{System.Boolean} (Optional) If true , the playlist will become collaborative and other users will be able to modify the playlist in their Spotify client. Note: You can only set collaborative to true on non-public playlists. |
description | System.String (Optional) Value for playlist description as displayed in Spotify Clients and in the Web API. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Check User's Saved Albums Scopes: LibraryRead
Name | Description |
---|---|
itemIds | System.Collections.Generic.List{System.String} (Required) List of the Spotify IDs for the albums |
List of true or false values
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Check User's Saved Tracks Scopes: LibraryRead
Name | Description |
---|---|
itemIds | System.Collections.Generic.List{System.String} (Required) List of the Spotify IDs for the tracks |
List of true or false values
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Check if Users Follow a Playlist Scopes: PlaylistReadPrivate
Name | Description |
---|---|
ids | System.Collections.Generic.List{System.String} (Required) List of Spotify User IDs, the ids of the users that you want to check to see if they follow the playlist. Maximum: 5 ids. |
playlistId | System.String (Required) The Spotify ID of the playlist. |
List of true or false values
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Create a Playlist Scopes: PlaylistModifyPublic, PlaylistModifyPrivate
Name | Description |
---|---|
userId | System.String (Required) The user’s Spotify user ID. |
name | System.String (Required) The name for the new playlist, for example "Your Coolest Playlist" . This name does not need to be unique; a user may have several playlists with the same name. |
isPublic | System.Nullable{System.Boolean} (Optional) Defaults to true . If true the playlist will be public, if false it will be private. To be able to create private playlists, the user must have granted the playlist-modify-private scope |
isCollaborative | System.Nullable{System.Boolean} (Optional) Defaults to false . If true the playlist will be collaborative. Note that to create a collaborative playlist you must also set public to false . To create collaborative playlists you must have granted playlist-modify-private and playlist-modify-public scopes. |
description | System.String (Optional) Value for playlist description as displayed in Spotify Clients and in the Web API. |
Playlist Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Follow Artists or Users Scopes: FollowModify
Name | Description |
---|---|
ids | System.Collections.Generic.List{System.String} (Required) List of the artist or the user Spotify IDs. |
followType | Spotify.NetStandard.Enums.FollowType (Required) Either artist or user |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Follow a Playlist Scopes: FollowModify
Name | Description |
---|---|
playlistId | System.String (Required) The Spotify ID of the playlist. Any playlist can be followed, regardless of its public/private status, as long as you know its playlist ID. |
isPublic | System.Boolean (Optional) Defaults to true. If true the playlist will be included in user’s public playlists, if false it will remain private. To be able to follow playlists privately, the user must have granted the playlist-modify-private scope. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get an Album
Name | Description |
---|---|
id | System.String (Required) The Spotify ID of the album. |
market | System.String (Optional) The market you’d like to request. An ISO 3166-1 alpha-2 country code. |
Album Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get an Album's Tracks
Name | Description |
---|---|
id | System.String (Required) The Spotify ID of the album. |
market | System.String (Optional) An ISO 3166-1 alpha-2 country code or the string from_token. Provide this parameter if you want to apply Track Relinking. |
page | Spotify.NetStandard.Requests.Page (Optional) Limit: The maximum number of tracks to return. Default: 20. Minimum: 1. Maximum: 50. - Offset: The index of the first track to return |
Paging of Track Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get All Categories
Name | Description |
---|---|
country | System.String (Optional) A country: an ISO 3166-1 alpha-2 country code. |
locale | System.String (Optional) The desired language, consisting of an ISO 639-1 language code and an ISO 3166-1 alpha-2 country code, joined by an underscore. |
page | Spotify.NetStandard.Requests.Page (Optional) Limit: The maximum number of categories to return. Default: 20. Minimum: 1. Maximum: 50. Offset: The index of the first item to return. Default: 0 |
Paging List of Category Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get All Featured Playlists
Name | Description |
---|---|
country | System.String (Optional) A country: an ISO 3166-1 alpha-2 country code. Provide this parameter if you want the list of returned items to be relevant to a particular country |
locale | System.String (Optional) The desired language, consisting of a lowercase ISO 639-1 language code and an uppercase ISO 3166-1 alpha-2 country code, joined by an underscore |
timeStamp | System.Nullable{System.DateTime} (Optional) Use this parameter to specify the user’s local time to get results tailored for that specific date and time in the day. |
page | Spotify.NetStandard.Requests.Page (Optional) Limit: The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50. - Offset: The index of the first item to return. Default: 0 |
Paging List of Playlist Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get All New Releases
Name | Description |
---|---|
country | System.String (Optional) A country: an ISO 3166-1 alpha-2 country code. |
page | Spotify.NetStandard.Requests.Page (Optional) Limit: The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50. - Offset: The index of the first item to return. Default: 0 |
Paging List of Album Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get an Artist's Albums
Name | Description |
---|---|
id | System.String (Required) The Spotify ID for the artist. |
includeGroup | Spotify.NetStandard.Requests.IncludeGroup (Optional) Filters the response. If not supplied, all album types will be returned |
market | System.String (Optional) An ISO 3166-1 alpha-2 country code or the string from_token |
page | Spotify.NetStandard.Requests.Page (Optional) Limit: The number of album objects to return. Default: 20. Minimum: 1. Maximum: 50. - Offset: The index of the first album to return. Default: 0 |
Paging List of Album Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get an Artist
Name | Description |
---|---|
id | System.String (Required) The Spotify ID of the artist. |
Artist Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get an Artist's Related Artists
Name | Description |
---|---|
id | System.String (Requird) The Spotify ID for the artist. |
List of Artist Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get an Artist's Top Tracks
Name | Description |
---|---|
id | System.String (Required) The Spotify ID for the artist. |
market | System.String (Required) An ISO 3166-1 alpha-2 country code or the string from_token |
List of Track Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get Authorisation Code Auth Token - Authorisation Code Flow
Name | Description |
---|---|
responseUri | System.Uri Response Uri |
redirectUri | System.Uri Redirect Uri |
state | System.String State |
AccessToken on Success, Null if Not
Spotify.NetStandard.Client.Exceptions.AuthCodeValueException: AuthCodeValueException
Spotify.NetStandard.Client.Exceptions.AuthCodeStateException: AuthCodeStateException
Get Authorisation Code Auth Uri - Authorisation Code Flow
Name | Description |
---|---|
redirectUri | System.Uri Redirect Uri |
state | System.String State |
scope | Spotify.NetStandard.Requests.Scope Scope |
showDialog | System.Boolean (Optional) Whether or not to force the user to approve the app again if they’ve already done so. |
Uri
Get a Category
Name | Description |
---|---|
categoryId | System.String (Required) The Spotify category ID for the category. |
country | System.String (Optional) A country: an ISO 3166-1 alpha-2 country code. |
locale | System.String (Optional) The desired language, consisting of an ISO 639-1 language code and an ISO 3166-1 alpha-2 country code, joined by an underscore. |
Category Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get a Category's Playlists
Name | Description |
---|---|
categoryId | System.String (Required) The Spotify category ID for the category. |
country | System.String (Optional) A country: an ISO 3166-1 alpha-2 country code. |
page | Spotify.NetStandard.Requests.Page (Optional) Limit: The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50. - Offset: The index of the first item to return. Default: 0 |
Paging List of Playlist Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get Client Credentials Auth Token - Client Credentials Flow
AccessToken on Success, Null if Not
Get Following State for Artists/Users Scopes: FollowRead
Name | Description |
---|---|
ids | System.Collections.Generic.List{System.String} (Required) List of the artist or the user Spotify IDs to check. |
followType | Spotify.NetStandard.Enums.FollowType (Required) Either artist or user. |
List of true or false values
Get Implicit Grant Auth Token - Implicit Grant Flow
Name | Description |
---|---|
responseUri | System.Uri Response Uri |
redirectUri | System.Uri Redirect Uri |
state | System.String State |
AccessToken on Success, Null if Not
Spotify.NetStandard.Client.Exceptions.AuthTokenValueException: AuthCodeValueException
Spotify.NetStandard.Client.Exceptions.AuthTokenStateException: AuthCodeStateException
Get Implicit Grant Auth Uri - Implicit Grant Flow
Name | Description |
---|---|
redirectUri | System.Uri Redirect Uri |
state | System.String State |
scope | Spotify.NetStandard.Requests.Scope Scope |
showDialog | System.Boolean (Optional) Whether or not to force the user to approve the app again if they’ve already done so. |
Uri
Get Multiple Albums
Name | Description |
---|---|
ids | System.Collections.Generic.List{System.String} (Required) List of the Spotify IDs for the albums. Maximum: 20 IDs. |
market | System.String (Optional) An ISO 3166-1 alpha-2 country code or the string from_token. Provide this parameter if you want to apply Track Relinking. |
List of Album Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get Multiple Artists
Name | Description |
---|---|
ids | System.Collections.Generic.List{System.String} (Required) List of the Spotify IDs for the artists. Maximum: 50 IDs. |
List of Artist Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get a Playlist
Name | Description |
---|---|
playlistId | System.String (Required) The Spotify ID for the playlist. |
Playlist Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get a Playlist Cover Image
Name | Description |
---|---|
playlistId | System.String (Required) The Spotify ID for the playlist. |
List of Image Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get a Playlist's Tracks
Name | Description |
---|---|
id | System.String (Required) The Spotify ID for the playlist. |
market | System.String (Optional) An ISO 3166-1 alpha-2 country code or the string from_token |
page | Spotify.NetStandard.Requests.Page (Optional) Limit: The maximum number of items to return. Default: 100. Minimum: 1. Maximum: 100. - Offset: The index of the first item to return. Default: 0 |
Paging List of Track Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get Recommendation Genres
Available Genre Seeds Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
GetRecommendationsAsync(seedArtists, seedGenres, seedTracks, limit, market, minTuneableTrack, maxTuneableTrack, targetTuneableTrack)
Get Recommendations
Name | Description |
---|---|
seedArtists | System.Collections.Generic.List{System.String} (Required) List of Spotify IDs for seed artists. Up to 5 seed values may be provided in any combination of seedArtists, seedTracks and seedGenres. |
seedGenres | System.Collections.Generic.List{System.String} (Required) List of any genres in the set of available genre seeds. Up to 5 seed values may be provided in any combination of seedArtists, seedTracks and seedGenres. |
seedTracks | System.Collections.Generic.List{System.String} (Required) List of Spotify IDs for a seed track. Up to 5 seed values may be provided in any combination of seedArtists, seedTracks and seedGenres. |
limit | System.Nullable{System.Int32} (Optional) The target size of the list of recommended tracks. Default: 20. Minimum: 1. Maximum: 100. |
market | System.String (Optional) An ISO 3166-1 alpha-2 country code or the string from_token |
minTuneableTrack | Spotify.NetStandard.Requests.TuneableTrack (Optional) Multiple values. For each tunable track attribute, a hard floor on the selected track attribute’s value can be provided |
maxTuneableTrack | Spotify.NetStandard.Requests.TuneableTrack (Optional) Multiple values. For each tunable track attribute, a hard ceiling on the selected track attribute’s value can be provided. |
targetTuneableTrack | Spotify.NetStandard.Requests.TuneableTrack (Optional) Multiple values. For each of the tunable track attributes (below) a target value may be provided. |
Recommendation Response Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get Several Tracks
Name | Description |
---|---|
ids | System.Collections.Generic.List{System.String} (Required) List of the Spotify IDs for the tracks. Maximum: 50 IDs. |
market | System.String (Optional) An ISO 3166-1 alpha-2 country code or the string from_token. Provide this parameter if you want to apply Track Relinking. |
List of Track Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get Audio Features for Several Tracks
Name | Description |
---|---|
ids | System.Collections.Generic.List{System.String} (Required) List of the Spotify IDs for the tracks. Maximum: 100 IDs. |
List of Audio Features Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get a Track
Name | Description |
---|---|
id | System.String (Required) The Spotify ID for the track. |
market | System.String (Optional) An ISO 3166-1 alpha-2 country code or the string from_token. Provide this parameter if you want to apply Track Relinking. |
Track Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get Audio Analysis for a Track
Name | Description |
---|---|
id | System.String (Required) The Spotify ID for the track |
Audio Analysis Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get Audio Features for a Track
Name | Description |
---|---|
id | System.String (Required) The Spotify ID for the track |
Audio Features Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Get Information About The User's Current Playback Scopes: ConnectReadPlaybackState
Name | Description |
---|---|
market | System.String (Optional) An ISO 3166-1 alpha-2 country code or the string from_token. Provide this parameter if you want to apply Track Relinking. |
Currently Playing Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get the User's Currently Playing Track Scopes: ConnectReadCurrentlyPlaying, ConnectReadPlaybackState
Name | Description |
---|---|
market | System.String (Optional) An ISO 3166-1 alpha-2 country code or the string from_token. Provide this parameter if you want to apply Track Relinking. |
Simplified Currently Playing Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get a User's Available Devices Scopes: ConnectReadPlaybackState
Devices Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get a List of Current User's Playlists Scopes: PlaylistReadPrivate, PlaylistReadCollaborative
Name | Description |
---|---|
cursor | Spotify.NetStandard.Requests.Cursor (Optional) Limit: The maximum number of playlists to return. Default: 20. Minimum: 1. Maximum: 50. - The index of the first playlist to return. Default: 0 (the first object). Maximum offset: 100. Use with limit to get the next set of playlists. |
CursorPaging of Playlist Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get a List of a User's Playlists Scopes: PlaylistReadPrivate, PlaylistReadCollaborative
Name | Description |
---|---|
userId | System.String (Required) The user’s Spotify user ID. |
cursor | Spotify.NetStandard.Requests.Cursor (Optional) Limit: The maximum number of playlists to return. Default: 20. Minimum: 1. Maximum: 50. - Offset: The index of the first playlist to return. Default: 0 (the first object). Maximum offset: 100 |
CursorPaging of Playlist Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get Current User's Profile Scopes: UserReadEmail, UserReadBirthDate, UserReadPrivate
Private User Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get a User's Profile
Name | Description |
---|---|
userId | System.String The user’s Spotify user ID. |
Public User Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get Current User's Recently Played Tracks Scopes: ListeningRecentlyPlayed
Name | Description |
---|---|
cursor | Spotify.NetStandard.Requests.Cursor (Optional) Limit: The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50. - After: A Unix timestamp in milliseconds. Returns all items after (but not including) this cursor position. If after is specified, before must not be specified. Before - (Optional) A Unix timestamp in milliseconds. Returns all items before (but not including) this cursor position. If before is specified, after must not be specified. |
Cursor Paging of Play History Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get User's Saved Albums Scopes: LibraryRead
Name | Description |
---|---|
market | System.String (Optional) An ISO 3166-1 alpha-2 country code or the string from_token. Provide this parameter if you want to apply Track Relinking. |
cursor | Spotify.NetStandard.Requests.Cursor (Optional) Limit: The maximum number of objects to return. Default: 20. Minimum: 1. Maximum: 50. - Offset: The index of the first object to return. Default: 0 (i.e., the first object). Use with limit to get the next set of objects. |
Cursor Paging of Saved Album Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get User's Saved Tracks Scopes: LibraryRead
Name | Description |
---|---|
market | System.String (Optional) An ISO 3166-1 alpha-2 country code or the string from_token. Provide this parameter if you want to apply Track Relinking. |
cursor | Spotify.NetStandard.Requests.Cursor (Optional) Limit: The maximum number of objects to return. Default: 20. Minimum: 1. Maximum: 50. - Offset: The index of the first object to return. Default: 0 (i.e., the first object). Use with limit to get the next set of objects. |
Cursor Paging of Saved Track Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get User's Followed Artists Scopes: FollowRead
Name | Description |
---|---|
cursor | Spotify.NetStandard.Requests.Cursor (Optional) Limit: The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50. - After: The last artist ID retrieved from the previous request. |
CursorPaging of Artist Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get a User's Top Artists Scopes: ListeningTopRead
Name | Description |
---|---|
timeRange | System.Nullable{Spotify.NetStandard.Enums.TimeRange} (Optional) Over what time frame the affinities are computed. Long Term: alculated from several years of data and including all new data as it becomes available, Medium Term: (Default) approximately last 6 months, Short Term: approximately last 4 weeks |
cursor | Spotify.NetStandard.Requests.Cursor (Optional) Limit: The number of entities to return. Default: 20. Minimum: 1. Maximum: 50. For example - Offset: he index of the first entity to return. Default: 0. Use with limit to get the next set of entities. |
Cursor Paging of Artist Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get a User's Top Tracks Scopes: ListeningTopRead
Name | Description |
---|---|
timeRange | System.Nullable{Spotify.NetStandard.Enums.TimeRange} (Optional) Over what time frame the affinities are computed. Long Term: alculated from several years of data and including all new data as it becomes available, Medium Term: (Default) approximately last 6 months, Short Term: approximately last 4 weeks |
cursor | Spotify.NetStandard.Requests.Cursor (Optional) Limit: The number of entities to return. Default: 20. Minimum: 1. Maximum: 50. For example - Offset: he index of the first entity to return. Default: 0. Use with limit to get the next set of entities. |
Cursor Paging of Track Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Remove Tracks from a Playlist Scopes: PlaylistModifyPublic, PlaylistModifyPrivate
Name | Description |
---|---|
playlistId | System.String (Required) The Spotify ID for the playlist. |
tracks | System.Collections.Generic.List{System.String} (Required) List of Spotify URIs of the tracks to remove |
snapshotId | System.String (Optional) The playlist’s snapshot ID against which you want to make the changes. The API will validate that the specified tracks exist and in the specified positions and make the changes, even if more recent changes have been made to the playlist. |
Snapshot Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Remove Albums for Current User Scopes: LibraryModify
Name | Description |
---|---|
itemIds | System.Collections.Generic.List{System.String} (Required) List of the Spotify IDs for the albums |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Remove User's Saved Tracks Scopes: LibraryModify
Name | Description |
---|---|
itemIds | System.Collections.Generic.List{System.String} (Required) List of the Spotify IDs for the tracks |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Reorder a Playlist's Tracks Scopes: PlaylistModifyPublic, PlaylistModifyPrivate
Name | Description |
---|---|
playlistId | System.String The Spotify ID for the playlist. |
rangeStart | System.Int32 (Required) The position of the first track to be reordered. |
insertBefore | System.Int32 (Required) The position where the tracks should be inserted. To reorder the tracks to the end of the playlist, simply set insert_before to the position after the last track. |
rangeLength | System.Nullable{System.Int32} (Optional) The amount of tracks to be reordered. Defaults to 1 if not set. The range of tracks to be reordered begins from the range_start position, and includes the range_length subsequent tracks. |
snapshotId | System.String (Optional) The playlist’s snapshot ID against which you want to make the changes. |
Snapshot Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Replace a Playlist's Tracks Scopes: PlaylistModifyPublic, PlaylistModifyPrivate
Name | Description |
---|---|
playlistId | System.String (Required) The Spotify ID for the playlist. |
uris | System.Collections.Generic.List{System.String} (Optional) List of Spotify track URIs. |
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Save Albums for Current User Scopes: LibraryModify
Name | Description |
---|---|
itemIds | System.Collections.Generic.List{System.String} (Required) List of the Spotify IDs for the albums |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Save Tracks for User Scopes: LibraryModify
Name | Description |
---|---|
itemIds | System.Collections.Generic.List{System.String} (Required) List of the Spotify IDs for the tracks |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Search for an Item
Name | Description |
---|---|
query | System.String (Required) Search query keywords and optional field filters and operators. |
searchType | Spotify.NetStandard.Requests.SearchType (Required) List of item types to search across. |
market | System.String (Optional) An ISO 3166-1 alpha-2 country code or the string from_token. |
external | System.Nullable{System.Boolean} (Optional) Include any relevant audio content that is hosted externally. |
page | Spotify.NetStandard.Requests.Page (Optional) Limit: Maximum number of results to return. Default: 20 Minimum: 1 Maximum: 50 - Offset: The index of the first track to return |
Content Response
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Unfollow Artists or Users Scopes: FollowModify
Name | Description |
---|---|
ids | System.Collections.Generic.List{System.String} (Required) List of the artist or the user Spotify IDs. |
followType | Spotify.NetStandard.Enums.FollowType (Required) Either artist or user |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Unfollow Playlist Scopes: PlaylistModifyPublic, PlaylistModifyPrivate
Name | Description |
---|---|
playlistId | System.String (Required) The Spotify ID of the playlist that is to be no longer followed. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Upload a Custom Playlist Cover Image Scopes: UserGeneratedContentImageUpload, PlaylistModifyPublic, PlaylistModifyPrivate
Name | Description |
---|---|
playlistId | System.String (Required) The Spotify ID for the playlist. |
file | System.Byte[] (Required) JPEG Image File Bytes |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Skip User’s Playback To Next Track Scopes: ConnectModifyPlaybackState
Name | Description |
---|---|
deviceId | System.String (Optional) The id of the device this command is targeting. If not supplied, the user’s currently active device is the target. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Pause a User's Playback Scopes: ConnectModifyPlaybackState
Name | Description |
---|---|
deviceId | System.String (Optional) The id of the device this command is targeting. If not supplied, the user’s currently active device is the target. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Skip User’s Playback To Previous Track Scopes: ConnectModifyPlaybackState
Name | Description |
---|---|
deviceId | System.String (Optional) The id of the device this command is targeting. If not supplied, the user’s currently active device is the target. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Seek To Position In Currently Playing Track Scopes: ConnectModifyPlaybackState
Name | Description |
---|---|
position | System.Int32 (Required) The position in milliseconds to seek to. Must be a positive number. Passing in a position that is greater than the length of the track will cause the player to start playing the next song. |
deviceId | System.String (Optional) The id of the device this command is targeting. If not supplied, the user’s currently active device is the target. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Set Repeat Mode On User’s Playback Scopes: ConnectModifyPlaybackState
Name | Description |
---|---|
state | Spotify.NetStandard.Enums.RepeatState (Required) track, context or off. track will repeat the current track. context will repeat the current context. off will turn repeat off. |
deviceId | System.String (Optional) The id of the device this command is targeting. If not supplied, the user’s currently active device is the target. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Set Volume For User's Playback Scopes: ConnectModifyPlaybackState
Name | Description |
---|---|
percent | System.Int32 (Required) The volume to set. Must be a value from 0 to 100 inclusive. |
deviceId | System.String (Optional) The id of the device this command is targeting. If not supplied, the user’s currently active device is the target. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Start/Resume a User's Playback Scopes: ConnectModifyPlaybackState
Name | Description |
---|---|
contextUri | System.String (Optional) Spotify URI of the context to play. Valid contexts are albums, artists, playlists. Example: "spotify:album:1Je1IMUlBXcx1Fz0WE7oPT" |
uris | System.Collections.Generic.List{System.String} (Optional) List of the Spotify track URIs to play. For example: ["spotify:track:4iV5W9uYEdYUVa79Axb7Rh", "spotify:track:1301WleyT98MSxVHPZCA6M"]} |
offsetUri | System.Nullable{System.Int32} (Optional) Use either offsetUri or offsetPosition, Indicates from where in the context playback should start. Only available when context_uri corresponds to an album or playlist object, or when the uris parameter is used. “position” is zero based and can’t be negative. Example: 5. |
offsetPosition | System.String (Optional) Use either offsetPosition or offsetUri, Indicates from where in the context playback should start. Only available when context_uri corresponds to an album or playlist object, or when the uris parameter is used. “uri” is a string representing the uri of the item to start at. Example: "spotify:track:1301WleyT98MSxVHPZCA6M" |
position | System.Nullable{System.Int32} (Optional) Indicates from what position to start playback.Must be a positive number.Passing in a position that is greater than the length of the track will cause the player to start playing the next song. |
deviceId | System.String (Optional) The id of the device this command is targeting. If not supplied, the user’s currently active device is the target. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Toggle Shuffle For User’s Playback Scopes: ConnectModifyPlaybackState
Name | Description |
---|---|
state | System.Boolean (Required) true : Shuffle user’s playback, false : Do not shuffle user’s playback |
deviceId | System.String (Optional) The id of the device this command is targeting. If not supplied, the user’s currently active device is the target. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Transfer a User's Playback Scopes: ConnectModifyPlaybackState
Name | Description |
---|---|
deviceIds | System.Collections.Generic.List{System.String} (Required) List containing the ID of the device on which playback should be started/transferred. Although an array is accepted, only a single device_id is currently supported. |
play | System.Nullable{System.Boolean} (Optional) true: ensure playback happens on new device. false or not provided: keep the current playback state. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Spotify Client
Spotify API
Add Tracks to a Playlist Scopes: PlaylistModifyPublic, PlaylistModifyPrivate
Name | Description |
---|---|
playlistId | System.String (Required) The Spotify ID for the playlist. |
uris | Spotify.NetStandard.Requests.UriListRequest (Optional) List of Spotify track URIs to add. |
position | System.Nullable{System.Int32} (Optional) The position to insert the tracks, a zero-based index. |
Snapshot Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Auth - Client Credentials Flow
AccessToken on Success, Null if Not
Change a Playlist's Details Scopes: PlaylistModifyPublic, PlaylistModifyPrivate
Name | Description |
---|---|
playlistId | System.String (Required) The Spotify ID for the playlist. |
request | Spotify.NetStandard.Requests.PlaylistRequest (Optional) Playlist Request Object |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Create a Playlist Scopes: PlaylistModifyPublic, PlaylistModifyPrivate
Name | Description |
---|---|
userId | System.String (Required) The user’s Spotify user ID. |
request | Spotify.NetStandard.Requests.PlaylistRequest (Required) Playlist Request |
Playlist Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Follow Artists or Users Scopes: FollowModify
Name | Description |
---|---|
itemIds | System.Collections.Generic.List{System.String} (Required) List of the artist or the user Spotify IDs. |
followType | Spotify.NetStandard.Enums.FollowType (Required) Either artist or user |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Follow a Playlist Scopes: FollowModify
Name | Description |
---|---|
playlistId | System.String (Required) The Spotify ID of the playlist. Any playlist can be followed, regardless of its public/private status, as long as you know its playlist ID. |
isPublic | System.Boolean (Optional) Defaults to true. If true the playlist will be included in user’s public playlists, if false it will remain private. To be able to follow playlists privately, the user must have granted the playlist-modify-private scope. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get a Playlist Cover Image
Name | Description |
---|---|
playlistId | System.String (Required) The Spotify ID for the playlist. |
Image Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Check User's Saved Albums Scopes: LibraryRead
Name | Description |
---|---|
itemIds | System.Collections.Generic.List{System.String} (Required) List of the Spotify IDs for the albums |
List of true or false values
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Check User's Saved Tracks Scopes: LibraryRead
Name | Description |
---|---|
itemIds | System.Collections.Generic.List{System.String} (Required) List of the Spotify IDs for the tracks |
List of true or false values
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get User's Followed Artists Scopes: FollowRead
Name | Description |
---|---|
cursor | Spotify.NetStandard.Requests.Cursor (Optional) Limit: The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50. - After: The last artist ID retrieved from the previous request. |
CursorPaging of Artist Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get Following State for Artists/Users Scopes: FollowRead
Name | Description |
---|---|
itemIds | System.Collections.Generic.List{System.String} (Required) List of the artist or the user Spotify IDs to check. |
followType | Spotify.NetStandard.Enums.FollowType (Required) Either artist or user. |
List of true or false values
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Check if Users Follow a Playlist Scopes: PlaylistReadPrivate
Name | Description |
---|---|
itemIds | System.Collections.Generic.List{System.String} (Required) List of Spotify User IDs, the ids of the users that you want to check to see if they follow the playlist. Maximum: 5 ids. |
playlistId | System.String (Required) The Spotify ID of the playlist. |
List of true or false values
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get Information About The User's Current Playback Scopes: ConnectReadPlaybackState
Name | Description |
---|---|
market | System.String (Optional) An ISO 3166-1 alpha-2 country code or the string from_token. Provide this parameter if you want to apply Track Relinking. |
Currently Playing Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get the User's Currently Playing Track Scopes: ConnectReadCurrentlyPlaying, ConnectReadPlaybackState
Name | Description |
---|---|
market | System.String (Optional) An ISO 3166-1 alpha-2 country code or the string from_token. Provide this parameter if you want to apply Track Relinking. |
Simplified Currently Playing Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get a User's Available Devices Scopes: ConnectReadPlaybackState
Devices Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get a List of Current User's Playlists Scopes: PlaylistReadPrivate, PlaylistReadCollaborative
Name | Description |
---|---|
cursor | Spotify.NetStandard.Requests.Cursor (Optional) Limit: The maximum number of playlists to return. Default: 20. Minimum: 1. Maximum: 50. - The index of the first playlist to return. Default: 0 (the first object). Maximum offset: 100. Use with limit to get the next set of playlists. |
CursorPaging of Playlist Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get a List of a User's Playlists Scopes: PlaylistReadPrivate, PlaylistReadCollaborative
Name | Description |
---|---|
userId | System.String (Required) The user’s Spotify user ID. |
cursor | Spotify.NetStandard.Requests.Cursor (Optional) Limit: The maximum number of playlists to return. Default: 20. Minimum: 1. Maximum: 50. - Offset: The index of the first playlist to return. Default: 0 (the first object). Maximum offset: 100 |
CursorPaging of Playlist Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get Current User's Profile Scopes: UserReadEmail, UserReadBirthDate, UserReadPrivate
Private User Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get a User's Profile
Name | Description |
---|---|
userId | System.String The user’s Spotify user ID. |
Public User Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get Current User's Recently Played Tracks Scopes: ListeningRecentlyPlayed
Name | Description |
---|---|
cursor | Spotify.NetStandard.Requests.Cursor (Optional) Limit: The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50. - After: A Unix timestamp in milliseconds. Returns all items after (but not including) this cursor position. If after is specified, before must not be specified. Before - (Optional) A Unix timestamp in milliseconds. Returns all items before (but not including) this cursor position. If before is specified, after must not be specified. |
Cursor Paging of Play History Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get User's Saved Albums Scopes: LibraryRead
Name | Description |
---|---|
market | System.String (Optional) An ISO 3166-1 alpha-2 country code or the string from_token. Provide this parameter if you want to apply Track Relinking. |
cursor | Spotify.NetStandard.Requests.Cursor (Optional) Limit: The maximum number of objects to return. Default: 20. Minimum: 1. Maximum: 50. - Offset: The index of the first object to return. Default: 0 (i.e., the first object). Use with limit to get the next set of objects. |
Cursor Paging of Saved Album Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get User's Saved Tracks Scopes: LibraryRead
Name | Description |
---|---|
market | System.String (Optional) An ISO 3166-1 alpha-2 country code or the string from_token. Provide this parameter if you want to apply Track Relinking. |
cursor | Spotify.NetStandard.Requests.Cursor (Optional) Limit: The maximum number of objects to return. Default: 20. Minimum: 1. Maximum: 50. - Offset: The index of the first object to return. Default: 0 (i.e., the first object). Use with limit to get the next set of objects. |
Cursor Paging of Saved Track Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get a User's Top Artists Scopes: ListeningTopRead
Name | Description |
---|---|
timeRange | System.Nullable{Spotify.NetStandard.Enums.TimeRange} (Optional) Over what time frame the affinities are computed. Long Term: alculated from several years of data and including all new data as it becomes available, Medium Term: (Default) approximately last 6 months, Short Term: approximately last 4 weeks |
cursor | Spotify.NetStandard.Requests.Cursor (Optional) Limit: The number of entities to return. Default: 20. Minimum: 1. Maximum: 50. For example - Offset: he index of the first entity to return. Default: 0. Use with limit to get the next set of entities. |
Cursor Paging of Artist Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get a User's Top Tracks Scopes: ListeningTopRead
Name | Description |
---|---|
timeRange | System.Nullable{Spotify.NetStandard.Enums.TimeRange} (Optional) Over what time frame the affinities are computed. Long Term: alculated from several years of data and including all new data as it becomes available, Medium Term: (Default) approximately last 6 months, Short Term: approximately last 4 weeks |
cursor | Spotify.NetStandard.Requests.Cursor (Optional) Limit: The number of entities to return. Default: 20. Minimum: 1. Maximum: 50. For example - Offset: he index of the first entity to return. Default: 0. Use with limit to get the next set of entities. |
Cursor Paging of Track Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Remove Tracks from a Playlist Scopes: PlaylistModifyPublic, PlaylistModifyPrivate
Name | Description |
---|---|
playlistId | System.String (Required) The Spotify ID for the playlist. |
request | Spotify.NetStandard.Requests.PlaylistTracksRequest (Optional) Tracks: An array of objects containing Spotify URIs of the tracks to remove. Snapshot ID : The playlist’s snapshot ID against which you want to make the changes. The API will validate that the specified tracks exist and in the specified positions and make the changes, even if more recent changes have been made to the playlist. |
Snapshot Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Remove Albums for Current User Scopes: LibraryModify
Name | Description |
---|---|
itemIds | System.Collections.Generic.List{System.String} (Required) List of the Spotify IDs for the albums |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Remove User's Saved Tracks Scopes: LibraryModify
Name | Description |
---|---|
itemIds | System.Collections.Generic.List{System.String} (Required) List of the Spotify IDs for the tracks |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Reorder a Playlist's Tracks Scopes: PlaylistModifyPublic, PlaylistModifyPrivate
Name | Description |
---|---|
playlistId | System.String (Required) The Spotify ID for the playlist. |
request | Spotify.NetStandard.Requests.PlaylistReorderRequest (Required) Playlist Reorder Request |
Snapshot Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Replace a Playlist's Tracks Scopes: PlaylistModifyPublic, PlaylistModifyPrivate
Name | Description |
---|---|
playlistId | System.String (Required) The Spotify ID for the playlist. |
uris | Spotify.NetStandard.Requests.UriListRequest (Optional) Uri List Request. |
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Save Albums for Current User Scopes: LibraryModify
Name | Description |
---|---|
itemIds | System.Collections.Generic.List{System.String} (Required) List of the Spotify IDs for the albums |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Save Tracks for User Scopes: LibraryModify
Name | Description |
---|---|
itemIds | System.Collections.Generic.List{System.String} (Required) List of the Spotify IDs for the tracks |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Unfollow Artists or Users Scopes: FollowModify
Name | Description |
---|---|
itemIds | System.Collections.Generic.List{System.String} (Required) List of the artist or the user Spotify IDs. |
followType | Spotify.NetStandard.Enums.FollowType (Required) Either artist or user |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Unfollow Playlist Scopes: PlaylistModifyPublic, PlaylistModifyPrivate
Name | Description |
---|---|
playlistId | System.String (Required) The Spotify ID of the playlist that is to be no longer followed. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Upload a Custom Playlist Cover Image Scopes: UserGeneratedContentImageUpload, PlaylistModifyPublic, PlaylistModifyPrivate
Name | Description |
---|---|
playlistId | System.String (Required) The Spotify ID for the playlist. |
file | System.Byte[] (Required) JPEG Image File Bytes |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Auth User - Authorisation Code Flow
Name | Description |
---|---|
redirectUri | System.Uri Redirect Uri |
state | System.String State |
scope | Spotify.NetStandard.Requests.Scope Scope |
showDialog | System.Boolean (Optional) Whether or not to force the user to approve the app again if they’ve already done so. |
Uri
Auth User - Authorisation Code Flow
Name | Description |
---|---|
responseUri | System.Uri Response Uri |
redirectUri | System.Uri Redirect Uri |
state | System.String State |
AccessToken on Success, Null if Not
Spotify.NetStandard.Client.Exceptions.AuthCodeValueException: AuthCodeValueException
Spotify.NetStandard.Client.Exceptions.AuthCodeStateException: AuthCodeStateException
Auth User Implicit - Implicit Grant Flow
Name | Description |
---|---|
redirectUri | System.Uri Redirect Uri |
state | System.String State |
scope | Spotify.NetStandard.Requests.Scope Scope |
showDialog | System.Boolean (Optional) Whether or not to force the user to approve the app again if they’ve already done so. |
Uri
Auth User Implicit - Implicit Grant Flow
Name | Description |
---|---|
responseUri | System.Uri Response Uri |
redirectUri | System.Uri Redirect Uri |
state | System.String State |
AccessToken on Success, Null if Not
Spotify.NetStandard.Client.Exceptions.AuthTokenValueException: AuthCodeValueException
Spotify.NetStandard.Client.Exceptions.AuthTokenStateException: AuthCodeStateException
Skip User’s Playback To Next Track Scopes: ConnectModifyPlaybackState
Name | Description |
---|---|
deviceId | System.String (Optional) The id of the device this command is targeting. If not supplied, the user’s currently active device is the target. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Pause a User's Playback Scopes: ConnectModifyPlaybackState
Name | Description |
---|---|
deviceId | System.String (Optional) The id of the device this command is targeting. If not supplied, the user’s currently active device is the target. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Skip User’s Playback To Previous Track Scopes: ConnectModifyPlaybackState
Name | Description |
---|---|
deviceId | System.String (Optional) The id of the device this command is targeting. If not supplied, the user’s currently active device is the target. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Seek To Position In Currently Playing Track Scopes: ConnectModifyPlaybackState
Name | Description |
---|---|
position | System.Int32 (Required) The position in milliseconds to seek to. Must be a positive number. Passing in a position that is greater than the length of the track will cause the player to start playing the next song. |
deviceId | System.String (Optional) The id of the device this command is targeting. If not supplied, the user’s currently active device is the target. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Set Repeat Mode On User’s Playback Scopes: ConnectModifyPlaybackState
Name | Description |
---|---|
state | Spotify.NetStandard.Enums.RepeatState (Required) track, context or off. track will repeat the current track. context will repeat the current context. off will turn repeat off. |
deviceId | System.String (Optional) The id of the device this command is targeting. If not supplied, the user’s currently active device is the target. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Set Volume For User's Playback Scopes: ConnectModifyPlaybackState
Name | Description |
---|---|
percent | System.Int32 (Required) The volume to set. Must be a value from 0 to 100 inclusive. |
deviceId | System.String (Optional) The id of the device this command is targeting. If not supplied, the user’s currently active device is the target. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Start/Resume a User's Playback Scopes: ConnectModifyPlaybackState
Name | Description |
---|---|
request | Spotify.NetStandard.Requests.PlaybackRequest (Optional) Playback Request Object |
deviceId | System.String (Optional) The id of the device this command is targeting. If not supplied, the user’s currently active device is the target. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Toggle Shuffle For User’s Playback Scopes: ConnectModifyPlaybackState
Name | Description |
---|---|
state | System.Boolean (Required) true : Shuffle user’s playback, false : Do not shuffle user’s playback |
deviceId | System.String (Optional) The id of the device this command is targeting. If not supplied, the user’s currently active device is the target. |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Transfer a User's Playback Scopes: ConnectModifyPlaybackState
Name | Description |
---|---|
request | Spotify.NetStandard.Requests.DevicesRequest (Required) Devices Request Object |
Status Object
Spotify.NetStandard.Client.Exceptions.AuthUserTokenRequiredException:
Get
- TResponse - Response Type
Name | Description |
---|---|
hostname | System.String Hostname |
endpoint | System.String Endpoint |
parameters | System.Collections.Generic.Dictionary{System.String,System.String} Parameters |
Response
Get
- TResponse - Response Type
Name | Description |
---|---|
source | System.Uri Source Uri |
Response
Get Access Token
Access Token
Lookup All Categories
Name | Description |
---|---|
country | System.String (Optional) A country: an ISO 3166-1 alpha-2 country code. |
locale | System.String (Optional) The desired language, consisting of a lowercase ISO 639-1 language code and an uppercase ISO 3166-1 alpha-2 country code, joined by an underscore |
page | Spotify.NetStandard.Requests.Page (Optional) Limit: The maximum number of categories to return. Default: 20. Minimum: 1. Maximum: 50. - Offset: The index of the first item to return. Default: 0 |
Content Response
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Lookup Artist's Albums
Name | Description |
---|---|
itemId | System.String (Required) The Spotify ID for the artist. |
includeGroup | Spotify.NetStandard.Requests.IncludeGroup (Optional) Filters the response. If not supplied, all album types will be returned |
market | System.String (Optional) An ISO 3166-1 alpha-2 country code |
page | Spotify.NetStandard.Requests.Page (Optional) Limit: The number of album objects to return. Default: 20. Minimum: 1. Maximum: 50 - Offset: The index of the first album to return. Default: 0 (i.e., the first album). |
Paging List of Album
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Lookup Artist's Related Artists
Name | Description |
---|---|
itemId | System.String (Required) The Spotify ID for the artist. |
Lookup Response
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Lookup Artist's Top Tracks
Name | Description |
---|---|
itemId | System.String (Required) The Spotify ID for the artist. |
market | System.String (Required) A country: an ISO 3166-1 alpha-2 country code or the string from_token |
Lookup Response
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Lookup
Name | Description |
---|---|
itemIds | System.Collections.Generic.List{System.String} (Required) List of Spotify ID for the items |
lookupType | Spotify.NetStandard.Enums.LookupType (Required) Lookup Item Type |
market | System.String (Optional) ISO 3166-1 alpha-2 country code or the string from_token |
page | Spotify.NetStandard.Requests.Page (Optional) Limit: The maximum number of items to return - Offset: The index of the first item to return |
Lookup Response
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Lookup
- TResponse - Response Type
Name | Description |
---|---|
itemId | System.String (Required) The Spotify ID for the album. |
lookupType | Spotify.NetStandard.Enums.LookupType (Required) Item Type |
market | System.String (Optional) ISO 3166-1 alpha-2 country code or the string from_token |
key | System.String (Optional) Query Parameter Key |
value | System.String (Optional) Query Parameter Value |
page | Spotify.NetStandard.Requests.Page (Optional) Limit: The maximum number of items to return - Offset: The index of the first item to return |
Lookup Response by Type
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Lookup Category
Name | Description |
---|---|
categoryId | System.String The Spotify category ID for the category. |
country | System.String (Optional) A country: an ISO 3166-1 alpha-2 country code. |
locale | System.String (Optional) The desired language, consisting of an ISO 639-1 language code and an ISO 3166-1 alpha-2 country code, joined by an underscore. |
Category Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Lookup Featured Playlists
Name | Description |
---|---|
country | System.String (Optional) A country: an ISO 3166-1 alpha-2 country code. |
locale | System.String (Optional) The desired language, consisting of a lowercase ISO 639-1 language code and an uppercase ISO 3166-1 alpha-2 country code, joined by an underscore |
timestamp | System.Nullable{System.DateTime} (Optional) Use this parameter to specify the user’s local time to get results tailored for that specific date and time in the day. |
page | Spotify.NetStandard.Requests.Page (Optional) Limit: The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50. - Offset: The index of the first item to return. Default: 0 |
Content Response
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Lookup New Releases
Name | Description |
---|---|
country | System.String (Optional) A country: an ISO 3166-1 alpha-2 country code. |
page | Spotify.NetStandard.Requests.Page (Optional) Limit: The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50. - Offset: The index of the first item to return. Default: 0 |
Content Response
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Lookup Recommendation Genres
Available Genre Seeds Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
LookupRecommendationsAsync(seedArtists, seedGenres, seedTracks, limit, market, minTuneableTrack, maxTuneableTrack, targetTuneableTrack)
Lookup Recommendations
Name | Description |
---|---|
seedArtists | System.Collections.Generic.List{System.String} List of Spotify IDs for seed artists |
seedGenres | System.Collections.Generic.List{System.String} List of any genres in the set of available genre seeds |
seedTracks | System.Collections.Generic.List{System.String} List of Spotify IDs for a seed track |
limit | System.Nullable{System.Int32} The target size of the list of recommended tracks. Default: 20. Minimum: 1. Maximum: 100. |
market | System.String An ISO 3166-1 alpha-2 country code |
minTuneableTrack | Spotify.NetStandard.Requests.TuneableTrack Multiple values. For each tunable track attribute, a hard floor on the selected track attribute’s value can be provided |
maxTuneableTrack | Spotify.NetStandard.Requests.TuneableTrack Multiple values. For each tunable track attribute, a hard ceiling on the selected track attribute’s value can be provided. |
targetTuneableTrack | Spotify.NetStandard.Requests.TuneableTrack Multiple values. For each of the tunable track attributes a target value may be provided. |
Recommendation Response Object
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Navigate
- TResponse - Response Type
Name | Description |
---|---|
paging | Spotify.NetStandard.Responses.Paging Paging Object |
navigateType | Spotify.NetStandard.Enums.NavigateType Navigate Type |
Content Response
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Refresh Token
Access Token
Search
Name | Description |
---|---|
query | System.String (Required) Search Query |
searchType | Spotify.NetStandard.Requests.SearchType (Required) Search results include hits from all the specified item types. |
country | System.String (Optional) An ISO 3166-1 alpha-2 country code or the string from_token |
external | System.Nullable{System.Boolean} (Optional) Include any relevant audio content that is hosted externally. |
page | Spotify.NetStandard.Requests.Page (Optional) Limit: The maximum number of items to return - Offset: The index of the first item to return |
Content Response
Spotify.NetStandard.Client.Exceptions.AuthAccessTokenRequiredException:
Set Access Token
Name | Description |
---|---|
value | Spotify.NetStandard.Client.Authentication.AccessToken Access Token |
Spotify Client Factory
Create Spotify Client
Name | Description |
---|---|
clientId | System.String Spotify Client Id |
clientSecret | System.String Spotify Client Secret |
Spotify Client
Follow Type
Artist
User
Lookup Type
Albums
Album Tracks
Artist Albums
Artists
Audio Analysis
Audio Features
Categories
Category Playlists
Playlists
Playlist Tracks
Tracks
Navigate Type
Navigate Next
None
Navigate Previous
Repeat State
Will repeat the current context.
Will turn repeat off.
Will repeat the current track
Time Range
Calculated from several years of data and including all new data as it becomes available
Approximately last 6 months
Approximately last 4 weeks
Cursor Object
The cursor to use as key to find the next page of items.
The cursor to use as key to find the previous page of items.
The maximum number of items in the response (as set in the query or by default).
Devices Request Object
(Required) List containing the ID of the device on which playback should be started/transferred. Although an array is accepted, only a single id is currently supported.
(Optional) true: ensure playback happens on new device. false or not provided: keep the current playback state.
Include Group
Album
Appears On
Compliation
Single
Page
Page Count
Get / Set Current Page
The maximum number of items in the response (as set in the query or by default).
The offset of the items returned (as set in the query or by default).
The total number of items available to return.
Playback Request Object
(Optional) Spotify URI of the context to play. Valid contexts are albums, artists, playlists. Example: spotify:album:1Je1IMUlBXcx1Fz0WE7oPT
(Optional) Indicates from where in the context playback should start. Only available when ContextUri corresponds to an album or playlist object, or when the uris parameter is used. “position” is zero based and can’t be negative. Example: PositionRequest with Position = 5 or a UriRequest with Uri representing the uri of the item to start at. Example: UriRequest with Uri = "spotify:track:1301WleyT98MSxVHPZCA6M"
(Optional) Indicates from what position to start playback. Must be a positive number. Passing in a position that is greater than the length of the track will cause the player to start playing the next song.
(Optional) A JSON array of the Spotify track URIs to play. Example: spotify:track:4iV5W9uYEdYUVa79Axb7Rh, spotify:track:1301WleyT98MSxVHPZCA6M
Playlist Reorder Request Object
(Required) The position where the tracks should be inserted. To reorder the tracks to the end of the playlist, simply set insert_before to the position after the last track.
(Optional) The amount of tracks to be reordered. Defaults to 1 if not set. The range of tracks to be reordered begins from the RangeStart position, and includes the RangeLength subsequent tracks.
(Required) The position of the first track to be reordered.
(Optional) The playlist’s snapshot ID against which you want to make the changes.
Playlist Request Object
(Optional) Value for playlist description as displayed in Spotify Clients and in the Web API.
(Optional) If true , the playlist will become collaborative and other users will be able to modify the playlist in their Spotify client. Note: You can only set collaborative to true on non-public playlists.
(Optional) If true the playlist will be public, if false it will be private.
The new name for the playlist, for example "My New Playlist Title"
Playlist Tracks Request Object
The playlist’s snapshot ID against which you want to make the changes
Spotify URIs of Tracks
Position Request Object
Position
Public Request Object
Is Public
Authorisation Scopes
Pause a User's Playback Required For
Seek To Position In Currently Playing Track, Set Repeat Mode On User’s Playback, Set Volume For User's Playback
Skip User’s Playback To Next Track, Skip User’s Playback To Previous Track, Start/Resume a User's Playback
Toggle Shuffle For User’s Playback Transfer a User's Playback
Read access to a user’s currently playing track Required For
Get the User's Currently Playing Track
Read access to a user’s player state. Required For
Get a User's Available Devices, Get Information About The User's Current Playback, Get the User's Currently Playing Track
Write/delete access to the list of artists and other users that the user follows. Required For
Follow Artists or Users, Unfollow Artists or Users
Read access to the list of artists and other users that the user follows. Required For
Check if Current User Follows Artists or Users, Get User's Followed Artists
Write/delete access to a user's "Your Music" library. Required For
Remove Albums for Current User, Remove User's Saved Tracks, Save Albums for Current User Save Tracks for User
Read access to a user's "Your Music" library. Required For
Check User's Saved Albums Check User's Saved Tracks, Get Current User's Saved Albums Get a User's Saved Tracks
Read access to a user’s recently played tracks Required For
Get Current User's Recently Played Tracks
Read access to a user's top artists and tracks. Required For
Get a User's Top Artists and Tracks
Remote control playback of Spotify.
Control playback of a Spotify track. The user must have a Spotify Premium account.
Write access to a user's private playlists. Required For
Follow a Playlist, Unfollow a Playlist, Add Tracks to a Playlist
Change a Playlist's Details, Create a Playlist, Remove Tracks from a Playlist
Reorder a Playlist's Tracks, Replace a Playlist's Tracks, Upload a Custom Playlist Cover Image
Write access to a user's public playlists. Required For
Follow a Playlist, Unfollow a Playlist, Add Tracks to a Playlist
Change a Playlist's Details, Create a Playlist, Remove Tracks from a Playlist
Reorder a Playlist's Tracks, Replace a Playlist's Tracks, Upload a Custom Playlist Cover Image
Include collaborative playlists when requesting a user's playlists. Required For
Get a List of Current User's Playlists, Get a List of a User's Playlists
Read access to user's private playlists. Required For
Check if Users Follow a Playlist, Get a List of Current User's Playlists, Get a List of a User's Playlists
User Generated Content Image Upload Required For
Upload a Custom Playlist Cover Image
Read access to the user's birthdate. Required For
Get Current User's Profile
Read access to user’s email address. Required For
Get Current User's Profile
Read access to user’s subscription details (type of user account). Required For
Search for an Item, Get Current User's Profile
Search Type
Album
Artist
Playlist
Track
Tuneable Track Object
A confidence measure from 0.0 to 1.0 of whether the track is acoustic.
Danceability describes how suitable a track is for dancing based on a combination of musical elements including tempo, rhythm stability, beat strength, and overall regularity.
The duration of the track in milliseconds.
Energy is a measure from 0.0 to 1.0 and represents a perceptual measure of intensity and activity
Predicts whether a track contains no vocals
The key the track is in. Integers map to pitches using standard Pitch Class notation.
Detects the presence of an audience in the recording.
The overall loudness of a track in decibels (dB)
Mode indicates the modality(major or minor) of a track, the type of scale from which its melodic content is derived
The popularity of the track. The value will be between 0 and 100, with 100 being the most popular.
Speechiness detects the presence of spoken words in a track.
The overall estimated tempo of a track in beats per minute (BPM).
An estimated overall time signature of a track.
A measure from 0.0 to 1.0 describing the musical positiveness conveyed by a track.
URI List Request Object
URIs
URI Request Object
Spotify URI
Album Object
The artists of the album. Each artist object includes a link in href to more detailed information about the artist.
The copyright statements of the album.
Known external IDs for the album.
A list of the genres used to classify the album. For example: "Prog Rock" , "Post-Grunge"
The label for the album.
The popularity of the album. The value will be between 0 and 100, with 100 being the most popular
The date the album was first released, for example 1981. Depending on the precision, it might be shown as 1981-12 or 1981-12-15
The precision with which release_date value is known: year , month , or day.
The tracks of the album.
Artist Object
Information about the followers of the artist.
A list of the genres the artist is associated with. For example: "Prog Rock" , "Post-Grunge".
Images of the artist in various sizes, widest first.
The popularity of the artist. The value will be between 0 and 100, with 100 being the most popular.
Audio Analysis Object
The time intervals of the bars throughout the track
The time intervals of beats throughout the track.
Sections are defined by large variations in rhythm or timbre, e.g.chorus, verse, bridge, guitar solo, etc.
Audio segments attempts to subdivide a song into many segments, with each segment containing a roughly consitent sound throughout its duration.
A tatum represents the lowest regular pulse train that a listener intuitively infers from the timing of perceived musical events
Audio Features Object
A confidence measure from 0.0 to 1.0 of whether the track is acoustic.
An HTTP URL to access the full audio analysis of this track.
Danceability describes how suitable a track is for dancing based on a combination of musical elements including tempo, rhythm stability, beat strength, and overall regularity. A value of 0.0 is least danceable and 1.0 is most danceable.
The duration of the track in milliseconds.
Energy is a measure from 0.0 to 1.0 and represents a perceptual measure of intensity and activity
Predicts whether a track contains no vocals. “Ooh” and “aah” sounds are treated as instrumental in this context. Rap or spoken word tracks are clearly “vocal”. The closer the instrumentalness value is to 1.0, the greater likelihood the track contains no vocal content. Values above 0.5 are intended to represent instrumental tracks, but confidence is higher as the value approaches 1.0.
The key the track is in. Integers map to pitches using standard Pitch Class notation.
Detects the presence of an audience in the recording. Higher liveness values represent an increased probability that the track was performed live. A value above 0.8 provides strong likelihood that the track is live.
The overall loudness of a track in decibels (dB). Loudness values are averaged across the entire track and are useful for comparing relative loudness of tracks. Loudness is the quality of a sound that is the primary psychological correlate of physical strength (amplitude). Values typical range between -60 and 0 db.
Mode indicates the modality(major or minor) of a track, the type of scale from which its melodic content is derived. Major is represented by 1 and minor is 0.
Speechiness detects the presence of spoken words in a track. The more exclusively speech-like the recording (e.g. talk show, audio book, poetry), the closer to 1.0 the attribute value. Values above 0.66 describe tracks that are probably made entirely of spoken words. Values between 0.33 and 0.66 describe tracks that may contain both music and speech, either in sections or layered, including such cases as rap music. Values below 0.33 most likely represent music and other non-speech-like tracks.
The overall estimated tempo of a track in beats per minute (BPM). In musical terminology, tempo is the speed or pace of a given piece and derives directly from the average beat duration.
An estimated overall time signature of a track. The time signature (meter) is a notational convention to specify how many beats are in each bar (or measure).
A link to the Web API endpoint providing full details of the track.
A measure from 0.0 to 1.0 describing the musical positiveness conveyed by a track. Tracks with high valence sound more positive (e.g. happy, cheerful, euphoric), while tracks with low valence sound more negative (e.g. sad, depressed, angry).
Available Genre Seeds Object
Genres
Base Response Object
Error Object
Category Object
The category icon, in various sizes.
Content
The base-62 identifier that you can find at the end of the Spotify URI for the object
The name of the content
Content Response
Paging Object of Albums
Paging Object of Artists
Paging Object of Category
Paging Object of Playlists
Paging Object of Tracks
Context Object
Known external URLs for this object.
A link to the Web API endpoint providing full details of the object
The object type of the object
The Spotify URI for the object
Copyright Object
The copyright text for this album.
The type of copyright: C = the copyright, P = the sound recording (performance) copyright.
Currently Playing Object
The device that is currently active
off, track, context
If shuffle is on or off
Cursor Paging Object
- T - Object Type
Constructor
The cursor to use as key to find the next page of items.
The cursors used to find the next set of items.
Error Object
A link to the Web API endpoint returning the full result of the request.
The requested data.
URL to the next page of items. (null if none)
IEnumerable of Type
The total number of items available to return.
Device Object
The device ID. This may be null.
If this device is the currently active device.
If this device is currently in a private session.
Whether controlling this device is restricted. If true then no commands will be accepted by this device.
The name of the device.
Device type, such as “computer”, “smartphone” or “speaker”.
The current volume in percent. This may be null.
Devices Object
A list of 0..n Device objects.
Error Object
A short description of the cause of the error.
The HTTP status code
External Id Object
International Article Number
International Standard Recording Code
Universal Product Code
External Url Object
An external, public URL to the object.
Followers Object
A link to the Web API endpoint providing full details of the followers; null if not available
The total number of followers.
Image Object
The image height in pixels. If unknown: null or not returned.
The source URL of the image.
The image width in pixels. If unknown: null or not returned.
Content Cursor Response
Cursor Paging Object of Artist
Linked Track Object
Lookup Response
List of Album Object
List of Artist Object
List of Audio Feature Object
List of Track Object
Paging Object
- T - Object Type
Constructor
Error Object
A link to the Web API endpoint returning the full result of the request.
The requested data.
URL to the next page of items. (null if none)
Page
URL to the previous page of items. (null if none)
IEnumerable of Type
Play History Object
The context the track was played from.
The date and time the track was played. Format yyyy-MM-ddTHH:mm:ss
The track the user listened to.
Playlist Object
true if the owner allows other users to modify the playlist.
The playlist description. Only returned for modified, verified playlists, otherwise null.
Information about the followers of the playlist.
Images for the playlist.The array may be empty or contain up to three images. The images are returned by size in descending order.
The user who owns the playlist
The playlist’s public/private status: true the playlist is public, false the playlist is private, null the playlist status is not relevant
The version identifier for the current playlist.
Information about the tracks of the playlist.
Playlist Track Object
The date and time the track was added.
The Spotify user who added the track.
Whether this track is a local file or not.
Information about the track.
Private User Object
The user’s date-of-birth.This field is only available when the current user has granted access to the user-read-birthdate scope.
The country of the user, as set in the user’s account profile.An ISO 3166-1 alpha-2 country code.This field is only available when the current user has granted access to the user-read-private scope.
The user’s email address, as entered by the user when creating their account. his field is only available when the current user has granted access to the user-read-email scope
Public User Object
The name displayed on the user’s profile. null if not available.
Information about the followers of this user.
The user’s profile image.
The user’s Spotify subscription level: “premium”, “free”, etc. This field is only available when the current user has granted access to the user-read-private scope.
Recommendation Seed Object
The number of tracks available after min_* and max_* filters have been applied.
The number of tracks available after relinking for regional availability.
The number of recommended tracks available for this seed.
Recommendations Response Object
An array of recommendation seed objects.
An array of track object (simplified) ordered according to the parameters supplied.
Saved Album Object
The date and time the album was saved Timestamps are returned in ISO 8601 format as Coordinated Universal Time (UTC) with a zero offset: YYYY-MM-DDTHH:MM:SSZ. If the time is imprecise (for example, the date/time of an album release), an additional field indicates the precision; see for example, release_date in an album object.
Information about the album.
Saved Track Object
The date and time the track was saved. Timestamps are returned in ISO 8601 format as Coordinated Universal Time (UTC) with a zero offset: YYYY-MM-DDTHH:MM:SSZ. If the time is imprecise (for example, the date/time of an album release), an additional field indicates the precision; see for example, release_date in an album object.
Information about the track.
Section Object
The estimated overall key of the section. The values in this field ranging from 0 to 11 mapping to pitches using standard Pitch Class notation
The confidence, from 0.0 to 1.0, of the reliability of the key.
The overall loudness of the section in decibels (dB).
Indicates the modality (major or minor) of a track, the type of scale from which its melodic content is derived.This field will contain a 0 for “minor”, a 1 for “major”, or a -1 for no result.
The confidence, from 0.0 to 1.0, of the reliability of the mode.
The overall estimated tempo of the section in beats per minute (BPM).
The confidence, from 0.0 to 1.0, of the reliability of the tempo.
An estimated overall time signature of a track. The time signature (meter) is a notational convention to specify how many beats are in each bar (or measure). The time signature ranges from 3 to 7 indicating time signatures of “3/4”, to “7/4”.
The confidence, from 0.0 to 1.0, of the reliability of the time_signature.
Segment Object
The offset loudness of the segment in decibels (dB).
The peak loudness of the segment in decibels (dB).
The segment-relative offset of the segment peak loudness in seconds.
The onset loudness of the segment in decibels (dB).
A “chroma” vector representing the pitch content of the segment, corresponding to the 12 pitch classes C, C#, D to B, with values ranging from 0 to 1 that describe the relative dominance of every pitch in the chromatic scale
Timbre is the quality of a musical note or sound that distinguishes different types of musical instruments, or voices.
Simplified Album Object
The field is present when getting an artist’s albums. Possible values are “album”, “single”, “compilation”, “appears_on”.
The type of the album: one of "album" , "single" , or "compilation".
The artists of the album. Each artist object includes a link in href to more detailed information about the artist.
The markets in which the album is available: ISO 3166-1 alpha-2 country codes
The cover art for the album in various sizes, widest first.
The total number of tracks
Simplified Artist Object
Simplified Currently Playing Object
A Context Object. Can be null
If something is currently playing, return true.
Progress into the currently playing track. Can be null.
Unix Millisecond Timestamp when data was fetched
The currently playing track. Can be null.
The object type of the currently playing item. Can be one of track, episode, ad or unknown.
Simplified Track Object
The artists who performed the track. Each artist object includes a link in href to more detailed information about the artist.
A list of the countries in which the track can be played, identified by their ISO 3166-1 alpha-2 code.
The disc number(usually 1 unless the album consists of more than one disc).
The track length in milliseconds.
Whether or not the track has explicit lyrics ( true = yes it does; false = no it does not OR unknown).
Part of the response when Track Relinking is applied. If true , the track is playable in the given market. Otherwise false.
Part of the response when Track Relinking is applied and is only part of the response if the track linking, in fact, exists
A link to a 30 second preview(MP3 format) of the track.
The number of the track. If an album has several discs, the track number is the number on the specified disc.
Snapshot Response Object
Can be used to identify playlist version in future requests
Status Response
Code
Success
Time Interval Object
The reliability confidence, from 0.0 to 1.0
The duration in seconds
The starting point in seconds.
Track Object
The album on which the track appears.The album object includes a link in href to full information about the album.
The artists who performed the track. Each artist object includes a link in href to more detailed information about the artist.
Known external IDs for the track.
The popularity of the track. The value will be between 0 and 100, with 100 being the most popular.
Part of the response when Track Relinking is applied, the original track is not available in the given market
Track Restriction Object
Contains the reason why the track is not available e.g. market