Spotify Scraper
Get Spotify Playlist
Get a public Spotify playlist's details and its tracks from the playlist link or ID.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| idstring · optional | string | optional | Spotify playlist id. If you'd prefer to use the URL instead, you can use the url parameter instead. |
| urlstring · optional | string | optional | Spotify playlist URL. If you'd prefer to use the id instead, you can use the id parameter instead. |
| limitnumber · optional | number | optional | Maximum number of results to return from this request. Leave empty for everything this request returns. This trims the response — it does not fetch more; use the returned cursor for the next batch. The price is the same either way. |
| cursorstring · optional | string | optional | Cursor returned by the previous response. Omit it for the first page. |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string"
},
"uri": {
"type": "string"
},
"name": {
"type": "string"
},
"cursor": {
"type": "number"
},
"images": {
"type": "array"
},
"tracks": {
"type": "array"
},
"ownerV2": {
"type": "object",
"additionalProperties": {}
},
"followers": {
"type": "number"
},
"__typename": {
"type": "string"
},
"totalCount": {
"type": "number"
},
"description": {
"type": "string"
},
"limitApplied": {
"type": "boolean",
"description": "True when a Limit trimmed the results; there were more in this response."
}
},
"additionalProperties": true
}