{"name":"Poets.org Poems API","description":"Poems on poets.org, with title and date fields, plus search and filter inputs.","api_id":"generated_7b16f23c7786216d4c8809c5","slug":"poets-org-poems-api","source":{"name":"Poets","domain":"poets.org","url":"https://poets.org/"},"category":"news_content","countries":[],"languages":[],"record_types":[],"tags":[],"limitations":[],"updated":"2026-11-23","note":"Sample records are saved samples, not a live run. CleanedWeb is not affiliated with the source.","version":"1.0","versions":[{"major":1,"latest_minor":"1.0","status":"current","sunset_at":null}],"changelog":[{"version":"1.0","date":"2026-11-22T07:03:43.000Z","kind":"major","changes":[]}],"version_note":"Pin a major with \"version\": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.","endpoints":[{"endpoint_id":"generated_7b16f23c7786216d4c8809c5_search","name":"List Poets.org Poems","description":"Return records within the accepted scope.","definition_version":"57b1f81c07fbb02224ffda823fe445016d78ebbf7b927e582cf747ac6040eb1d","method":"POST","path":"/v1/catalog/public/apis/generated_7b16f23c7786216d4c8809c5/endpoints/generated_7b16f23c7786216d4c8809c5_search/run","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_7b16f23c7786216d4c8809c5/endpoints/generated_7b16f23c7786216d4c8809c5_search/run","authentication":{"type":"bearer","scheme":"Authorization: Bearer <API key>","scope":"run","note":"Reading this file and the live catalog needs no credential. A run needs a CleanedWeb account and uses the credits of its workspace.","docs":"https://cleanedweb.com/docs/run-catalog-api/"},"required_headers":[{"name":"Authorization","value":"Bearer YOUR_API_KEY","description":"An API key with the run scope."},{"name":"Idempotency-Key","value":"UNIQUE_REQUEST_ID","description":"Required. Save it before you send; reuse it only to retry the same request and to read the result. 1-200 characters: letters, numbers, . _ : -"},{"name":"Content-Type","value":"application/json","description":"The body is JSON."}],"request_body":{"input":"An object that follows input_schema.","max_items":"Optional. Stop after this many records.","timeout_seconds":"Optional, 60-86400, default 10800.","wait_seconds":"Optional, 0-86400, default 90. How long the request waits before answering 202.","version":"Optional integer major. Leave it out for the latest major."},"input_schema":{"type":"object","properties":{"enrich_records":{"type":"boolean","default":true,"description":"true: read each returned record's product/detail page and merge its fields into the record. false: return list/search-level fields only, with no detail page reads. Every returned record's detail page is read within the run's time budget; records the time budget leaves unread are returned without detail fields, and summary.record_enrichment reports how many records were enriched and why any were not (run_time_budget). Detail fields are optional."},"search":{"anyOf":[{"type":"string","minLength":1,"maxLength":100,"pattern":"^[^\\x00-\\x1f\\x7f]+$","description":"Optional. Text sent to the site's own search form; its result pages are read and revalidated like the collection. Omit to read the whole collection."},{"type":"array","minItems":1,"items":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[^\\x00-\\x1f\\x7f]+$","description":"Optional. Text sent to the site's own search form; its result pages are read and revalidated like the collection. Omit to read the whole collection."}}],"description":"Optional. Text sent to the site's own search form; its result pages are read and revalidated like the collection. Omit to read the whole collection. Supply an array to union distinct results from each source search, in query order."},"field_occasion_target_id":{"x-enum-labels":["- Any -","Anniversary","Arab American Heritage Month","Asian/Pacific American Heritage Month","Autumn","Birthdays","Black History Month","Breakfast","Breakups","Chanukah","Christmas","Dinner","Earth Day","Easter","Election Day","Farewell","Father's Day","Filipino American History Month","Fourth of July","Funerals","Graduation","Halloween","Hispanic Heritage Month","Inaugural","Juneteenth","LGBTQ Pride Month","Lunch","Martin Luther King Jr. Day","Memorial Day","Mother's Day","Native American Heritage Month","New Year's","September 11","Spring","Summer","Thanksgiving","Vacations","Valentine's Day","Veterans Day","Weddings","Winter","Women's History Month","World War I","World War II"],"x-value-status":["observed","verified","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed"],"description":"Optional. One observed value of the site's own filter; the pasted page is read with only this value changed and revalidated like the collection. Omit for the pasted page.","x-input-proof":{"evidence":"declared","key":"field_occasion_target_id","read":"listing","rule":"request_structure_v1","value":"476","where":"query"},"x-source-key":"field_occasion_target_id","anyOf":[{"type":"string","enum":["All","476","1924","1671","484","478","1501","588","479","480","482","589","1556","1526","1751","489","1446","1921","1812","492","494","487","1731","1917","1912","1806","587","1491","1676","1431","1761","515","1818","524","495","528","564","1506","1756","512","513","1516","1875","1914"]},{"type":"number","enum":[476,1924,1671,484,478,1501,588,479,480,482,589,1556,1526,1751,489,1446,1921,1812,492,494,487,1731,1917,1912,1806,587,1491,1676,1431,1761,515,1818,524,495,528,564,1506,1756,512,513,1516,1875,1914]}],"x-input-type":{"kind":"enum"}},"field_poem_themes_target_id":{"x-enum-labels":["- Any -","Afterlife","Aging","Ambition","America","American Revolution","Americana","Ancestry","Anger","Animals","Anxiety","Apocalypse","Audio","Beauty","Beginning","Birds","Body","Brothers","Buildings","Carpe Diem","Cats","Childhood","Cities","Civil War","Clothing","Cooking","Covid-19","Creation","Dance","Daughters","Death","Deception","Desire","Despair","Divorce","Dogs","Doubt","Dreams","Drinking","Drugs","Dusk","Earth","Eating","Economy","Enemies","Environment","Existential","Family","Fathers","Flight","Flowers","For Children","For Mom","For Teens","Friendship","Future","Gardens","Gender","Ghosts","Gratitude","Grief","Gun Violence","Happiness","Heartache","Heroes","High School","History","Home","Hope","Humor","Identity","Illness","Immigration","Incarceration","Infidelity","Innocence","Jealousy","Landscapes","Language","LGBTQ","Loneliness","Loss","Love","Luck","Lust","Marriage","Math","Memories","Migration","Miracles","Money","Morning","Mothers","Mourning","Movies","Moving","Music","Myth","National Parks","Nature","New York City","Night","Nostalgia","Oblivion","Oceans","Old Age","Pacifism","Parenting","Past","Pastoral","Patience","Pets","Plants","Politics","Popular Culture","Public Domain","Reading","Rebellion","Regret","Relationship","Religion","Romance","Sadness","School","Science","Self","Sex","Silence","Sisters","Slavery","Social Justice","Sons","Space","Spanish","Spirituality","Sports","Storms","Suburbia","Suffrage","Survival","Teaching","Technology","Theft","Thought","Time","Tragedy","Translation","Travel","Turmoil","Underworld","Vanity","Violence","Visual Art","War","Weather","Work","Writing"],"x-value-status":["observed","verified","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed"],"description":"Optional. One observed value of the site's own filter; the pasted page is read with only this value changed and revalidated like the collection. Omit for the pasted page.","x-input-proof":{"evidence":"declared","key":"field_poem_themes_target_id","read":"listing","rule":"request_structure_v1","value":"851","where":"query"},"x-source-key":"field_poem_themes_target_id","anyOf":[{"type":"string","enum":["All","851","856","861","866","871","1691","876","881","886","1531","891","896","901","906","911","916","921","1421","926","931","936","941","1908","946","951","1919","956","961","966","971","1576","976","1536","981","986","1581","991","996","1001","1930","1006","1011","1586","1016","1815","1591","1541","1021","1026","1031","1566","1036","1041","1046","1051","1056","1061","1066","1071","1076","1701","1081","1086","1091","1096","1101","1106","1111","1596","1116","1121","1126","1896","1131","1136","1601","1141","1146","1151","1156","1161","1166","1176","1181","1626","1606","1186","1785","1191","1546","1929","1196","1201","1206","1211","1216","1221","1736","1226","1231","1236","1611","1616","1241","1246","1251","1256","1261","1621","1266","1271","1276","1281","1631","1456","1286","1291","1296","1925","1636","1301","1641","1306","1311","1316","1646","1321","1521","1909","1746","1326","1331","1726","1651","1336","1341","1346","1910","1351","1356","1656","1361","1366","1371","1376","1872","1381","1386","1391","1396","1661","1666","1401","1406","1411","1416"]},{"type":"number","enum":[851,856,861,866,871,1691,876,881,886,1531,891,896,901,906,911,916,921,1421,926,931,936,941,1908,946,951,1919,956,961,966,971,1576,976,1536,981,986,1581,991,996,1001,1930,1006,1011,1586,1016,1815,1591,1541,1021,1026,1031,1566,1036,1041,1046,1051,1056,1061,1066,1071,1076,1701,1081,1086,1091,1096,1101,1106,1111,1596,1116,1121,1126,1896,1131,1136,1601,1141,1146,1151,1156,1161,1166,1176,1181,1626,1606,1186,1785,1191,1546,1929,1196,1201,1206,1211,1216,1221,1736,1226,1231,1236,1611,1616,1241,1246,1251,1256,1261,1621,1266,1271,1276,1281,1631,1456,1286,1291,1296,1925,1636,1301,1641,1306,1311,1316,1646,1321,1521,1909,1746,1326,1331,1726,1651,1336,1341,1346,1910,1351,1356,1656,1361,1366,1371,1376,1872,1381,1386,1391,1396,1661,1666,1401,1406,1411,1416]}],"x-input-type":{"kind":"enum"}},"field_form_target_id":{"x-enum-labels":["- Any -","Abecedarian","Acrostic","Anaphora","Ars Poetica","Aubade","Ballad","Ballade","Blues Poem","Bop","Cento","Chance Operations","Cinquain","contrapuntal","Doha","Dramatic Monologue","Ekphrastic","Elegy","Epic","Epigram","Epistle","Erasure","Found Poem","Ghazal","Golden Shovel","Haiku","Inaugural","Limerick","Monostich","Occasional","Ode","Pantoum","Praise","Prose Poem","Renga","Rondeau","Sapphic","Sestina","Sijo","Sonnet","Tanka","Terza Rima","Triolet","Villanelle"],"x-value-status":["verified","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed"],"description":"Optional. One observed value of the site's own filter; the pasted page is read with only this value changed and revalidated like the collection. Omit for the pasted page.","x-input-proof":{"evidence":"declared","key":"field_form_target_id","read":"listing","rule":"request_structure_v1","value":"All","where":"query"},"x-source-key":"field_form_target_id","anyOf":[{"type":"string","enum":["All","398","430","400","399","1911","401","402","403","429","404","405","406","1923","1476","407","408","409","410","411","431","1845","412","413","1926","414","1916","415","1913","1915","417","418","1918","419","420","421","422","423","1922","424","425","426","427","428"]},{"type":"number","enum":[398,430,400,399,1911,401,402,403,429,404,405,406,1923,1476,407,408,409,410,411,431,1845,412,413,1926,414,1916,415,1913,1915,417,418,1918,419,420,421,422,423,1922,424,425,426,427,428]}],"x-input-type":{"kind":"enum"}}},"required":[],"additionalProperties":false,"allOf":[{"not":{"required":["search"],"properties":{"search":{"type":"array"}}}},{"not":{"required":["search"],"properties":{"search":{"type":"array"}}}},{"not":{"required":["search"],"properties":{"search":{"type":"array"}}}}]},"output_schema":{"type":"object","additionalProperties":true,"required":["title","url"],"properties":{"date":{"type":"string"},"related_title":{"type":"string"},"related_url":{"type":"string"},"title":{"type":"string"},"url":{"type":"string","format":"uri"},"locality":{"type":"string"},"region":{"type":"string"},"country":{"type":"string"},"themes_url":{"type":"array","items":{"type":"string"},"description":"themes url"},"themes":{"type":"array","items":{"type":"object","additionalProperties":{"type":["string","number","boolean","array"],"items":{"type":"string"}}},"description":"themes"},"occasion_url":{"type":"string","description":"occasion url"},"author":{"type":"string"},"author_death_year":{"type":"string"},"collection_title":{"type":"string"}}},"output_schema_note":"Some fields the source returns are not published here (identifiers, personal details and page-building noise). A record can carry fields this schema does not list, so additionalProperties is true. Do not reject a record for an extra field. The live contract, linked as live_contract, lists every field the saved definition declares.","examples":[{"kind":"saved_validation_records","saved_at":"2026-11-22T07:03:43.634Z","live_verified":false,"request":{"input":{}},"records_shown":2,"records_saved":2,"records":[{"author":"Shel Silverstein","author_death_year":"1999","collection_title":"Shel Silverstein: Poems and Drawings","country":"USA","date":"2003-01-01T12:00:00Z","locality":"New York","region":"NY","related_title":"Shel Silverstein","related_url":"https://poets.org/poet/shel-silverstein","themes_url":["https://poets.org/poems?field_poem_themes_target_id=936","https://poets.org/poems?field_poem_themes_target_id=1566","https://poets.org/poems?field_poem_themes_target_id=1596","https://poets.org/poems?field_poem_themes_target_id=1121","https://poets.org/poems?field_poem_themes_target_id=1306"],"title":"Sick","url":"https://poets.org/poem/sick"},{"author":"David Berman","author_death_year":"2019","country":"USA","date":"2013-08-18T12:00:00Z","locality":"New York","region":"NY","related_title":"David Berman","related_url":"https://poets.org/poet/david-berman","themes_url":["https://poets.org/poems?field_poem_themes_target_id=861","https://poets.org/poems?field_poem_themes_target_id=936","https://poets.org/poems?field_poem_themes_target_id=1116","https://poets.org/poems?field_poem_themes_target_id=1186","https://poets.org/poems?field_poem_themes_target_id=1366","https://poets.org/poems?field_poem_themes_target_id=1416"],"title":"Self-Portrait at 28","url":"https://poets.org/poem/self-portrait-28"}]}],"request_example":{"body":{"input":{"field_occasion_target_id":"All"},"version":1,"max_items":25},"curl":"curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_7b16f23c7786216d4c8809c5/endpoints/generated_7b16f23c7786216d4c8809c5_search/run \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Idempotency-Key: UNIQUE_REQUEST_ID\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n  \"input\": {\n    \"field_occasion_target_id\": \"All\"\n  },\n  \"version\": 1,\n  \"max_items\": 25\n}'"},"result":{"method":"GET","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_7b16f23c7786216d4c8809c5/endpoints/generated_7b16f23c7786216d4c8809c5_search/result","note":"A run that does not end within wait_seconds answers 202. Read the result with the same API key and the same Idempotency-Key."},"links":{"page":"https://cleanedweb.com/catalog/poets-org-poems-api/","markdown":"https://cleanedweb.com/catalog/poets-org-poems-api/index.md","live_contract":"https://app.cleanedweb.com/api/catalog/apis/generated_7b16f23c7786216d4c8809c5/endpoints/generated_7b16f23c7786216d4c8809c5_search/contract","run_docs":"https://cleanedweb.com/docs/run-catalog-api/"}}],"links":{"page":"https://cleanedweb.com/catalog/poets-org-poems-api/","markdown":"https://cleanedweb.com/catalog/poets-org-poems-api/index.md","contract":"https://cleanedweb.com/catalog/poets-org-poems-api/contract.json","catalog":"https://cleanedweb.com/catalog/","index":"https://cleanedweb.com/catalog/index.json","openapi":"https://cleanedweb.com/catalog/openapi.json"}}
