tracks
GET /tracks/recommended/{version}
Changed onGet recommended tracks using the given trending strategy version
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
versionstring required
The strategy version of trending to use
Query parameters
limitinteger
The number of items to fetch
genrestring
Filter trending to a specified genre
time'week' | 'month' | 'year' | 'allTime'
Calculate trending over a specified time range
exclusion_listinteger[]
List of track ids to exclude
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