# DefiLlama Historical Chain TVL (All Chains Aggregate)

> DefiLlama Historical Chain TVL (All Chains Aggregate) is a paid API for AI agents from defillama.use.x402atlas.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns a historical time series of aggregate DeFi TVL across all chains, excluding liquid staking and double counting.

## Facts

- Endpoint: GET https://defillama.use.x402atlas.com/historical-chain-tvl
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defillama-historical-chain-tvl-all-chains-aggregate-77a14eb6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x-sxZN2XptbUHKliB3O3x

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 defillama-historical-chain-tvl-all-chains-aggregate-77a14eb6
```

Example prompt: Pull the full historical DeFi TVL time series from DefiLlama across all chains — the clean aggregate that strips out liquid staking and double counting — so I can see how total locked value has trended over time.

## When to prefer this

Use this endpoint when you need the full historical aggregate DeFi TVL trend across all chains in one call, and specifically want double-counting and liquid staking excluded for a clean apples-to-apples view. Prefer this over per-chain or per-protocol endpoints when the user wants macro-level DeFi growth history rather than a specific chain or protocol breakdown.

## Known failure modes

- Upstream DefiLlama API unavailability returns an error or empty response
- Payment of $0.005 USDC not received causes 402 rejection
- Network timeout on data retrieval
- Rate limiting if called too frequently

## How this service works

Historical DeFi TVL across all chains from DefiLlama — aggregate time series (excludes liquid staking and double counting).

## Output

A time series array of data points, each containing a Unix timestamp and the corresponding aggregate TVL (in USD) across all tracked DeFi chains, with liquid staking and double-counted values excluded.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "tvl": 1230000000000,
    "date": 1700000000
   }
  ],
  "queried_at": "2026-07-01T12:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defillama-historical-chain-tvl-all-chains-aggregate-77a14eb6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defillama.use.x402atlas.com](https://www.zero.xyz/host/defillama.use.x402atlas.com/llms.txt)
