# DataVault Code Review

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

Submits code for AI-powered review, returning analysis of issues, best practices, and improvements for a given language and focus area.

## Facts

- Endpoint: POST https://zetdatavault.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-47a058db
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vOO48_AYyycKvzN56maO_

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-47a058db -d '<json body>'
```

Example prompt: Review this Python function for security vulnerabilities and suggest improvements: def login(user, pwd): query = 'SELECT * FROM users WHERE user=' + user + ' AND pwd=' + pwd; return db.execute(query)

## When to prefer this

Use this endpoint when you need a fast, pay-per-call AI code review without subscribing to a dedicated code analysis service. Ideal for spot-checking individual functions or snippets, especially when you want to specify a particular focus like security, performance, or style. Best suited for lightweight, on-demand review tasks rather than full codebase scanning.

## Known failure modes

- Missing required 'code' field returns a validation error
- Empty or malformed code string may produce low-quality or generic review
- Unsupported or unrecognized language value may result in language-agnostic analysis
- Very large code submissions may timeout or be truncated
- Focus area not understood by the model may be ignored or generalized

## 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 structured object with a success boolean and a data object containing AI-generated code review feedback, including identified issues, improvement suggestions, and best practices relevant to the submitted code, language, and specified 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-47a058db/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zetdatavault.vercel.app](https://www.zero.xyz/host/zetdatavault.vercel.app/llms.txt)
