PoetryDB at https://poetrydb.org serves public-domain poems. Fields go in the path, and several can be combined with commas and semicolons.
None — no key, no signup. Every example runs as-is.
Full reference: https://github.com/thundercomb/poetrydb#readme
curl "https://poetrydb.org/author,title/Shakespeare;Sonnet%2018"
[
{
"title": "Sonnet 18: Shall I compare thee to a summer's day?",
"author": "William Shakespeare",
"lines": [
"Shall I compare thee to a summer's day?",
"Thou art more lovely and more temperate:"
],
"linecount": "14"
}
]
curl https://poetrydb.org/author
{
"authors": [
"Adam Lindsay Gordon",
"Alan Seeger"
]
}
curl https://poetrydb.org/random/1
[
{
"title": "Fragment: Wine of the Fairies",
"author": "Percy Bysshe Shelley",
"lines": [
"I am drunk with the honey wine",
"Of the moon-unfolded eglantine,"
],
"linecount": "11"
}
]