Get User's Track History
GET/users/:id/history/tracks
Get the tracks the user recently listened to.
Request
Path Parameters
id stringrequired
A User ID
Query Parameters
offset integer
The number of items to skip. Useful for pagination (page number * limit)
limit integer
The number of items to fetch
query string
The filter query
sort_method string
Possible values: [title, artist_name, release_date, last_listen_date, added_date, plays, reposts, saves, most_listens_by_user]
The sort method
sort_direction string
Possible values: [asc, desc]
The sort direction
user_id string
The user ID of the user making the request
Header Parameters
Encoded-Data-Message string
The data that was signed by the user for signature recovery
Encoded-Data-Signature string
The signature of data, used for signature recovery
Responses
- 200
- 400
- 401
- 403
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
data object[]
{
"data": [
{
"timestamp": "string",
"item_type": "track",
"item": {
"artwork": {
"150x150": "string",
"480x480": "string",
"1000x1000": "string"
},
"description": "string",
"genre": "string",
"id": "string",
"track_cid": "string",
"preview_cid": "string",
"orig_file_cid": "string",
"orig_filename": "string",
"is_original_available": true,
"mood": "string",
"release_date": "string",
"isrc": "string",
"remix_of": {
"tracks": [
{
"parent_track_id": "string"
}
]
},
"repost_count": 0,
"favorite_count": 0,
"comment_count": 0,
"tags": "string",
"title": "string",
"user": {
"album_count": 0,
"artist_pick_track_id": "string",
"bio": "string",
"cover_photo": {
"640x": "string",
"2000x": "string"
},
"followee_count": 0,
"follower_count": 0,
"handle": "string",
"id": "string",
"is_verified": true,
"twitter_handle": "string",
"instagram_handle": "string",
"tiktok_handle": "string",
"verified_with_twitter": true,
"verified_with_instagram": true,
"verified_with_tiktok": true,
"website": "string",
"donation": "string",
"location": "string",
"name": "string",
"playlist_count": 0,
"profile_picture": {
"150x150": "string",
"480x480": "string",
"1000x1000": "string"
},
"repost_count": 0,
"track_count": 0,
"is_deactivated": true,
"is_available": true,
"erc_wallet": "string",
"spl_wallet": "string",
"spl_usdc_wallet": "string",
"spl_usdc_payout_wallet": "string",
"supporter_count": 0,
"supporting_count": 0,
"total_audio_balance": 0,
"wallet": "string"
},
"duration": 0,
"is_downloadable": true,
"play_count": 0,
"permalink": "string",
"is_streamable": true,
"ddex_app": "string",
"playlists_containing_track": [
0
],
"pinned_comment_id": 0,
"album_backlink": {
"playlist_id": 0,
"playlist_name": "string",
"permalink": "string"
}
},
"class": "string"
}
]
}
Bad request
Unauthorized
Forbidden
Server error
Loading...