In this guide

Get Artist's Albums

Albums, singles and compilations an artist appears on.

Action referenceRead

What this action does #

First, connect Spotify in Services. Then open Actions → + → Spotify and choose Get Artist's Albums.

More about this action

Paged the same way as everything else Spotify returns: an envelope carrying `items`, `total` and an absolute `next`. Ask for the largest page you can when you intend to fetch several.

Inputs to fill in #

Open an input to choose its value. Keep a fixed value with Text, receive it from Shortcuts, ask when the action runs, or use an Earlier Step. Read how input sources work.

Artist ID

RequiredText

Spotify ID of the artist.

This input offers a picker for artist from your connected account. You can also supply its value directly.

Example value (replace with your own):
0TnOYISbd1XYRBk9myaseg

Groups

OptionalList

Left unset, every group is included.

A list of choice values. Use a comma-separated list.

Choices: album, single, appears_on, compilation

Market

OptionalText

ISO 3166-1 alpha-2 country code.

Example value (replace with your own):
US

Page Size

OptionalWhole number

1–10.

Example value (replace with your own):
10

Offset

OptionalWhole number

Supply a whole number value for this input.

Example value (replace with your own):
0

What comes back #

In the action editor, open Output → Returned Value to choose fields for your shortcut. These are the response fields described by the app; a service may omit an optional field or return an empty list. JSON File contains the full response.

Returned fieldTypeMeaning
totalintegerAlbums matching the filter.
itemsarrayA list of values.
items[].idstringText value.
items[].namestringText value.
items[].album_groupstringText value.
items[].release_datestringText value.
items[].imagesarrayA list of values.
items[].images[].urlstringText value.
items[].images[].widthintegerWhole-number value.

Run it from Shortcuts #

  1. Give the action a recognizable name and tap Save.
  2. In Apple Shortcuts, add Shortcutify’s Execute Action and select the saved action.
  3. Supply any Param or File slots you bound in the inputs, then run the shortcut.

If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.

This action supports multiple pages of results. Open its Fetch setting to retrieve more pages when one page is not enough. Each page adds a service request.

Advanced reference #

Request, permissions, and identifiers

Request: GET https://api.spotify.com/v1/artists/{id}/albums

Action identifier: spotify.artist.albums.list.v1

No additional per-action permissions are declared in the app’s catalog. The integration’s connection and account access rules still apply.

InputRequest keyLocation
Artist IDidpath
Groupsinclude_groupsquery
Marketmarketquery
Page Sizelimitquery
Offsetoffsetquery

Spotify API reference