Skip to main content
Version: FINAL-1.0.0

Get all tracks

getapi.bunnystudio.com/tracks

This endpoint retrieves information of all the tracks on the music library filtered by the query parameters.

Requirements

Authentication
Scope

Query parameters

These are the basic query params for filter tracks.

typeId
string
The type of music of the track, you can see the available options with the Get Tracks types endpoint
subtypeId
string
The subtype of music of the track, you can see the available options with the Get Tracks sub types endpoint

Request example

 curl --request GET \ 
--url https://api.bunnystudio.com/tracks?typeId=mood&subtypeId=casual \
--header "x-access-token: YOUR_TOKEN" \

Response format

id
number
A number that identifies the track on Bunny Studio's database.
fileName
string
The name of the file
type
string
The type of music of the track
typeLabel
string
The name of the type of music of the track
subType
string
The sub type of music of the track
subTypeLabel
string
The sub type of music of the track
url
object
The URLs of the track, always a .wav and .mp3

Response example

[
{
"id": 20,
"fileName": "Casual1",
"type": "mood",
"typeLabel": "mood",
"subType": "casual",
"subTypeLabel": "casual",
"url": {
"wav": "https://.../..../Casual1.wav",
"mp3": "https://.../....//Casual1.mp3",
},
}
...
]