Skip to content

Poetry Foundation API: Search poems

Finds poems matching a topic or occasion, or poems by a named poet, in Poetry Foundation search order. Older magazine poems without public text have no first two lines; untagged poems have no themes or occasions.

poetryfoundation.org (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by Poetry Foundation.

Inputs

Values from the run on Oct 31, 2026, shown under Output.

Query, requiredquery

Topic, occasion, or poet name, for example grief, wedding, or Mary Oliver.

wedding

Max Results optionalmax_results

Maximum number of poems to return, for example 20 (up to 50).

50

Whole number from 1 to 50. Default 20.

Output

From a run on Oct 31, 2026, shortened for this page.
{  "poems": [    {      "poet": "Ross Gay",      "title": "Wedding Poem",      "poem_link": "https://www.poetryfoundation.org/poems/58761/wedding-poem",      "first_two_lines": "Friends I am here to modestly report\nseeing in an orchard",      "themes_or_occasions": [        "Love",        "Nature",        "Animals"      ]    },    {      "poet": "Denise Levertov",      "title": "Wedding-Ring",      "poem_link": "https://www.poetryfoundation.org/poems/53080/wedding-ring",      "first_two_lines": "My wedding-ring lies in a basket\nas if at the bottom of a well.",      "themes_or_occasions": [        "Social Commentaries",        "Relationships",        "Breakups & Separation"      ]    },    {      "poet": "Sidney Lanier",      "title": "Wedding Hymn",      "poem_link": "https://www.poetryfoundation.org/poems/50297/wedding-hymn",      "first_two_lines": "Thou God, whose high, eternal Love\nIs the only blue sky of our life,",      "themes_or_occasions": [        "Love",        "Religion",        "Living"      ]    }  ]}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
poetryfoundation.org/search_poems
Returns
title, poet, first two lines, themes or occasions, poem link

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method poetryfoundation.org/search_poems with the inputs above.

Ask your agent

  • Find me about 10 poems about grief I could read at a memorial service
  • What poems by Langston Hughes are on poetryfoundation.org? Give me titles and links.
  • I need wedding poems for a toast — show me the first couple of lines of each so I can pick one
  • Search Poetry Foundation for poems about the ocean, up to 50 results
  • List poems by Emily Dickinson along with their themes
  • Finds a poem on Poetry Foundation by title (optionally by poet) and returns its full public text, poet, printed source, publication year and subject tags.

    poetryfoundation.org/get_poem
  • Finds Quran.com verses matching a word or topic, with Arabic text and a translation in the selected language, in Quran.com search order.

    quran.com/search_quran
  • Searches Britannica for encyclopedia articles and returns their titles, short descriptions, article links and images when shown. Excludes other search formats such as videos, questions and stories.

    britannica.com/search_articles
  • Finds free public-domain Project Gutenberg books by title, author or topic, with authors, languages, subjects, recent downloads, and reading and download links. Public-domain status is based on the United States.

    gutenberg.org/search_free_books
  • Finds Bible verses on Bible Gateway that contain the search words or relate to a topic. Returns the verse text and links in Bible order.

    biblegateway.com/search_bible
  • Finds Open Library books by search words, optionally narrowed by author and subject, sorted by relevance or publication age. Returns work-level results; free_online means at least one edition is marked public or borrowable, not that a loan is available now.

    openlibrary.org/search_books
  • Searches Library of Congress digital collections by keywords, material format and date range, in Library search relevance order. Rights notes may be unavailable for some records.

    loc.gov/search_collections
  • Finds public Substack newsletters matching a topic, in Substack's search order. Subscriber counts are null when Substack does not display one.

    substack.com/search_newsletters