tracks
GET /tracks/trending/winners
Changed onGets weekly trending winners from the trending_results table. Returns track objects for the specified week. Defaults to the most recent week with data when no week is provided.
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.
Query parameters
weekstring date
Target week in YYYY-MM-DD format. Defaults to the most recent week with data.
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
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info