Get lyrics for a given song

GET /lyrics/{songID}

Path parameters

  • songID integer Required

    ID of the song

Responses

  • 200

    Success response

    Hide response attributes Show response attributes object
    • song_id integer
    • song_title string
    • lyrics string
  • 404

    Lyrics not found

  • 500

    Internal Server Error

GET /lyrics/{songID}
curl \
 -X GET https://taylor-swift-api.sarbo.workers.dev/lyrics/{songID}
Response examples (200)
{
  "song_id": 42,
  "song_title": "string",
  "lyrics": "string"
}
Response examples (200)
{
  "song_id": 42,
  "song_title": "string",
  "lyrics": "string"
}