# Nova AI Code Review API

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

Analyzes submitted source code and returns a scored review with identified issues, a summary, and actionable suggestions using AI inference, paid per-call in USDC on Base.

## Facts

- Endpoint: POST https://novav2.orbonomy.xyz/api/code
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nova-ai-code-review-api-37310705
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FL42j0NlsqWbu21kxir1u

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

Example prompt: Can you review this Python function I wrote and give me a quality score, list any bugs or issues you find, and suggest improvements? Focus on security: def get_user(id): return db.query(f'SELECT * FROM users WHERE id={id}')

## When to prefer this

Choose this endpoint when you need a pay-per-call AI code review with a structured score, issue list, and suggestions without committing to a subscription. Ideal for agents that need on-demand code quality analysis billed in USDC on Base via x402 protocol, especially when review focus (e.g. security, performance) needs to be specified.

## Known failure modes

- Missing required 'code' field returns validation error
- Payment failure or insufficient USDC balance blocks the call
- Unsupported or ambiguous language may reduce review quality
- Empty or very short code snippets may produce minimal feedback
- Server errors or model unavailability return non-success response

## How this service works

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

## Output

Returns a JSON object with a success flag, a data object containing the AI model used, token usage stats, and a review object with an integer quality score, an array of identified issues, a plain-text summary, and an array of improvement suggestions. Also includes metadata such as the detected or specified language, focus area, price, and timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "code"
 ],
 "properties": {
  "code": {
   "type": "string",
   "description": "Source code to review"
  },
  "focus": {
   "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-37310705/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from novav2.orbonomy.xyz](https://www.zero.xyz/host/novav2.orbonomy.xyz/llms.txt)
