GET /linecount/14 — returns all poems with exactly 14 lines.
PoetryLiteraturePublic DomainEnglish LanguageSearchOpen Data
Get Poems By Linecount is an example object payload from PoetryDB, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
{
"summary": "Get sonnets (14-line poems)",
"description": "GET /linecount/14 — returns all poems with exactly 14 lines.",
"request": {
"method": "GET",
"url": "https://poetrydb.org/linecount/14"
},
"response": {
"status": 200,
"body": [
{
"title": "Ozymandias",
"author": "Percy Bysshe Shelley",
"lines": [
"I met a traveller from an antique land,",
"Who said—\"Two vast and trunkless legs of stone",
"Stand in the desert. . . . Near them, on the sand,",
"Half sunk a shattered visage lies, whose frown,",
"And wrinkled lip, and sneer of cold command,",
"Tell that its sculptor well those passions read",
"Which yet survive, stamped on these lifeless things,",
"The hand that mocked them, and the heart that fed;",
"And on the pedestal, these words appear:",
"My name is Ozymandias, King of Kings;",
"Look on my Works, ye Mighty, and despair!",
"Nothing beside remains. Round the decay",
"Of that colossal Wreck, boundless and bare",
"The lone and level sands stretch far away."
],
"linecount": "14"
}
]
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.