# library.forgemesh.io AG Shelf

> library.forgemesh.io AG 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 254 public-domain books on the 'AG' subject shelf, with drill-down routes for full-text retrieval

## Facts

- Endpoint: POST https://library.forgemesh.io/ag
- 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-ag-shelf-9e22938a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6-nt5MIEKR8jgeu3xzLq1

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-ag-shelf-9e22938a -d '<json body>'
```

Example prompt: Can you pull up the AG shelf from the ForgeMesh library and show me up to 30 books — I'm looking for encyclopedias and reference works like the Nuttall encyclopædia that are freely available?

## When to prefer this

Use this endpoint when you specifically want to browse the AG subject shelf of public-domain books on ForgeMesh, particularly for reference works, encyclopedias, or multilingual word lists. Prefer the full-text search sibling endpoint if you need passage-level retrieval rather than a shelf listing.

## Known failure modes

- Limit exceeds 50 — API may reject or cap results
- Network timeout if full shelf metadata is large
- Payment failure (x402) if USDC balance is insufficient — endpoint costs $0.003 per call
- Empty result if shelf index is temporarily unavailable

## How this service works

Curated shelf: AG — 254 public-domain books including English Eccentrics and Eccentricities, Moby Multiple Language Lists of Common Words, The Nuttall encyclopædia : $b being a concise and comprehensive dictionary of general knowledge. 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 (up to the requested limit, default 20, max 50) from the AG subject shelf, including book titles and drill-down routes for full-text retrieval. No authentication required.

## 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": "English Eccentrics and Eccentricities",
    "author": "Timbs, John",
    "book_id": 50439,
    "subjects": [],
    "download_count": 18152
   }
  ],
  "count": 5,
  "shelf": "AG",
  "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-ag-shelf-9e22938a/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)
