Get N paragraphs of lyrics from songs

GET /lyrics

Query parameters

  • shouldRandomizeLyrics string

    Indicates whether to randomize the lyrics or use default order

    Values are true or false.

  • numberOfParagraphs integer

    Number of paragraphs of lyrics to retrieve

    Minimum value is 1.

Responses

  • 200

    Success response

    Hide response attributes Show response attributes object
    • lyrics array[string]
    • num_paragraphs integer
  • 400

    Invalid request parameters

  • 500

    Internal Server Error

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