# ForgeMesh Library – US Civil War Shelf

> ForgeMesh Library – US Civil War 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 on the US Civil War, with drill-down routes for full-text retrieval.

## Facts

- Endpoint: POST https://library.forgemesh.io/us-civil-war
- 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/forgemesh-library-us-civil-war-shelf-4ece9ec1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yCkRfOl1GjBnvk3TXvQgd

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 forgemesh-library-us-civil-war-shelf-4ece9ec1 -d '<json body>'
```

Example prompt: Can you pull up the top 30 public-domain books on the US Civil War from ForgeMesh Library? I want the ranked list with links to read the full texts.

## When to prefer this

Choose this endpoint when you need a curated, pre-ranked list of public-domain books specifically scoped to the US Civil War era. It is ideal for building reading lists, seeding a text corpus, or discovering classic Civil War literature without needing a search query. For free-text search across all topics use the full-corpus search endpoint; for other historical periods use the broader history shelf.

## Known failure modes

- Limit parameter exceeds maximum of 50 — server may clamp or return an error
- Payment of $0.003 USDC not provided or fails x402 protocol — request rejected
- Network timeout if the corpus index is temporarily unavailable
- Limit of 0 or negative integer returns empty or error response

## How this service works

Curated shelf: US Civil War — 321 public-domain books including Personal Memoirs of U. S. Grant, Complete, Uncle Tom's Cabin, The Red Badge of Courage: An Episode of the American Civil War. 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 US Civil War books, including titles, authors, and drill-down routes that allow full-text retrieval of each book. Notable titles include Personal Memoirs of U.S. Grant, Uncle Tom's Cabin, and The Red Badge of Courage.

## 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": "Personal Memoirs of U. S. Grant, Complete",
    "author": "Grant, Ulysses S. (Ulysses Simpson)",
    "book_id": 4367,
    "subjects": [],
    "download_count": 25933
   }
  ],
  "count": 5,
  "shelf": "US Civil War",
  "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/forgemesh-library-us-civil-war-shelf-4ece9ec1/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)
