# DeFi Shield Protocol Risk Assessment

> DeFi Shield Protocol Risk Assessment is a paid API for AI agents from defi-shield-hazel.vercel.app, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-14).

Assesses risk level of a DeFi protocol by analyzing TVL trends and audit status

## Facts

- Endpoint: POST https://defi-shield-hazel.vercel.app/api/protocol/risk
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-shield-hazel-vercel-app-fe43a0a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7FBW02QiBwHmlxxU4kKzG

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 defi-shield-hazel-vercel-app-fe43a0a3 -d '<json body>'
```

Example prompt: Can you run a risk assessment on the Aave protocol — I want to know if the TVL trends look healthy and whether it's been properly audited before I move funds in?

## When to prefer this

Use this endpoint when you need a combined risk signal from both TVL trend data and audit status for a DeFi protocol, especially before committing funds or recommending a protocol to users. Prefer this over a generic TVL lookup when you want an integrated risk score rather than raw figures.

## Known failure modes

- Unknown or unrecognized protocol identifier returns an error or null result
- Protocol with insufficient TVL history may produce low-confidence assessment
- Missing or outdated audit data results in incomplete risk profile
- Rate limiting or payment failure returns 402 or 429 status
- Malformed request body returns 400 validation error

## Output

Returns a structured risk assessment including TVL trend analysis, audit status, and an overall risk score or risk level classification for the specified DeFi protocol.

## Example request

```json
{
 "input": {
  "body": {
   "protocol_name": "aave"
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "properties": {
      "protocol_name": {
       "type": "string",
       "description": "Protocol name (e.g. aave, uniswap, compound)"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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/defi-shield-hazel-vercel-app-fe43a0a3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-shield-hazel.vercel.app](https://www.zero.xyz/host/defi-shield-hazel.vercel.app/llms.txt)
