Search
GET/api/search
Search for albums, artists and tracks
Request
Query Parameters
term stringrequired
The keywords to search
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
results
object
tracks string[]required
An array of max 5 best-matching tracks
artists integer[]required
An array of max 5 best-matching artists
albums number[]required
An array of max 5 best-matching albums
top object
The top result for the search term. Can be, track, artist or album
{
"results": {
"tracks": [
"string"
],
"artists": [
0
],
"albums": [
0
],
"top": {}
}
}
Loading...