Default Search
GET
/v1/search/{term}Searches for Songs, Artists, Albums, Playlists and Users
Request
Path Params
term
string
required
Example:
Fortnight
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
required
songs
array [object {4}]
required
artists
array [object {3}]
required
albums
array[string]
required
playlists
array[string]
required
users
array[string]
required
Example
{
"data": {
"songs": [
{
"id": "62f73752-f9c0-4611-853d-b10ed4434515",
"title": "Fearless (Taylor’s Version)",
"thumbnailurl": null,
"duration": 107
},
{
"id": "418d1f7f-09a4-4f06-8912-ae061b11a070",
"title": "Breathe (Taylor’s Version)",
"thumbnailurl": null,
"duration": null
}
],
"artists": [
{
"id": "5ea2b239-9ba9-4251-b110-343978aa30e9",
"name": "Taylor Swift",
"avatarurl": "<image link>"
}
],
"albums": [],
"playlists": [],
"users": []
}
}
Last modified: 16 days ago