# Smart Contract Risk Summarizer

> Smart Contract Risk Summarizer is a paid API for AI agents from lab.paidapis.net, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

Analyzes Solidity smart contract source code and returns a structured plain-English risk assessment with risk level, specific findings, and a summary

## Facts

- Endpoint: POST https://lab.paidapis.net/api/contract-risk/summarize?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/smart-contract-risk-summarizer-9dfec0ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jTRdiD5p7tM3Nm8PviIy6

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 smart-contract-risk-summarizer-9dfec0ed -d '<json body>'
```

Example prompt: Can you analyze this Solidity smart contract and give me a plain-English risk assessment — flag any dangerous patterns, tell me the overall risk level, and summarize the key findings? Here's the source code: [paste Solidity code here]

## When to prefer this

Choose this endpoint when you need a fast, structured, machine-readable risk assessment of Solidity smart contract source code without setting up a full local static analysis toolchain. It is ideal for AI agents doing automated due diligence, developer tools that need to surface risk signals inline, or any workflow where plain-English output is required alongside structured findings. It is not a replacement for a comprehensive formal audit but is well-suited for rapid screening and triage.

## Known failure modes

- Source code exceeds 50,000 character limit — returns a 400 error
- Malformed or non-Solidity input — may return a generic or low-confidence assessment
- Payment not fulfilled via x402 — returns 402 Payment Required
- Service temporarily unavailable — returns 5xx error
- Empty or whitespace-only source code submitted — likely returns validation error

## How this service works

Plain-English smart-contract risk summarizer: submit Solidity source code (max 50000 chars) and get back a structured risk assessment (risk level, specific findings, plain-English summary) - callable by a dev tool or an agent doing due diligence, not just a human reading a dashboard. Priced at $0.001/KB (min $0.01).

## Output

A structured JSON object containing a risk level (e.g. low/medium/high/critical), a list of specific findings describing dangerous or suspicious patterns found in the code, and a plain-English summary of the overall risk assessment suitable for both technical and non-technical readers.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "sourceCode": {
   "type": "string",
   "description": "Solidity (or similar) source code, max 50000 characters."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/smart-contract-risk-summarizer-9dfec0ed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lab.paidapis.net](https://www.zero.xyz/host/lab.paidapis.net/llms.txt)
