# ForgeMesh Library – History & Warfare Shelf

> ForgeMesh Library – History & Warfare 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 19 curated public-domain books on history and warfare, with drill-down routes for full-text retrieval.

## Facts

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

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-history-warfare-shelf-d45eaa4a -d '<json body>'
```

Example prompt: Can you pull up the curated list of public-domain history and warfare books from ForgeMesh Library — show me up to 19 results so I can pick something to read?

## When to prefer this

Choose this endpoint when you need a curated, immediately accessible list of classic public-domain books specifically on history and warfare topics, without needing an API key or license. Prefer this over general web search when you want structured, ranked results with drill-down full-text retrieval routes rather than raw search links.

## Known failure modes

- limit value exceeds maximum of 50 — clipped or error returned
- payment of 0.003 USDC not completed — 402 Payment Required response
- network timeout from ForgeMesh API
- empty result if shelf is temporarily unavailable

## How this service works

Curated shelf: History - Warfare — 2842 public-domain books including The Anabasis of Alexander : $b or, The history of the wars and conquests of Alexander the Great, The Waterloo Roll Call With Biographical Notes and Anecdotes, A farewell to arms. 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 19 (or the requested limit, max 50) public-domain books on history and warfare, including titles such as the Simple Sabotage Field Manual, The History of the Peloponnesian War, and Personal Memoirs of U. S. Grant, along with drill-down routes for accessing 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 Anabasis of Alexander : $b or, The history of the wars and conquests of Alexander the Great",
    "author": "Arrian",
    "book_id": 46976,
    "subjects": [],
    "download_count": 46244
   }
  ],
  "count": 5,
  "shelf": "History - Warfare",
  "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-history-warfare-shelf-d45eaa4a/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)
