# Get playlist tracks (v1)

Returns a public playlist's name, owner, followers and one page of up to 100 tracks with play count, date added, tempo and musical key. `data` is null when the playlist does not exist.

- Platform: Spotify
- Request: `GET https://api.toolzerhub.com/v1/spotify/playlist`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/spotify/playlist/get-spotify-playlist

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `playlist_id_or_url` | query | yes | string | The playlist's open.spotify.com link, its spotify:playlist: URI, or its 22-character ID (the id in a search result), such as 37i9dQZF1DXcBWIGoYBM5M. |
| `offset` | query | no | integer | Zero-based position of the first track to return; each page has up to 100. Pass the next_offset of the previous page. Default: 0. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/spotify/playlist?playlist_id_or_url=<playlist_id_or_url>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
