Spotify API endpoint
Returns the Spotify playlists associated with an artist, by artist URI, `open.spotify.com` URL or id. Each playlist has a title, subtitle, description, Spotify URI, external URL and images. Some artists have no playlists, in which case `items` is empty.
/spotify/artist/playlistsuri: Spotify artist URI or open.spotify.com/artist/... URL.id: Spotify artist ID. Used when uri is omitted.Some artists may legitimately return an empty items array. Invalid identifiers return 400; upstream private API failures return 503.
| Field | Filled in, of 5 checked | Values in the sample |
|---|---|---|
| uri | 5 | “spotify:playlist:4n7OwdXR0saBXWlHdOuiT4” and 4 other values |
| type | 5 | Playlist in all 5 |
| title | 5 | “Mr. Worldwide's Dance Party” and 4 other values |
| description | 5 | median 116 characters |
| imageUrl | 5 | image-cdn-fa.spotifycdn.com and 1 other host |
| images | 5 | median 1 entry |
| externalUrl | 5 | open.spotify.com |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| uri | string | No | Spotify artist URI or open.spotify.com artist URL | spotify:artist:0TnOYISbd1XYRBk9myaseg | |
| id | string | No | Spotify artist ID | 0TnOYISbd1XYRBk9myaseg | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/spotify/artist/playlists" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"uri": "spotify:artist:0TnOYISbd1XYRBk9myaseg",
"items": [
{
"uri": "spotify:playlist:example",
"title": "Artist Playlist"
}
],
"meta": {
"operationName": "queryArtistPlaylists",
"count": 1,
"fetchedAt": "2026-05-13T20:41:13Z"
}
}
}Request schema
No body schema
Response schema
#/definitions/spotify.artistCollectionResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | Code is the HTTP status code or a custom code used to indicate the result of the request @example 200 | |||
| data | spotify.ArtistCollectionResponse | No | ||||
| data.id | string | No | Spotify ID of the artist. | |||
| data.items | array | No | Playlists or related artists returned for the artist. | |||
| data.items[].description | string | No | The official podcast of comedian Joe Rogan. | Description text of the result. | ||
| data.items[].externalUrl | string | No | https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk | Link to the result on open.spotify.com. | ||
| data.items[].imageUrl | string | No | https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b | URL of the main image for the result. | ||
| data.items[].images | array | No | Images available for the result, with their sizes. | |||
| data.items[].images[].height | integer | No | 640 | Image height in pixels. | ||
| data.items[].images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | URL of the image. | ||
| data.items[].images[].width | integer | No | 640 | Image width in pixels. | ||
| data.items[].publisher | string | No | Joe Rogan | Publisher or creator name of the result. | ||
| data.items[].subtitle | string | No | Joe Rogan | Secondary line shown under the title, such as the artist or creator name. | ||
| data.items[].title | string | No | The Joe Rogan Experience | Result title as Spotify shows it. | ||
| data.items[].type | string | No | Podcast | Kind of result as Spotify labels it, for example `Podcast`. | ||
| data.items[].uri | string | No | spotify:show:4rOoJ6Egrf8K2IrywzwOMk | Spotify URI of the result. | ||
| data.meta | object | No | Details about this response. | |||
| data.meta.appVersion | string | No | Version of the Spotify web player the data was read from. | |||
| data.meta.count | integer | No | Number of items returned. | |||
| data.meta.fetchedAt | string | No | Time the data was fetched, in UTC (RFC 3339). | |||
| data.meta.operationName | string | No | Name of the Spotify web player operation that returned the data. | |||
| data.uri | string | No | Spotify URI of the artist. | |||
| msg | unknown | No | Msg is the message that describes the result of the request @example "Request successful" |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/spotify/artist/playlists" \
-H "x-api-key: $CRAWLORA_API_KEY"