# pagos.andreax.dev Code Review API

> pagos.andreax.dev Code Review API is a paid API for AI agents from pagos.andreax.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Reviews submitted source code for bugs, security vulnerabilities, and improvement suggestions using LLM-powered analysis.

## Facts

- Endpoint: GET https://pagos.andreax.dev/api/taller/peaje/revisar-codigo
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pagos-andreax-dev-code-review-api-dda0cc27
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gmTLCXCu_3KdbkvGOphT0

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 pagos-andreax-dev-code-review-api-dda0cc27
```

Example prompt: Can you review this code for bugs, security issues, and improvements? Here's the function: `def login(user, pwd): query = f'SELECT * FROM users WHERE user={user} AND pwd={pwd}'; return db.execute(query)`

## When to prefer this

Choose this endpoint when you need a quick, low-cost ($0.02) automated code review covering bugs, security, and improvements in a single call, especially for individual functions or snippets. Prefer it for developer workflows where a lightweight LLM-powered review is sufficient without requiring a full CI/CD integration or human reviewer.

## Known failure modes

- Missing 'input' query parameter returns validation error
- Empty or malformed code string may produce generic or low-quality review
- Very large code inputs may be truncated or exceed processing limits
- Non-code text input may return irrelevant analysis
- Network or LLM backend unavailability returns 5xx error

## How this service works

PREMIUM: revisión de código (bugs, seguridad, mejoras). Para devs/empresas. input=código.

## Output

A structured code review report identifying bugs, security vulnerabilities (e.g. injection flaws, insecure patterns), and actionable improvement suggestions for the submitted code snippet.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "type": "string",
       "description": "código"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pagos-andreax-dev-code-review-api-dda0cc27/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pagos.andreax.dev](https://www.zero.xyz/host/pagos.andreax.dev/llms.txt)
