APIs / Spotify / Playlist Tracks

Spotify: Playlist Tracks

Playlist Tracks from Spotify as JSON. 1–10 credits per successful call.

GET /v1/spotify/playlist-tracks

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
idstringRequiredUp to 200 characters
limitintegerOptionalAny
allbooleanOptionalAny

Example request

Spotify
GET/v1/spotify/playlist-tracks?id=37i9dQZF1DXcBWIGoYBM5M
{
  "search_parameters": {
    "engine": "spotify_playlist_tracks",
    "id": "37i9dQZF1DXcBWIGoYBM5M"
  },
  "playlist_id": "37i9dQZF1DXcBWIGoYBM5M",
  "total_count": 50,
  "returned": 50,
  "truncated": false,
  "tracks": [
    {
      "__typename": "Entity",
      "consumptionExperienceTrait": {
        "__typename": "ConsumptionExperienceTrait",
        "duration": {
          "nanoSeconds": 0,
          "seconds": 199
        },
        "formats": [
          "FORMAT_AUDIO",
          "FORMAT_VIDEO",
          "FORMAT_LOSSLESS"
        ]
      },
      "contentExperienceTrait": {
        "__typename": "ContentExperienceTrait",
        "contentExperience": "CONTENT_EXPERIENCE_MUSIC"
      },
      "entityTypeTrait": {
        "__typename": "EntityTypeTrait",
        "type": "ENTITY_TYPE_TRACK"
      },
      "identityTrait": {
        "__typename": "IdentityTrait",
        "contentHierarchyParent": {
          "__typename": "Entity",
          "identityTrait": {
            "__typename": "IdentityTrait",
            "name": "Stop The Wedding!"
          },
          "publishingMetadataTrait": {
            "__typename": "PublishingMetadataTrait",
            "firstPublishedAt": "…"
          },
          "uri": "spotify:album:4dem9qxmFf4RD6fqoCH6wc"
        },
        "contributors": {
          "items": [
            "…"
          ],
          "totalCount": 1
        },
        "description": "",
        "name": "Stop The Wedding!",
        "type": "Song"
      },
      "playability": {
        "playable": true,
        "reason": "PLAYABLE"
      },
      "uri": "spotify:track:3zOYmiNOuyDL0ClxJcEJ0T",
      "visualIdentityTrait": {
        "__typename": "VisualIdentityTrait",
        "sixteenByNineCoverImage": {
          "image": {
            "data": "…"
          }
        },
        "squareCoverImage": {
          "extractedColorSet": {
            "encoreBaseSetTextColor": "…",
            "highContrast": "…",
            "higherContrast": "…",
            "minContrast": "…"
          },
          "image": {
            "data": "…"
          }
        }
      }
    },
    {
      "__typename": "Entity",
      "consumptionExperienceTrait": {
        "__typename": "ConsumptionExperienceTrait",
        "contentRatings": [
          "CONTENT_RATING_EXPLICIT"
        ],
        "duration": {
          "nanoSeconds": 0,
          "seconds": 223
        },
        "formats": [
          "FORMAT_AUDIO",
          "FORMAT_VIDEO",
          "FORMAT_LOSSLESS"
        ]
      },
      "contentExperienceTrait": {
        "__typename": "ContentExperienceTrait",
        "contentExperience": "CONTENT_EXPERIENCE_MUSIC"
      },
      "entityTypeTrait": {
        "__typename": "EntityTypeTrait",
        "type": "ENTITY_TYPE_TRACK"
      },
      "identityTrait": {
        "__typename": "IdentityTrait",
        "contentHierarchyParent": {
          "__typename": "Entity",
          "identityTrait": {
            "__typename": "IdentityTrait",
            "name": "Deadbeat"
          },
          "publishingMetadataTrait": {
            "__typename": "PublishingMetadataTrait",
            "firstPublishedAt": "…"
          },
          "uri": "spotify:album:5WulAOx9ilWy1h8UGZ1gkI"
        },
        "contributors": {
          "items": [
            "…"
          ],
          "totalCount": 1
        },
        "description": "",
        "name": "Loser",
        "type": "Song"
      },
      "playability": {
        "playable": true,
        "reason": "PLAYABLE"
      },
      "uri": "spotify:track:7bxaFZ1O3cHkgLKMsdC3xR",
      "visualIdentityTrait": {
        "__typename": "VisualIdentityTrait",
        "sixteenByNineCoverImage": {
          "image": {
            "data": "…"
          }
        },
        "squareCoverImage": {
          "extractedColorSet": {
            "encoreBaseSetTextColor": "…",
            "highContrast": "…",
            "higherContrast": "…",
            "minContrast": "…"
          },
          "image": {
            "data": "…"
          }
        }
      }
    },
    {
      "__typename": "Entity",
      "consumptionExperienceTrait": {
        "__typename": "ConsumptionExperienceTrait",
        "duration": {
          "nanoSeconds": 0,
          "seconds": 208
        },
        "formats": [
          "FORMAT_AUDIO",
          "FORMAT_VIDEO",
          "FORMAT_LOSSLESS"
        ]
      },
      "contentExperienceTrait": {
        "__typename": "ContentExperienceTrait",
        "contentExperience": "CONTENT_EXPERIENCE_MUSIC"
      },
      "entityTypeTrait": {
        "__typename": "EntityTypeTrait",
        "type": "ENTITY_TYPE_TRACK"
      },
      "identityTrait": {
        "__typename": "IdentityTrait",
        "contentHierarchyParent": {
          "__typename": "Entity",
          "identityTrait": {
            "__typename": "IdentityTrait",
            "name": "Housewife"
          },
          "publishingMetadataTrait": {
            "__typename": "PublishingMetadataTrait",
            "firstPublishedAt": "…"
          },
          "uri": "spotify:album:6JvmSyocXef7RZDZFaymNl"
        },
        "contributors": {
          "items": [
            "…"
          ],
          "totalCount": 1
        },
        "description": "",
        "name": "Housewife",
        "type": "Song"
      },
      "playability": {
        "playable": true,
        "reason": "PLAYABLE"
      },
      "uri": "spotify:track:2sFepQNyl1WjpROruP8bJ0",
      "visualIdentityTrait": {
        "__typename": "VisualIdentityTrait",
        "sixteenByNineCoverImage": {
          "image": {
            "data": "…"
          }
        },
        "squareCoverImage": {
          "extractedColorSet": {
            "encoreBaseSetTextColor": "…",
            "highContrast": "…",
            "higherContrast": "…",
            "minContrast": "…"
          },
          "image": {
            "data": "…"
          }
        }
      }
    }
  ]
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1–10 credits per successful call (1 credit per 100 tracks returned); failed calls are free.

Response fields

The response has these 5 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
search_parametersobject
playlist_idstring
returnedinteger
truncatedboolean
tracksobject[]