# DeFi Shield Wallet Risk Assessment

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

Assess a wallet address for DeFi risk by returning a trust score, risk flags, and risk classification

## Facts

- Endpoint: POST https://defi-shield-hazel.vercel.app/api/wallet/risk
- Price: $0.75/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-49edcd12
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SQ8aa7p1ZmZlBNp5V7NY5

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-49edcd12 -d '<json body>'
```

Example prompt: Can you do a full risk assessment on wallet address 0x3f5CE5FBFe3E9af3971dD833D26bA9b5C936f0bE and tell me the trust score, any risk flags, and what risk category it falls into?

## When to prefer this

Use this endpoint when you need a comprehensive risk profile for a wallet — including a numeric trust score, specific risk flags, and a categorical risk classification — before interacting with or sending funds to that address. Prefer this over the quick trust score endpoint when you need the full breakdown of flags and classification, not just a single score.

## Known failure modes

- Invalid or malformed wallet address returns a 400 error
- Unsupported blockchain network returns an error indicating network not supported
- Unknown or very new wallet with no on-chain history may return a low-confidence score
- Payment failure via x402 protocol returns 402 Payment Required
- Timeout or service unavailability returns 503

## Output

Returns a trust score (numeric), a list of risk flags (e.g. mixer usage, sanctioned counterparty, high-risk activity patterns), and a risk classification label (e.g. low/medium/high risk) for the queried wallet address.

## Example request

```json
{
 "input": {
  "body": {
   "address": "0x1234567890123456789012345678901234567890"
  },
  "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": {
      "address": {
       "type": "string",
       "description": "Wallet address to assess risk (0x + 40 hex chars)"
      }
     }
    },
    "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-49edcd12/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)
