Skip to content
DocumentationAPI Reference

Get Playlist Cover Image

playlists.images.list(strplaylist_id) -> ImageListResponse
GET/playlists/{playlist_id}/images

Get the current image associated with a specific playlist.

ParametersExpand Collapse
playlist_id: str

The Spotify ID of the playlist.

ReturnsExpand Collapse
height: Optional[int]

The image height in pixels.

url: str

The source URL of the image.

width: Optional[int]

The image width in pixels.

published: Optional[bool]

The playlist's public/private status (if it should be added to the user's profile or not): true the playlist will be public, false the playlist will be private, null the playlist status is not relevant. For more about public/private status, see Working with Playlists

Get Playlist Cover Image

import os
from spotted import Spotted

client = Spotted(
    access_token=os.environ.get("SPOTIFY_ACCESS_TOKEN"),  # This is the default and can be omitted
)
image_objects = client.playlists.images.list(
    "3cEYpjA9oz9GiPac4AsH4n",
)
print(image_objects)
[
  {
    "height": 300,
    "url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
    "width": 300,
    "published": true
  }
]
Returns Examples
[
  {
    "height": 300,
    "url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
    "width": 300,
    "published": true
  }
]