# Nova AI Code Review API

> Nova AI Code Review API is a paid API for AI agents from nuvo.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, detected issues, and improvement suggestions for submitted source code.

## Facts

- Endpoint: POST https://nuvo.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-a158ea9a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VfFgjBGR0ZlYU9zxg7zg1

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

Example prompt: Can you review this Python function for bugs and code quality issues, focusing on security? Here's the code: `def login(user, pw): query = 'SELECT * FROM users WHERE name=' + user + ' AND pw=' + pw; return db.execute(query)`

## When to prefer this

Choose this endpoint when you need a pay-per-call, on-demand AI code review with a structured score and actionable suggestions, billed in USDC on Base via x402 — especially useful for agents that need programmatic code quality feedback without a subscription or API key setup.

## Known failure modes

- Missing required 'code' field returns validation error
- Unsupported or ambiguous language may degrade review accuracy
- Very large code submissions may exceed model context limits
- Payment failure via x402/USDC results in 402 response before processing
- Service unavailability on orbonomy.xyz returns 5xx error

## How this service works

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

## Output

Returns a JSON object containing a code quality score (integer), an array of detected issues, a summary of the review, and an array of improvement suggestions, along with metadata including the language detected, the AI model used, token usage, and the review focus applied.

## 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-a158ea9a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nuvo.orbonomy.xyz](https://www.zero.xyz/host/nuvo.orbonomy.xyz/llms.txt)
