# DeFi TVL Lookup – Aave via DefiLlama

> DeFi TVL Lookup – Aave via DefiLlama is a paid API for AI agents from api.web3identity.com, paid per call via x402, $0.010000/call, status unknown (last checked 2026-09-14).

Returns the current Total Value Locked (TVL) for the Aave DeFi protocol, sourced from DefiLlama

## Facts

- Endpoint: GET https://api.web3identity.com/api/defi/tvl/aave
- Price: $0.010000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-web3identity-com-9a46ed44
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t3-jyT_xE1tJrqLX6Xrzl

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 api-web3identity-com-9a46ed44
```

Example prompt: What's the current total value locked in Aave across all chains? Pull it from DefiLlama.

## When to prefer this

Use this endpoint when you specifically need Aave TVL data sourced from DefiLlama, especially in agents tracking DeFi protocol health, comparing lending protocol sizes, or monitoring liquidity trends. Prefer this over building a direct DefiLlama integration when you want a pay-per-call, low-setup option with no API key required.

## Known failure modes

- DefiLlama API unavailable — upstream data source outage returns an error
- Protocol not found or slug mismatch — returns empty or error response
- Stale data if DefiLlama cache has not refreshed — TVL may lag real-time on-chain state
- Payment failure (x402) — call rejected if $0.01 USDC payment is not provided

## How this service works

Get Total Value Locked for a DeFi protocol from DefiLlama

## Output

Returns a JSON object containing the current TVL as a numeric value (in USD), a list of chains where Aave has liquidity, and the protocol name as confirmed by DefiLlama.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {}
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "tvl": {
       "type": "number"
      },
      "chains": {
       "type": "array"
      },
      "protocol": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-web3identity-com-9a46ed44/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.web3identity.com](https://www.zero.xyz/host/api.web3identity.com/llms.txt)
