# PoetryDB API

> PoetryDB API on Apizie: 3 endpoints (By author, By title, Random) returned as clean JSON through one API key. 3 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/education:poetrydb/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `education:poetrydb`
- Category: Education
- Status: live
- Source: https://poetrydb.org
- Page: https://zieapi.vercel.app/api/education/poetrydb
- OpenAPI: https://zieapi.vercel.app/api/education/poetrydb/openapi.json

Classic poems by title, author or line count.

## Endpoints

### By author
`GET https://zieapi.vercel.app/v1/education:poetrydb/by-author`

| Parameter | Type | Required | Description |
|---|---|---|---|
| author | string | yes |  |

### By title
`GET https://zieapi.vercel.app/v1/education:poetrydb/by-title`

| Parameter | Type | Required | Description |
|---|---|---|---|
| title | string | yes |  |

### Random
`GET https://zieapi.vercel.app/v1/education:poetrydb/random`

| Parameter | Type | Required | Description |
|---|---|---|---|
| count | integer | no |  |

## Example
```
curl "https://zieapi.vercel.app/v1/education:poetrydb/by-author" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the PoetryDB API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/education:poetrydb/by-author with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the PoetryDB API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the PoetryDB API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key education:poetrydb.

### What is the status of the PoetryDB API?
Live: works with just an Apizie key
