# manylives.me Code Review

> manylives.me Code Review is a paid API for AI agents from manylives.me, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-12).

Analyzes a code snippet for bugs, security vulnerabilities, performance issues, and readability problems, returning per-issue details and an overall verdict.

## Facts

- Endpoint: POST https://manylives.me/paid/code/review?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/manylives-me-code-review-addeca04
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_J67iWJWbw0ziEW9mmcXmE

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-me-code-review-addeca04 -d '<json body>'
```

Example prompt: Can you review this Python function for me and flag any bugs, security issues, or performance problems — I especially want to know about SQL injection risks:

def get_user(db, name):
    q = "SELECT * FROM users WHERE name = '" + name + "'"
    return db.execute(q).fetchall()

## When to prefer this

Choose this endpoint when you need structured, per-line code feedback with severity ratings and actionable fixes — especially useful in CI/CD pipelines, PR review bots, or developer agents that need machine-readable audit results rather than freeform prose. Ideal for quick security and quality gates at $0.02 per call without spinning up a dedicated code analysis tool.

## Known failure modes

- Text exceeds 20,000 character limit — request rejected
- Empty or missing text field — returns error
- Unrecognized or ambiguous language — review proceeds without language-specific heuristics
- Snippet too short or trivially simple — may return empty issues list with clean verdict
- Network timeout on large snippets — retry recommended

## How this service works

Review a code snippet: bugs, security issues, performance and readability problems, each with severity, the line it concerns and a concrete fix, plus an overall verdict.

## Output

A JSON object containing an array of issues, each with a kind (e.g. security, bug, performance, readability), a severity (e.g. high, medium, low), the specific line it concerns, a plain-language description of the problem, and a concrete fix suggestion. Also includes an overall verdict string summarising whether the code is ready to merge or needs changes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "def get_user(db, name):\n    q = \"SELECT * FROM users WHERE name = '\" + name + \"'\"\n    return db.execute(q).fetchall()"
   ],
   "description": "the text (required, max 20,000 chars)"
  },
  "language": {
   "type": "string",
   "examples": [
    "python"
   ],
   "description": "optional, e.g. python, typescript"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "issues": [
   {
    "fix": "Use a parameterised query",
    "kind": "security",
    "where": "line 3",
    "problem": "SQL built by string concatenation",
    "severity": "high"
   }
  ],
  "verdict": "One injection risk to fix before merging."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/manylives-me-code-review-addeca04/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from manylives.me](https://www.zero.xyz/host/manylives.me/llms.txt)
