# Get album tracks with play counts (v1)

Returns an album's label, release date, copyright and one page of up to 50 tracks, each with its play count. `data` is null when the album does not exist.

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

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

## Example request

```bash
curl "https://api.toolzerhub.com/v1/spotify/album?album_id_or_url=<album_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.
