# Agent Hub DeFi TVL Lookup

> Agent Hub DeFi TVL Lookup is a paid API for AI agents from agents.torbrooknews.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-13).

Returns total value locked (TVL) for a DeFi protocol and/or blockchain chain, including the chain's TVL rank.

## Facts

- Endpoint: GET https://agents.torbrooknews.com/v1/defi/tvl?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-hub-defi-tvl-lookup-ded60cc1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bdulcfl-fDe01Oh2ZnpE3

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 agent-hub-defi-tvl-lookup-ded60cc1
```

Example prompt: What's the current total value locked for Aave, and what's Ethereum's TVL rank right now?

## When to prefer this

Use this endpoint when you need a quick, current TVL figure for a specific DeFi protocol (like Aave, Uniswap, or Lido) or a specific chain (like Base, Ethereum, or Solana), especially when you also want the chain's TVL rank. Prefer this over general crypto price APIs when the question is about capital locked in DeFi rather than token price.

## Known failure modes

- Unknown or misspelled protocol slug returns an error or empty result
- Chain name not recognized if passed in an unsupported format
- No data available for very new or obscure protocols
- Both protocol and chain omitted may return a generic or error response
- API may return stale data if DefiLlama upstream is delayed

## How this service works

Total value locked for a DeFi protocol (aave, uniswap, aerodrome, lido...) and/or a chain (Base, Ethereum, Solana...), with the chain's TVL rank.

## Output

Returns the total value locked (in USD) for the requested DeFi protocol and/or chain, along with the chain's TVL rank among all tracked blockchains. Data is sourced from DefiLlama.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "chain": {
       "type": "string",
       "description": "e.g. base"
      },
      "protocol": {
       "type": "string",
       "description": "DefiLlama slug, e.g. aave"
      }
     }
    }
   },
   "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/agent-hub-defi-tvl-lookup-ded60cc1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.torbrooknews.com](https://www.zero.xyz/host/agents.torbrooknews.com/llms.txt)
