Logo

OpenMusic API

Endpoints

Songs

Retrieve a list of all available songs

GET
/songs

Response Body

application/json

curl -X GET "http://localhost:8080/api/songs"
[
  {
    "id": "abc123def456",
    "title": "Example Song Title",
    "artistName": "Example Artist",
    "releaseYear": 2024,
    "coverURL": "/song/abc123def456/art"
  },
  {
    "id": "xyz789ghi012",
    "title": "Another Song Example",
    "artistName": "Another Artist",
    "releaseYear": 2023,
    "coverURL": "/song/xyz789ghi012/art"
  }
]