← Language & Poetry

Random Poem

GET /poetry/random

Get a random poem from the PoetryDB collection of classic English poetry. Returns the poem's title, author, full text (as lines), and line count. Features works by Shakespeare, Dickinson, Keats, Poe, Whitman, and more.

Example Requests

Basic usage
curl https://nordapi.ee/api/v1/poetry/random

Live Response

{
  "data": {
    "author": "Edgar Allan Poe",
    "line_count": "14",
    "lines": [
      "Because I feel that, in the Heavens above,",
      "  The angels, whispering to one another,",
      "Can find, among their burning terms of love,",
      "  None so devotional as that of \"Mother,\"",
      "Therefore by that dear name I long have called you--",
      "  You who are more than mother unto me,",
      "And fill my heart of hearts, where Death installed you,",
      "  In setting my Virginia's spirit free.",
      "My mother--my own mother, who died early,",
      "  Was but the mother of myself; but you",
      "Are mother to the one I loved so dearly,",
      "  And thus are dearer than the mother I knew",
      "By that infinity with which my wife",
      "  Was dearer to my soul than its soul-life."
    ],
    "title": "To My Mother"
  },
  "success": true
}