getTopTracks
Retrieve your most-played tracks over the last 4 weeks, 6 months, or year to analyze listening habits.
Instructions
Get the current user's top (most-played) tracks over a given time range. This is the closest thing Spotify exposes to listening statistics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of tracks to return (1-50) | |
| timeRange | No | Time range: short_term (~4 weeks), medium_term (~6 months), or long_term (~1 year). Default: medium_term. |