Skip to main content
GET
/
songs
curl --request GET \
  --url https://taylor-swift-api.sarbo.workers.dev/songs
[
  {
    "song_id": 1,
    "title": "Blank Space",
    "album_id": 1
  },
  {
    "song_id": 2,
    "title": "Style",
    "album_id": 1
  }
]
Returns an array of all songs. Each song includes an ID, title, and the ID of the album it belongs to.

Response

[]
object[]
Array of song objects.
curl --request GET \
  --url https://taylor-swift-api.sarbo.workers.dev/songs
[
  {
    "song_id": 1,
    "title": "Blank Space",
    "album_id": 1
  },
  {
    "song_id": 2,
    "title": "Style",
    "album_id": 1
  }
]

Build docs developers (and LLMs) love