# ManyLives Quote Check

> ManyLives Quote Check is a paid API for AI agents from api.manylives.me, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-18).

Validates a trade or service quote against business rules: checks line item prices against a catalogue, enforces margin floors, verifies required categories, and confirms quote validity period.

## Facts

- Endpoint: POST https://api.manylives.me/paid/doc/quote-check?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/manylives-quote-check-704f4663
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pvqdzIDLQlHh_gJHT1yz5

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-quote-check-704f4663 -d '<json body>'
```

Example prompt: Check this hot water job quote Q-311 for me — it has 3 labour hours at $110, 4 lengths of 15mm copper pipe (SKU CP15) at $11.50, and a $60 call-out fee, subtotalling $436 plus $43.60 tax. My rules are: CP15 costs me $7.20 and sells at $11.50, minimum margin is 30% for hot water jobs, and every quote must have a labour and travel line.

## When to prefer this

Choose this endpoint when you need to programmatically audit a structured quote document against explicit business rules such as a parts catalogue, margin floors, required line item categories, or validity periods. It is purpose-built for trade and field-service quoting workflows where quotes are structured JSON objects. Prefer it over generic AI text review when you need deterministic, rule-based compliance checks with precise computed outputs like margin percentages and expected tax.

## Known failure modes

- Quote JSON missing required fields (quote_number, date, lines) causes validation to fail or error
- Catalogue SKU not found in provided rules — price check skipped for that line
- Country not recognised — tax defaults to Australian GST rules
- Lines total mismatch vs sum of line amounts triggers arithmetic discrepancy
- Invalid date format in quote causes date-range check to fail
- Empty or malformed rules object causes rule checks to be skipped silently

## How this service works

Pay-per-call tools for people building AI agents: live web search and page contents, point-in-time crypto market data and news for backtests (no lookahead), verifiable track records of 1,000 crypto strategies locked on the Base network, company profiles, quick AI and batch prices. Ask us to turn a public website into a JSON endpoint. Pay per call, no account, free trial.

## Output

Returns a pass/fail boolean and a list of individual check results, each with an ok flag, a human-readable check name, and a detail string explaining any failure. Also returns computed fields including margin percentage, lines total before tax, and expected tax amount.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "quote": {
   "type": "string",
   "examples": [
    {
     "tax": 43.6,
     "date": "2026-10-14",
     "lines": [
      {
       "amount": 330,
       "category": "labour",
       "quantity": 3,
       "unit_price": 110,
       "description": "Labour"
      },
      {
       "sku": "CP15",
       "amount": 46,
       "category": "materials",
       "quantity": 4,
       "unit_price": 11.5,
       "description": "15mm copper pipe"
      },
      {
       "amount": 60,
       "category": "travel",
       "quantity": 1,
       "unit_price": 60,
       "description": "Call-out and travel"
      }
     ],
     "total": 479.6,
     "job_type": "hot water",
     "subtotal": 436,
     "valid_until": "2026-11-13",
     "quote_number": "Q-311"
    }
   ],
   "description": "{quote_number, date (YYYY-MM-DD), valid_until, job_type, lines: [{description, sku, category (e.g. labour, materials, travel), quantity, unit_price, unit_cost, amount, tax_free}], subtotal, tax, total, prices_include_tax}"
  },
  "rules": {
   "type": "string",
   "examples": [
    {
     "catalogue": [
      {
       "sku": "CP15",
       "cost": 7.2,
       "name": "15mm copper pipe",
       "price": 11.5
      }
     ],
     "margin_floor": {
      "default": 0.25,
      "hot water": 0.3
     },
     "max_valid_days": 30,
     "required_categories": [
      "labour",
      "travel"
     ]
    }
   ],
   "description": "optional {tax_rate (fraction; required outside Australia), catalogue: [{sku, name, price, cost}] (up to 5,000), price_tolerance (fraction), margin_floor (fraction, or {job_type: fraction, default: fraction}), required_categories: [\"labour\", \"travel\"], max_valid_days}"
  },
  "country": {
   "type": "string",
   "description": "optional, default AU"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pass": false,
  "checks": [
   {
    "ok": false,
    "check": "prices match your catalogue",
    "detail": "1 line(s) differ: line 2 (15mm copper pipe): $9.00 but your catalogue says $11.50."
   },
   {
    "ok": false,
    "check": "margin floor",
    "detail": "margin 24.0% ($410.00 before tax, $311.60 cost) against your 30.0% floor for hot water. The quote needs at least $445.14 before tax to meet it."
   },
   {
    "ok": false,
    "check": "required parts",
    "detail": "no travel line on the quote (your rules say every quote needs one)."
   }
  ],
  "computed": {
   "margin": 0.24,
   "lines_total": 410,
   "expected_tax": 41
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/manylives-quote-check-704f4663/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)
