# ManyLives Knowledge Base Builder

> ManyLives Knowledge Base Builder is a paid API for AI agents from api.manylives.me, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Converts public web pages or pasted text into structured FAQ and chunked knowledge-base data for AI agents

## Facts

- Endpoint: POST https://api.manylives.me/paid/web/knowledge-base?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/manylives-knowledge-base-builder-34b0def2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iq7k2nforf0NnTYzWLiJm

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 manylives-knowledge-base-builder-34b0def2 -d '<json body>'
```

Example prompt: Can you turn the FAQ page at https://example-bakery.com/faq and the about page at https://example-bakery.com/about into a structured knowledge base with up to 20 FAQ entries and chunks of about 1000 characters each?

## When to prefer this

Choose this endpoint when you need to rapidly convert one or more public web pages or pasted business text into a structured, agent-ready knowledge base with both FAQ pairs and chunked text. It is ideal for bootstrapping RAG pipelines, customer support chatbots, or document Q&A systems without building your own scraping and chunking pipeline. Prefer it over general-purpose web scrapers when you specifically need AI-generated FAQ extraction alongside raw chunks in a single pay-per-call, no-account workflow.

## Known failure modes

- Non-HTTPS or inaccessible URLs cause those pages to be dropped and counted in dropped_unsupported
- More than 10 URLs provided causes a validation error
- Text input exceeding 60,000 characters is rejected
- max_faq outside 0-40 range returns a validation error
- chunk_chars outside 300-3000 range returns a validation error
- Pages with no extractable text content are silently dropped
- Payment failure via x402 protocol blocks the request

## How this service works

Pay-per-call tools for people building AI agents: live web search and page contents, prompt-injection checks, market data and risk sizing for trading agents, company profiles and quick AI. Ask us to turn a public website into a JSON endpoint. Pay per call, no account, free trial.

## Output

Returns a JSON object containing: an array of FAQ entries each with a question, answer, supporting quote, and source URL; an array of text chunks each with an ID, text content, and source; a sources summary listing each URL with its title and chunk count; and a count of any dropped unsupported pages.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "optional: the business's own docs as plain text instead of urls (up to 60,000 characters)"
  },
  "urls": {
   "type": "string",
   "examples": [
    [
     "https://en.wikipedia.org/wiki/HTTP_402"
    ]
   ],
   "description": "array of 1-10 public https:// pages of the business (or use text)"
  },
  "source": {
   "type": "string",
   "description": "optional label for pasted text, e.g. 'returns policy'"
  },
  "max_faq": {
   "type": "string",
   "examples": [
    5
   ],
   "description": "optional 0-40 (default 15; 0 = chunks only, no AI)"
  },
  "chunk_chars": {
   "type": "string",
   "description": "optional 300-3000 (default 1200)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "faq": [
   {
    "a": "7am to 3pm, Tuesday to Sunday.",
    "q": "What are your opening hours?",
    "quote": "We open 7am to 3pm, Tuesday to Sunday",
    "source": "https://example-bakery.com/faq"
   }
  ],
  "chunks": [
   {
    "id": "c1",
    "text": "We open 7am to 3pm, Tuesday to Sunday…",
    "source": "https://example-bakery.com/faq"
   }
  ],
  "sources": [
   {
    "title": "FAQ",
    "chunks": 3,
    "source": "https://example-bakery.com/faq"
   }
  ],
  "dropped_unsupported": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/manylives-knowledge-base-builder-34b0def2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.manylives.me](https://www.zero.xyz/host/api.manylives.me/llms.txt)
