Get Track Current Stats
Changed onReturns summary and detailed information of a track filtered by source.
For entity-based (Artist/Label) and member API keys, include one artist or label identifier alongside the track identifier: songstats_artist_id, spotify_artist_id, or apple_music_artist_id for an artist; songstats_label_id or beatport_label_id for a label. The track must belong to that artist or label. These entity selectors are optional for request-based API keys.
Request
- Base URLhttps://api.songstats.com/enterprise/v1
- URLhttps://api.songstats.com/enterprise/v1/tracks/stats
- AuthAPI key in header apikey
Query parameters
Specifies the sources that data is being requested for. Can be a comma separated list of individual sources or be set to 'all'.
The ISRC of the track being requested *. When a missing-track lookup schedules background discovery, the 404 response confirms queue acceptance. If the queue rejects that search, the endpoint returns 503 and the request can be retried.
The Songstats ID of the track being requested *
The Spotify ID of the track being requested *
Includes an array of all of the source links associated with the requested objected.
Includes an array of all of the playlists associated to the track.
Includes an array of all of the charts associated to the track.
Includes an array of all of the videos currently associated to the track.
The Spotify ID of the artist being requested *
The Apple Music ID of the artist being requested *
The Songstats ID of the artist being requested *
Includes an array of all of the radio stations currently associated to the track.
Includes the individual radio play timestamps for each returned station. Requires source=radio and with_stations=true. Use only when raw play occurrences are needed; aggregate radio totals and station summaries do not require it.
Controls ordering of expanded track-stat lists. greatest (default) preserves each source's existing ranking. latest sorts newest-first by added_at for playlists/charts, release_date for DJ charts, upload date for videos/Shorts/Reels, reposted_at for SoundCloud reposters, record_date for tracklists, and last_played_at for radio stations. Playlist/chart added_at is the earliest recorded addition in the returned aggregate, not the last position update. Missing dates sort last with stable ID tie-breakers. Sorting precedes existing pagination; expansion flags, only_current, response fields, and the maximum limit of 100 are unchanged. Does not reorder source or metadata arrays, or nested radio_plays timestamps.
Specifies the limit of results being returned.
Specifies the offset of the limited results being returned.
The Apple Music ID of the track being requested *
Only return the playlists and charts the track is currently positioned in.
The Songstats ID of the label being requested *
The Beatport ID of the label being requested *
Headers
gzip, deflate, br
Response
OK: The request has succeeded. The client can read the result of the response.
Changes
- info
added the new optional
queryrequest parameterbeatport_label_id - info
added the new optional
queryrequest parametersongstats_label_id
- info