# library.forgemesh.io PQ Shelf

> library.forgemesh.io PQ 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 public-domain books from the PQ literary classification shelf, including works like The Count of Monte Cristo, Carmen, and Arsène Lupin, with drill-down routes for full-text retrieval.

## Facts

- Endpoint: POST https://library.forgemesh.io/pq
- 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-pq-shelf-b98a1f04
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Xbk5f_heOBYkNUoJIAeUA

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-pq-shelf-b98a1f04 -d '<json body>'
```

Example prompt: Can you show me a list of classic public-domain books from the PQ literary shelf — things like The Count of Monte Cristo or Arsène Lupin — and give me up to 30 results?

## When to prefer this

Choose this endpoint when you need a curated, ranked catalog of public-domain books specifically from the PQ literary classification (primarily French and European fiction, adventure, and detective novels). It is ideal for browsing or seeding a reading list when you know you want classic works like The Count of Monte Cristo, Carmen, or Arsène Lupin. For full-text search across the entire corpus, use the full-text search sibling endpoint instead.

## Known failure modes

- Exceeding the max limit of 50 returns an error or is clamped
- Payment failure via x402 protocol returns a 402 status before results are delivered
- Empty or malformed request body may return default 20 results or an error
- If the shelf index is temporarily unavailable, the endpoint may return a 503 or timeout

## How this service works

Curated shelf: PQ — 1410 public-domain books including The Count of Monte Cristo, Carmen, The Extraordinary Adventures of Arsène Lupin, Gentleman-Burglar. Returns a ranked list with drill-down routes for full-text retrieval. No license, no API key required.

## Output

A ranked list of public-domain books from the PQ literary classification shelf (up to 50 entries), including titles, authors, and 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": "PQ",
  "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-pq-shelf-b98a1f04/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)
