Spotify Scraper
Get Spotify Playlist
Retrieves public Spotify playlist metadata and up to 50 tracks by playlist id or URL. For playlists with more tracks, pass the returned cursor into the next request until cursor is null.
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
}