List Playlist Tracks (Current or Past)
List tracks currently on or previously on a playlist, optionally enriched with artist/album/audio-feature details. Use span=current for active tracks, span=past for historical removals.
Request
- Base URLhttps://api.chartmetric.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Streaming platform. One of spotify, itunes, deezer, amazon, youtube, soundcloud.
Time span. current returns tracks currently on the playlist; past returns tracks that were on the playlist but have since been removed.
Query parameters
If true, hydrate each track with artist, album, and audio-feature details. Defaults to true.
Only return tracks with removed_at after this date in YYYY-MM-DD format. Applies only to span=past.
Only return tracks with added_at before this date in YYYY-MM-DD format. Applies only to span=past.
ISO 3166-1 alpha-2 country code (2 letters, e.g. 'US', 'BR', 'GB').
Filter to tracks where ONLY the specified version cluster types are true and all others are false. Cannot be combined with version_and, version_or, or version_not.
Filter to tracks that contain ALL of the specified version cluster types. Cannot be combined with version_or.
Filter to tracks that contain AT LEAST ONE of the specified version cluster types. Cannot be combined with version_and.
Filter to tracks that contain NONE of the specified version cluster types.
Maximum number of items to return per request.
Number of items to skip from the start of the result set; pair with limit to paginate.
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.