# library.forgemesh.io Detective Fiction Shelf

> library.forgemesh.io Detective 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 detective fiction books with drill-down routes for full-text retrieval

## Facts

- Endpoint: POST https://library.forgemesh.io/detective-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-detective-fiction-shelf-c0ff4598
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SsoarazqUuaW-uwDq6fSy

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-detective-fiction-shelf-c0ff4598 -d '<json body>'
```

Example prompt: Can you pull up the top 10 classic detective fiction books from the public-domain library shelf — I want to browse titles like Sherlock Holmes and Hound of the Baskervilles and get links to read the full text?

## When to prefer this

Choose this endpoint when you need a curated, pre-ranked list of public-domain detective fiction titles and want drill-down access to full texts without requiring any API key or license. It is ideal for browsing, research, or recommendation use cases within the classic mystery and detective genre. Prefer it over a general web search when you specifically want vetted, public-domain-safe titles in this genre.

## Known failure modes

- limit parameter exceeds maximum of 50 — server may return error or clamp to max
- payment not processed correctly via x402 — endpoint returns 402 Payment Required
- network timeout if downstream full-text routes are slow to resolve
- empty or partial result if corpus indexing is incomplete

## How this service works

Curated shelf: Detective Fiction — 19 public-domain books including The Adventures of Sherlock Holmes, The Hound of the Baskervilles, A Study in Scarlet. 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 detective fiction books (default 20), including titles such as The Adventures of Sherlock Holmes, The Hound of the Baskervilles, and A Study in Scarlet, along with drill-down routes for retrieving 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 Adventures of Sherlock Holmes",
    "author": "Doyle, Arthur Conan, 1859-1930",
    "book_id": 1661,
    "subjects": [],
    "download_count": 23345
   }
  ],
  "count": 5,
  "shelf": "Detective Fiction",
  "coverage": {
   "target": 860,
   "indexed": 860
  },
  "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-detective-fiction-shelf-c0ff4598/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)
