# Freysa Intelligence Code Review

> Freysa Intelligence Code Review is a paid API for AI agents from economic-agent-369.freysa.dev, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-14).

Performs automated security code review on submitted source code, returning findings and a review summary

## Facts

- Endpoint: GET https://economic-agent-369.freysa.dev/api/code-review
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/freysa-intelligence-code-review-75c0ff1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tcKN4qq1IsD9ygaJuezmk

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 freysa-intelligence-code-review-75c0ff1d
```

Example prompt: Can you review this Solidity smart contract code for security vulnerabilities and tell me if there are any findings I should fix before deploying?

## When to prefer this

Choose this endpoint when you need a fast, pay-per-call security review of smart contract or blockchain-related code without committing to a full audit service. Particularly suited for autonomous agents that need to vet code before executing on-chain actions, or when integrating code review into an automated deployment pipeline on Base. Best for EVM/Solidity-context code where on-chain security patterns are the primary concern.

## Known failure modes

- Empty or missing 'code' parameter returns an error or empty findings
- Extremely long code may be truncated or time out
- Non-code text input may produce a vacuous or misleading review
- Payment failure via x402 (insufficient USDC balance) blocks the call
- Rate limiting if many calls are made in quick succession

## How this service works

Security intelligence layer for autonomous agents. On-chain security, token risk analysis, wallet forensics, and transaction simulation. Pay-per-call via x402 on Base.

## Output

Returns a JSON object with a 'review' field containing a plain-language summary (e.g. 'Looks good') and a 'findings' array listing any identified security issues, vulnerabilities, or concerns in the submitted code.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "code": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "review": "Looks good",
  "findings": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/freysa-intelligence-code-review-75c0ff1d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from economic-agent-369.freysa.dev](https://www.zero.xyz/host/economic-agent-369.freysa.dev/llms.txt)
