What this API does
The PoetryDB API offers developers instant access to a comprehensive database of classic and public domain poetry. It allows retrieval of poems by author, title, or specific lines through simple HTTP GET requests. The data is delivered in clean, structured JSON format, which simplifies integration with various programming languages and platforms.
How it works
Developers can make HTTP GET requests to retrieve data from the API. The API supports flexible search queries, enabling users to find all poems by a specific author, fetch poems by exact title, or obtain a random poem. Each request yields low-latency responses, ensuring quick access to poetry data.
Authentication
No authentication is required to use the PoetryDB API. This means that all endpoints are publicly accessible, allowing developers to start building applications without the need for API keys or signups.
Example usage
/poets/{author}- Retrieves all poems by a specified author./works/{title}- Fetches the poem with the exact title provided./random- Obtains a random poem from the database.
Limits
There are no rate limits documented for the PoetryDB API, providing developers with the freedom to make requests as needed.
Ideal use cases
- Building educational tools focused on poetry.
- Creating applications for literature enthusiasts.
- Integrating poetry search capabilities in creative writing platforms.
- Developing apps that curate and display classic poetry.