Logo

OpenMusic API

Endpoints

Search

Search for songs by title, artist, or other metadata

GET
/songs/search

Query Parameters

query*string

Search query string

Response Body

application/json

application/json

curl -X GET "http://localhost:8080/api/songs/search?query=string"

[
  {
    "id": "abc123def456",
    "title": "Example Song Title",
    "artistName": "Example Artist",
    "releaseYear": 2024,
    "coverURL": "/song/abc123def456/art"
  }
]

{
  "message": "string",
  "code": "string"
}