PoetryDB API
type: APIReference
description: Public REST API for searching English-language poems by author, title, lines, and line count.
provider: thundercomb
license: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
encoding format: application/json
potential action: Search by author
  type: SearchAction
  target: https://poetrydb.org/author/{author}
  query-input: required name=author
potential action: Search by title
  type: SearchAction
  target: https://poetrydb.org/title/{title}
  query-input: required name=title
potential action: Search by line content
  type: SearchAction
  target: https://poetrydb.org/lines/{lines}
  query-input: required name=lines
potential action: Search by line count
  type: SearchAction
  target: https://poetrydb.org/linecount/{linecount}
  query-input: required name=linecount