- User
- Song
- Auth
- Artist
- Collection
- Search
- Payment
- Check HealthGET
Default Search
GET
/v1/search/{term}
Search
Request
Path Params
term
stringÂ
required
Example:
Fortnight
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.hustmusik.live/v1/search/Fortnight'
Responses
🟢200Success
application/json
Body
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": []
}
}
Modified at 2024-11-11 06:10:01