# library.forgemesh.io — Shelf D

> library.forgemesh.io — Shelf D 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-14).

Returns a ranked list of up to 50 public-domain books whose catalog letter is 'D', with drill-down routes for full-text retrieval

## Facts

- Endpoint: POST https://library.forgemesh.io/d
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/library-forgemesh-io-shelf-d-0e3070c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KH-8_zbQyxu2hYEvMBevW

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-shelf-d-0e3070c3 -d '<json body>'
```

Example prompt: Show me up to 30 public-domain books from the 'D' shelf on library.forgemesh.io — I'm especially interested in history titles like Ancient States and Empires or 19th-century works.

## When to prefer this

Use this endpoint when you specifically want to browse or list public-domain books cataloged under the letter 'D', including history, travel, and 19th-century works. Prefer this over the full-text search endpoint when you want a curated ranked list to explore rather than querying by keyword. Use it over other shelf endpoints when the user is interested in titles beginning with or shelved under 'D'.

## Known failure modes

- Requesting a limit above 50 may return an error or be capped at 50
- Payment failure (insufficient USDC balance or x402 protocol error) will block the call
- If the shelf index is temporarily unavailable, the endpoint may return an empty list or server error
- Malformed request body may result in a 400 Bad Request

## How this service works

Curated shelf: D — 506 public-domain books including Ancient States and Empires For Colleges and Schools, The Land of Thor, A History of the Nineteenth Century, Year by Year. Volume 2 (of 3). 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 'D' catalog shelf, each entry including the book title and a drill-down route that can be used to retrieve the full text.

## 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": "Ancient States and Empires For Colleges and Schools",
    "author": "Lord, John",
    "book_id": 27114,
    "subjects": [],
    "download_count": 16138
   }
  ],
  "count": 5,
  "shelf": "D",
  "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-shelf-d-0e3070c3/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)
