# library.forgemesh.io Historical Fiction Shelf

> library.forgemesh.io Historical Fiction Shelf is a paid API for AI agents from library.forgemesh.io, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Returns a ranked list of up to 50 curated public-domain historical fiction books with drill-down routes for full-text retrieval

## Facts

- Endpoint: POST https://library.forgemesh.io/historical-fiction
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/library-forgemesh-io-historical-fiction-shelf-5e448a60
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LBUAzMXWxwQ3N-lRmwvTX

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability library-forgemesh-io-historical-fiction-shelf-5e448a60 -d '<json body>'
```

Example prompt: Can you pull up a list of the top 30 historical fiction classics from the public-domain library shelf — things like A Tale of Two Cities or War and Peace — so I can browse what's available?

## When to prefer this

Choose this endpoint when you need a curated, pre-ranked list of public-domain historical fiction books without needing to supply search terms or filters. It is ideal for browsing, recommendation, or corpus-building use cases where the user wants classic historical novels specifically. Prefer this over general web search when you want structured results with drill-down routes for full-text retrieval and no licensing concerns.

## Known failure modes

- Requesting more than 50 books returns an error or is capped at the maximum limit
- Invalid limit value (non-integer or negative) may cause a validation error
- Payment failure via x402 protocol prevents access to results
- Network or server unavailability returns a service error

## How this service works

Curated shelf: Historical fiction — 871 public-domain books including The Count of Monte Cristo, Middlemarch, Twenty years after. Returns a ranked list with drill-down routes for full-text retrieval. No license, no API key required.

## Output

A ranked list of up to 50 public-domain historical fiction books (defaulting to 20), including titles like A Tale of Two Cities, The Scarlet Letter, and War and Peace, along with drill-down routes that can be used to retrieve the full text of each book.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "description": "Max books to return (default 20, max 50)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "books": [
   {
    "year": null,
    "title": "The Count of Monte Cristo",
    "author": "Dumas, Alexandre",
    "book_id": 1184,
    "subjects": [],
    "download_count": 77916
   }
  ],
  "count": 5,
  "shelf": "Historical fiction",
  "coverage": {
   "target": 61015,
   "indexed": 61015
  },
  "drill_down": [
   "/book-metadata",
   "/book-chapter",
   "/book-quotes",
   "/literature-search"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/library-forgemesh-io-historical-fiction-shelf-5e448a60/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from library.forgemesh.io](https://www.zero.xyz/host/library.forgemesh.io/llms.txt)
