# DefiLlama TVL Lookup – Balancer

> DefiLlama TVL Lookup – Balancer 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-15).

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

## Facts

- Endpoint: GET https://api.web3identity.com/api/defi/tvl/balancer
- Price: $0.010000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-web3identity-com-a11c2ce1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fyIKYimXzy-Tjah2C9STz

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-a11c2ce1
```

Example prompt: What's the current total value locked in Balancer right now — pull the TVL from DefiLlama?

## When to prefer this

Use this endpoint when you specifically need TVL data for the Balancer protocol sourced from DefiLlama. Prefer this over generic DeFi data APIs when you want a single focused lookup for Balancer without needing to parse a large multi-protocol response.

## Known failure modes

- DefiLlama upstream unavailable — returns an error or empty response
- Payment not included or insufficient — returns HTTP 402
- Balancer TVL data temporarily stale or missing from DefiLlama index
- Network timeout if DefiLlama API is slow to respond

## How this service works

Get Total Value Locked for a DeFi protocol from DefiLlama

## Output

Returns a JSON object containing the numeric TVL for Balancer (in USD), the list of chains where Balancer has liquidity, and the protocol name string as reported 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-a11c2ce1/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)
