Spotify (Independent Publisher) (Preview)

The Spotify connector will give you access to your Library, Artists, Albums, Tracks and more!

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Daniel Laskewitz Sogeti
URL https://youtube.com/daniellaskewitz
Email connectorsupport@laskewitz.io
Connector Metadata
Publisher Daniel Laskewitz
Website https://spotify.com
Privacy policy https://www.spotify.com/us/legal/privacy-policy/
Categories Lifestyle and Entertainment;Social Media

Throttling Limits

Name Calls Renewal Period
API calls per connection10060 seconds

Actions

Get a User's Top Artists

Get the current user's top artists based on calculated affinity.

Get All New Releases

A list of new album releases featured in Spotify (Example: 'Browse' tab on the Spotify player).

Get Current User's Profile

Get detailed profile information about the current user (including the current user's username).

Get User's Saved Albums

Get a list of the albums saved in the current Spotify user's 'Your Music' library.

Get a User's Top Artists

Get the current user's top artists based on calculated affinity.

Returns

Name Path Type Description
items
items array of Artist

The current user's top artists.

Href
href string

A link to the Web API endpoint returning the full result of the request

Limit
limit integer

The maximum number of items in the response (as set in the query or by default).

Next
next string

URL to the next page of items. (null if none)

Offset
offset integer

The offset of the items returned (as set in the query or by default)

Previous
previous string

URL to the previous page of items. (null if none)

Total
total integer

The total number of items available to return.

Get All New Releases

A list of new album releases featured in Spotify (Example: 'Browse' tab on the Spotify player).

Parameters

Name Key Required Type Description
Country
country string

Provide this parameter if you want the list of returned items to be relevant to a particular country. If omitted, the returned items will be relevant to all countries.

Returns

Name Path Type Description
Albums
albums.items array of SimplifiedAlbum

A list of new album releases featured in Spotify.

Get Current User's Profile

Get detailed profile information about the current user (including the current user's username).

Returns

Private user information.

Private User
PrivateUser

Get User's Saved Albums

Get a list of the albums saved in the current Spotify user's 'Your Music' library.

Returns

Name Path Type Description
Albums
items array of Album

Get a list of the albums saved in the current Spotify user's 'Your Music' library.

Href
href string

A link to the Web API endpoint returning the full result of the request

Limit
limit integer

The maximum number of items in the response (as set in the query or by default).

Next
next string

URL to the next page of items. (null if none)

Offset
offset integer

The offset of the items returned (as set in the query or by default)

Previous
previous string

URL to the previous page of items. (null if none)

Total
total integer

The total number of items available to return.

Definitions

Album

album

Name Path Type Description
Album type
album_type string

The type of the album: album, single, or compilation.

Artists
artists array of Artist

The artists of the album. Each artist object includes a link in href to more detailed information about the artist.

Available markets
available_markets array of string

The markets in which the album is available: ISO 3166-1 alpha-2 country codes.

Copyrights
copyrights array of Copyright

The copyright statements of the album.

External IDs
external_ids ExternalId

Known external IDs for the album.

External urls
external_urls ExternalUrl

Known external URLs for this object.

Genres
genres array of

A list of the genres used to classify the album. For example: 'Prog Rock' , 'Post-Grunge'. (If not yet classified, the array is empty.)

Href
href string

A link to the Web API endpoint providing full details of the album.

Id
id string

The Spotify ID for the album.

Images
images array of Image

The cover art for the album in various sizes, widest first.

Label
label string

The label for the album.

Name
name string

The name of the album. In case of an album takedown, the value may be an empty string.

Popularity
popularity integer

The popularity of the album. The value will be between 0 and 100, with 100 being the most popular. The popularity is calculated from the popularity of the album’s individual tracks.

Release Date
release_date string

The date the album was first released, for example '1981-12-15'. Depending on the precision, it might be shown as '1981' or '1981-12'.

Release Date Precision
release_date_precision string

The precision with which release_date value is known: 'year' , 'month' , or 'day'.

restrictions
restrictions AlbumRestriction
Total Tracks
total_tracks integer

The total number of tracks in the album.

Tracks
tracks array of SimplifiedTrack

The tracks of the album.

Type
type string

The object type: 'album'

URI
uri string

The Spotify URI for the album.

AlbumRestriction

Artist

The performing artist(s).

Name Path Type Description
External urls
external_urls ExternalUrl

Known external URLs for this object.

Href
href string

A link to the Web API endpoint providing full details of the artist.

Id
id string

The Spotify ID for the artist.

Name
name string

The name of the artist.

Type
type string

The object type: 'artist'

URI
uri string

The Spotify URI for the artist.

The copyright statements.

Name Path Type Description
Text
text string

The copyright text for this content.

Type
type string

The type of copyright: C = the copyright, P = the sound recording (performance) copyright.

ExplicitContentSettings

The user's explicit content settings.

Name Path Type Description
Filter Enabled
filter_enabled boolean

When true, indicates that explicit content should not be played.

Filter Locked
filter_locked boolean

When true, indicates that the explicit content setting is locked and can’t be changed by the user.

ExternalId

Known external IDs for the album.

Name Path Type Description
EAN
ean string

International Article Number.

ISRC
isrc string

International Standard Recording Code.

UPC
upc string

Universal Product Code.

ExternalUrl

Known external URLs for this object.

Name Path Type Description
Spotify
spotify string

The Spotify URL for the object.

Followers

Information about the followers.

Name Path Type Description
href
href string

href

total
total integer

total

Image

Image belonging to the object.

Name Path Type Description
height
height integer

height

url
url string

url

width
width integer

width

LinkedTrack

PrivateUser

Private user information.

Name Path Type Description
Country
country string

The country of the user, as set in the user’s account profile.

Display Name
display_name string

The name displayed on the user's profile.

Email
email string

The email address of the user.

Explicit Content Settings
explicit_content ExplicitContentSettings

The user's explicit content settings.

External urls
external_urls ExternalUrl

Known external URLs for this object.

Followers
followers Followers

Information about the followers.

Href
href string

A link to the Web API endpoint for this user.

Id
id string

The Spotify ID for the user.

Image
images Image

Image belonging to the object.

Product
product string

The user's Spotify subscription level: 'premium', 'free', etc. (The subscription level 'open' can be considered the same as 'free'.)

Type
type string

The object type: 'user'

URI
uri string

The Spotify URI for the user.

SimplifiedAlbum

Name Path Type Description
Album Group
album_group string

The field is present when getting an artist's albums. Possible values are 'album', 'single', 'compilation', 'appears_on'. Compare to album_type this field represents relationship between the artist and the album.

Album Type
album_type string

The type of the album: one of 'album', 'single', or 'compilation'.

Artists
artists array of SimplifiedArtist

The artists of the album. Each artist object includes a link in href to more detailed information about the artist.

Available Markets
available_markets array of string

The markets in which the album is available: ISO 3166-1 alpha-2 country codes.

External urls
external_urls ExternalUrl

Known external URLs for this object.

Href
href string

A link to the Web API endpoint providing full details of the album.

ID
id string

The Spotify ID for the album.

Images
images array of Image

The cover art for the album in various sizes, widest first.

Name
name string

The name of the album. In case of an album takedown, the value may be an empty string.

Type
type string

The object type: 'album'

URI
uri string

The Spotify URI for the album.

SimplifiedArtist

The performing artist(s).

Name Path Type Description
External urls
external_urls ExternalUrl

Known external URLs for this object.

Href
href string

A link to the Web API endpoint providing full details of the artist.

Id
id string

The Spotify ID for the artist.

Name
name string

The name of the artist.

Type
type string

The object type: 'artist'

URI
uri string

The Spotify URI for the artist.

SimplifiedTrack

Name Path Type Description
Artists
artists array of SimplifiedArtist

The artists who performed the track.

Available Markets
available_markets array of string

A list of the countries in which the track can be played, identified by their ISO 3166-1 alpha-2 code.

Disc Number
disc_number integer

The disc number (usually 1 unless the album consists of more than one disc).

Duration (ms)
duration_ms integer

The track length in milliseconds.

Explicit
explicit boolean

Whether or not the track has explicit lyrics (true = yes it does; false = no it does not OR unknown).

External urls
external_urls ExternalUrl

Known external URLs for this object.

Href
href string

A link to the Web API endpoint providing full details of the track.

ID
id string

The Spotify ID for the track.

Is Local
is_local boolean

Whether or not the track is from a local file.

Is Playable
is_playable boolean

Part of the response when Track Relinking is applied. If true , the track is playable in the given market. Otherwise false.

linked_from
linked_from LinkedTrack
Name
name string

The name of the track.

Preview URL
preview_url string

A URL to a 30 second preview (MP3 format) of the track.

restrictions
restrictions TrackRestriction

The reason for the restriction.

Track Number
track_number integer

The number of the track. If an album has several discs, the track number is the number on the specified disc.

Type
type string

The object type: 'track'.

URI
uri string

The Spotify URI for the track.

TrackRestriction

The reason for the restriction.

The reason for the restriction.