tracks
GET /tracks/trending
Changed onGets the top 100 trending (most popular) tracks on Audius
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
offsetinteger
The number of items to skip. Useful for pagination (page number * limit)
limitinteger
The number of items to fetch
user_idstring
The user ID of the user making the request
genrestring
Filter trending to a specified genre
time'week' | 'month' | 'year' | 'allTime'
Calculate trending over a specified time range
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