# Strale DeFi Risk Check

> Strale DeFi Risk Check is a paid API for AI agents from api.strale.io, paid per call via x402, $1.62/call, status unknown (last checked 2026-09-15).

Assesses the risk profile of a DeFi protocol by URL or name, returning a structured risk evaluation with a cryptographic audit record

## Facts

- Endpoint: POST https://api.strale.io/x402/v2/solutions/defi-risk-check
- Price: $1.62/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-defi-risk-check-56e282a6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_grJNNPleXlDWeNd3kqvh1

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 strale-defi-risk-check-56e282a6 -d '<json body>'
```

Example prompt: Can you run a risk check on the Compound DeFi protocol at compound.finance before I allocate funds to it?

## When to prefer this

Choose this endpoint when you need an independent, auditable risk assessment of a DeFi protocol before committing funds, performing due diligence, or advising on DeFi exposure. It is especially valuable when a verifiable audit trail (cryptographic chain hash) is required for compliance or reporting purposes. Prefer it over generic search or manual research when you need structured, comparable risk scores across multiple protocols.

## Known failure modes

- Unknown or very new protocol — insufficient data to assess risk, returns low-confidence or empty result
- Invalid URL format — returns validation error for malformed protocol_url
- Protocol not operating in a supported country or chain — may return partial results
- Payment failure — $1.62 USDC micropayment rejected, request not processed

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

Returns a structured risk assessment for the specified DeFi protocol, including risk scores, identified risk factors (e.g. smart contract vulnerabilities, liquidity risk, governance risk), and an audit record with a cryptographic chain hash for verifiability.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "protocol_url",
      "protocol_name"
     ],
     "properties": {
      "protocol_url": {
       "type": "string",
       "format": "uri",
       "description": "DeFi protocol website URL"
      },
      "protocol_name": {
       "type": "string",
       "description": "Protocol name (e.g. Aave, Compound)"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-defi-risk-check-56e282a6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
