# Nova AI Code Review API

> Nova AI Code Review API is a paid API for AI agents from novva.orbonomy.xyz, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Performs AI-powered code review, returning a quality score, identified issues, and improvement suggestions for submitted source code.

## Facts

- Endpoint: POST https://novva.orbonomy.xyz/api/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/nova-ai-code-review-api-3d2798d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DjeEVHVFuWkDGxQXST_3-

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 nova-ai-code-review-api-3d2798d6 -d '<json body>'
```

Example prompt: Can you review this Python function for bugs and performance issues — give me a score, a list of problems, and suggestions to fix them?

## When to prefer this

Choose this endpoint when you need a structured, scored code review with explicit issues and suggestions — especially when the result must be machine-readable (score + issues array). Prefer it over generic AI chat for code review when you need consistent JSON output format and pay-per-call economics without a subscription.

## Known failure modes

- Missing required 'code' field returns an error response with success: false
- Empty or extremely short code snippets may produce low-quality reviews
- Unsupported or obscure languages may result in inaccurate auto-detection
- Payment failure (insufficient USDC on Base) blocks the call entirely
- Rate limiting or server errors may return non-200 HTTP responses

## How this service works

Pay-per-call AI inference. Chat, reason, translate, analyze, generate. USDC on Base.

## Output

Returns a structured code review object containing a numeric quality score (integer), a list of detected issues, a plain-language summary of the review, and an array of actionable suggestions, along with metadata including the detected language, model used, token usage, and timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "code"
 ],
 "properties": {
  "code": {
   "type": "string",
   "description": "Source code to review"
  },
  "focus": {
   "enum": [
    "security",
    "performance",
    "quality",
    "all"
   ],
   "type": "string"
  },
  "language": {
   "type": "string",
   "description": "Programming language (auto-detect if omitted)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "model": {
     "type": "string"
    },
    "usage": {
     "type": "object"
    },
    "review": {
     "type": "object",
     "properties": {
      "score": {
       "type": "integer"
      },
      "issues": {
       "type": "array"
      },
      "summary": {
       "type": "string"
      },
      "suggestions": {
       "type": "array"
      }
     }
    }
   }
  },
  "meta": {
   "type": "object",
   "properties": {
    "focus": {
     "type": "string"
    },
    "price": {
     "type": "string"
    },
    "endpoint": {
     "type": "string"
    },
    "language": {
     "type": "string"
    },
    "timestamp": {
     "type": "string"
    }
   }
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nova-ai-code-review-api-3d2798d6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from novva.orbonomy.xyz](https://www.zero.xyz/host/novva.orbonomy.xyz/llms.txt)
