# Gutendex Books Search via x402

> Gutendex Books Search via x402 is a paid API for AI agents from x402-v2-mint-gutendex-books.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-20).

Search and retrieve Project Gutenberg book metadata by keyword, topic, author year range, or Gutenberg IDs, returning a trimmed book list.

## Facts

- Endpoint: POST https://x402-v2-mint-gutendex-books.vercel.app/v1/gutendex-books?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gutendex-books-search-via-x402-7c3156a1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_riEz4xuvhfmAWW8Os03Kl

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 gutendex-books-search-via-x402-7c3156a1 -d '<json body>'
```

Example prompt: Search Project Gutenberg for up to 10 public domain books about Stoicism written by authors from between 0 and 300 AD — return the titles and authors.

## When to prefer this

Use this endpoint when you need to search or browse the Project Gutenberg catalog of public domain books without requiring an API key, especially when filtering by topic, author era, language, or specific Gutenberg IDs. Prefer this over general web search when you need structured book metadata (authors, subjects, formats) rather than raw text or summaries.

## Known failure modes

- No results returned if query matches no Gutenberg books
- Invalid or non-existent Gutenberg IDs return empty or partial results
- Overly broad queries may hit the limit and truncate results
- Language code typos may return no results
- Payment failure returns 402 with no book data
- Author year range too narrow may yield zero results

## How this service works

Project Gutenberg books via Gutendex (keyless). search/topic/ids/author_year → trimmed book list.

## Output

A JSON object with ok:true, the skill name 'gutendex-books', a charged flag, and a summary field, along with a trimmed list of matching books including titles, authors, subjects, languages, and download links from Project Gutenberg.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "q": {
   "type": "string",
   "maxLength": 200
  },
  "ids": {
   "type": "string",
   "maxLength": 200,
   "description": "Comma-separated Gutenberg IDs"
  },
  "sort": {
   "type": "string",
   "maxLength": 32
  },
  "limit": {
   "type": "integer",
   "default": 10,
   "maximum": 32,
   "minimum": 1
  },
  "topic": {
   "type": "string",
   "maxLength": 100
  },
  "search": {
   "type": "string",
   "maxLength": 200
  },
  "copyright": {
   "type": "boolean"
  },
  "languages": {
   "type": "string",
   "maxLength": 64,
   "description": "Comma-separated language codes"
  },
  "mime_type": {
   "type": "string",
   "maxLength": 64
  },
  "request_id": {
   "type": "string"
  },
  "author_year_end": {
   "type": "integer",
   "maximum": 2100,
   "minimum": -2000
  },
  "author_year_start": {
   "type": "integer",
   "maximum": 2100,
   "minimum": -2000
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "skill": "gutendex-books",
  "charged": true,
  "summary": "ok"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gutendex-books-search-via-x402-7c3156a1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-v2-mint-gutendex-books.vercel.app](https://www.zero.xyz/host/x402-v2-mint-gutendex-books.vercel.app/llms.txt)
