# DeFi Shield TVL Decomposition

> DeFi Shield TVL Decomposition 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-13).

Breaks down a protocol's Total Value Locked (TVL) across individual chains to show cross-chain distribution

## Facts

- Endpoint: POST https://defi-shield-hazel.vercel.app/api/protocol/tvl-decompose
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-shield-hazel-vercel-app-80c81b3a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S50qFN1hFBv-7GHHwlbHx

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-80c81b3a -d '<json body>'
```

Example prompt: Can you break down Aave's TVL across all the chains it's deployed on — I want to see how the liquidity is distributed between Ethereum, Arbitrum, Polygon, and the rest?

## When to prefer this

Use this endpoint when you need to understand how a specific DeFi protocol's liquidity is distributed across multiple blockchains, especially for cross-chain protocol risk assessment, portfolio analysis, or comparing chain-level dominance. Prefer this over a generic TVL lookup when chain-level granularity is required.

## Known failure modes

- Unknown or unsupported protocol identifier returns an error or empty result
- Protocol not tracked across multiple chains returns single-chain data
- Stale or delayed TVL data if underlying data source has lag
- Invalid input format causes a 400 bad request
- Payment not received or invalid x402 payment header returns 402

## Output

Returns a decomposition of a protocol's Total Value Locked (TVL) broken down by each blockchain it operates on, including per-chain TVL values and likely percentage shares, so you can understand cross-chain liquidity distribution at a glance.

## 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 for TVL breakdown"
      }
     }
    },
    "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-80c81b3a/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)
