# Nova AI Code Review API

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

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

## Facts

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

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

Example prompt: Can you review this Python function for bugs and best practice violations — focus on security — and give me a quality score with a list of issues to fix?

## When to prefer this

Choose this endpoint when you need AI-powered code review with a structured output (score + issues + suggestions) on a pay-per-call basis using USDC on Base, and you want automatic language detection without configuring a full static analysis pipeline.

## Known failure modes

- Missing required 'code' field returns validation error
- Payment of 0.1 USDC on Base not completed results in 402 Payment Required
- Unsupported or ambiguous language may reduce review quality
- Very large code submissions may hit token or size limits
- Network timeout for unusually complex codebases

## How this service works

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

## Output

Returns a structured review object containing an integer quality score, an array of detected issues, a plain-language summary, and an array of actionable suggestions, along with metadata about the detected language, focus area, model used, and token usage.

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