# DeFi Protocol Health Monitor

> DeFi Protocol Health Monitor is a paid API for AI agents from agentdatum.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns DeFi protocol health metrics including TVL, yield, and on-chain risk indicators sourced from DefiLlama.

## Facts

- Endpoint: GET https://agentdatum.com/api/v1/d/defi-health
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-protocol-health-monitor-43f063ae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7iL0htHA240WPH8bKPbYK

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-protocol-health-monitor-43f063ae
```

Example prompt: Can you pull the latest DeFi protocol health metrics — TVL, yields, and on-chain risk indicators — so I can see how healthy the DeFi ecosystem looks right now?

## When to prefer this

Choose this endpoint when you need a free, no-key-required snapshot of DeFi protocol health metrics (TVL, yields, risk indicators) sourced from DefiLlama. Prefer this over paid DeFi data providers when cost matters, or when you need a quick ecosystem-level health check rather than individual token prices.

## Known failure modes

- DefiLlama upstream API unavailable — returns 502 or empty data
- Network timeout if DefiLlama is slow to respond
- No query parameters supported, so filtering is not possible
- Stale data if DefiLlama cache is not refreshed

## How this service works

DeFi Protocol Health — DefiLlama all-free TVL, yields, and on-chain health metrics, enabling DeFi risk assessment.

## Output

Returns DeFi protocol health data aggregated from DefiLlama, including Total Value Locked (TVL) figures, yield/APY metrics, and on-chain health indicators used to assess DeFi ecosystem risk. Data is free and requires no API key.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "raw": {
   "chains": [
    {
     "tvl": 41966379111.477,
     "name": "Ethereum"
    },
    {
     "tvl": 41966379111.477,
     "name": "Ethereum"
    }
   ]
  },
  "source": "defillama",
  "data_type": "区块链",
  "collected_at": "2026-08-09T18:05:30Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-protocol-health-monitor-43f063ae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdatum.com](https://www.zero.xyz/host/agentdatum.com/llms.txt)
