# DataVault Code Review

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

Performs AI-powered code review on submitted source code, returning analysis and feedback

## Facts

- Endpoint: POST https://zetavault.vercel.app/api/code-review
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datavault-code-review-a120f0fa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AoNtZrwdan7lEuFs94TWp

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 datavault-code-review-a120f0fa -d '<json body>'
```

Example prompt: Can you review this Python function for bugs and performance issues? Here's the code: `def fetch_data(url): import requests; return requests.get(url).json()` — focus on error handling.

## When to prefer this

Choose this endpoint when you need on-demand, pay-per-call AI code review without a subscription, especially useful for agents automating code quality checks in CI/CD pipelines or reviewing individual snippets at $0.05 per call via USDC on Base.

## Known failure modes

- Missing required 'code' field returns validation error
- Empty code string may produce unhelpful review
- Unsupported language hint may cause generic analysis
- Payment failure (402) if USDC balance is insufficient
- Very long code snippets may be truncated or rejected
- Service unavailable (500) if AI backend is down

## How this service works

54 endpoints spanning local tools, live data feeds, and AI-powered text processing. Pay-per-call with USDC on Base.

## Output

Returns a JSON object with a success boolean and a data object containing AI-generated code review feedback, including identified issues, suggestions, and analysis based on the submitted code, optional language hint, and optional focus area.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

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