get_recently_played
Retrieve your recently played Spotify tracks, most recent first. Use optional Unix timestamps to filter by time window.
Instructions
The user's last-played tracks, most recent first. Spotify caps this at the last 50 plays — it is NOT a full listening history (use the local analytics tools for that, once built). after_ms/before_ms are Unix ms timestamps and mutually exclusive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| after_ms | No | ||
| before_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| href | No | ||
| next | No | ||
| items | No | ||
| limit | No | ||
| total | No | ||
| cursors | No |