users
GET /users/{id}/weekly-rotation
Changed onGets the user's Weekly Rotation mix - a personalized set of tracks they have not heard, weighted toward artists they do not already follow. The mix is fixed for the week and rolls over Wednesday 00:00 UTC. Unlike suggested-follows, this returns results for users with no listening history.
Request
- Base URLhttps://api.audius.co/v1
- Auth
- none
- or OAuth 2Authorization code/v1/oauth/authorizeToken URL/v1/oauth/tokenScopesread
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
A User ID
Query parameters
limitinteger
The number of tracks to fetch (default 30, max 50)
user_idstring
The user ID of the user making the request
Response
Success
Example response
{
"data": [
{
"stream_conditions": {
"usdc_purchase": {
"splits": [
{
"user_id": 1234
}
]
}
},
"download_conditions": {
"usdc_purchase": {
"splits": [
{
"user_id": 1234
}
]
}
}
}
]
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
endpoint added
- info