Spotify

Retrieve Spotify artist albums

Returns an artist's Spotify discography by artist URI, open.spotify.com URL or id. Choose type (album, single, compilation, appears_on or all; default album) and order (default date_desc), and page with offset and limit (1-50, default 50). Each item has a type, title, subtitle, Spotify URI, external URL and images; total gives the full count.

get/spotify/artist/albums

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/spotify/artist/albums
  • Auth: API key in header x-api-key

Query parameters

uristring

Spotify artist URI or open.spotify.com artist URL

idstring

Spotify artist ID

type'album' | 'single' | 'compilation' | 'appears_on' | 'all'

album, single, compilation, appears_on, or all

order'date_desc' | 'date_asc' | 'name_asc' | 'name_desc'

date_desc, date_asc, name_asc, or name_desc

offsetinteger

Offset

limitinteger

Limit, clamped to 1-50

Headers

x-api-keystring required

API key required

Response

OK

codeinteger

Code is the HTTP status code or a custom code used to indicate the result of the request @example 200

msgunknown

Example response

{
  "data": {
    "items": [
      {
        "description": "The official podcast of comedian Joe Rogan.",
        "externalUrl": "https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk",
        "imageUrl": "https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b",
        "images": [
          {
            "height": 640,
            "url": "https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0",
            "width": 640
          }
        ],
        "publisher": "Joe Rogan",
        "subtitle": "Joe Rogan",
        "title": "The Joe Rogan Experience",
        "type": "Podcast",
        "uri": "spotify:show:4rOoJ6Egrf8K2IrywzwOMk"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 3 revisions of this API.