# whatchuneed LLM Code Review

> whatchuneed LLM Code Review is a paid API for AI agents from whatchuneed.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Analyzes submitted source code and returns a structured review with issues, severities, and improvement suggestions

## Facts

- Endpoint: POST https://whatchuneed.vercel.app/api/llm/code
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/whatchuneed-llm-code-review-7b364bd8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Po6u0sltBL13elzx_C9aI

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 whatchuneed-llm-code-review-7b364bd8 -d '<json body>'
```

Example prompt: Can you review this Python function for me and flag any bugs, bad practices, or places I could improve it? The task is to parse a CSV file and return a list of dicts.

## When to prefer this

Choose this endpoint when you need a structured, machine-readable code review with per-line issue tracking and severity ratings — especially useful for automated CI pipelines, agent-driven development workflows, or when you need programmatic access to code quality feedback. Prefer this over general LLM chat for code because the output is schema-structured with explicit issues array and line numbers rather than free-form prose.

## Known failure modes

- Missing required 'code' field returns validation error
- Very large code submissions may time out or be truncated
- Unsupported or ambiguous language may produce generic or inaccurate feedback
- Payment failure via x402 protocol returns 402 status with no result
- Malformed JSON body returns 400 error

## How this service works

320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.

## Output

Returns a structured object containing: an array of issues (each with line number, message, and severity), a prose review summary, and an array of actionable suggestion strings for improving the code.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "code"
 ],
 "properties": {
  "code": {
   "type": "string"
  },
  "task": {
   "type": "string"
  },
  "language": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "issues": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "line": {
      "type": "integer"
     },
     "message": {
      "type": "string"
     },
     "severity": {
      "type": "string"
     }
    }
   }
  },
  "review": {
   "type": "string"
  },
  "suggestions": {
   "type": "array",
   "items": {
    "type": "string"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/whatchuneed-llm-code-review-7b364bd8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from whatchuneed.vercel.app](https://www.zero.xyz/host/whatchuneed.vercel.app/llms.txt)
