# ADH L2 TVL Intelligence — Layer 2 Total Value Locked Feed

> ADH L2 TVL Intelligence — Layer 2 Total Value Locked Feed 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 real-time TVL (Total Value Secured) data for the top 40 Layer 2 blockchains, including decentralization stage and 7-day change, sourced from L2Beat.

## Facts

- Endpoint: GET https://agentdatum.com/api/v1/d/l2-tvl
- 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/adh-l2-tvl-intelligence-layer-2-total-value-locked-feed-9932b5a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GpU7BU2MdHQC4VG5KXXKQ

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 adh-l2-tvl-intelligence-layer-2-total-value-locked-feed-9932b5a3
```

Example prompt: Pull the latest L2 TVL rankings from ADH — I want to see which Layer 2 blockchains have the most value locked, their decentralization stage, and how their TVS has changed over the past 7 days.

## When to prefer this

Choose this endpoint when you need structured, pre-processed Layer 2 TVL data without managing your own L2Beat API integration. It's ideal for agents needing a quick snapshot of L2 ecosystem capital flows, decentralization maturity, and weekly trends. Prefer this over raw L2Beat calls when you want entity-resolved, timestamped intelligence ready for AI context injection at $0.01 per call.

## Known failure modes

- Upstream L2Beat API unavailability may result in stale or missing data
- No authentication required but x402 payment of $0.01 USDC must be settled before data is returned — payment failure returns 402
- Empty or malformed response if L2Beat changes its schema
- Data may lag real-time by minutes depending on collection cadence

## How this service works

ADH 金融情报层：把 239 个原始数据源洗成带实体解析、时间同步、溯源与派生结论的情报（宏观regime / 加密尽调 / 事件窗口），免费注入你的 AI 上下文。Agent 走 x402 结算，人类订阅（PayPal）即将上线。

## Output

Returns a JSON object containing an array of up to 40 L2 entries, each with slug, project name, decentralization stage (Stage 0/1/2), TVS in USD, category (e.g. Optimistic Rollup), and 7-day percentage change. Also includes total TVS across the top 40 chains, a human-readable explanation of how to interpret the data, the data source (L2Beat), and a collection timestamp.

## 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": {
  "data": {
   "data": [
    {
     "slug": "base",
     "stage": "Stage 1",
     "project": "Base Chain",
     "tvs_usd": 11595131904,
     "category": "Optimistic Rollup",
     "change_7d_pct": -0.01285685018982896
    },
    {
     "slug": "base",
     "stage": "Stage 1",
     "project": "Base Chain",
     "tvs_usd": 11595131904,
     "category": "Optimistic Rollup",
     "change_7d_pct": -0.01285685018982896
    }
   ],
   "projects": 40,
   "how_to_read": "TVS=锁在该 L2 的资产总值；stage 是去中心化成熟度(Stage0/1/2)。资金从 L1 迁往哪个 L2，是生态与空投机会的先行指标。",
   "total_tvs_usd_top40": 39171158416
  },
  "note": "L2Beat 公开接口，免费无 key",
  "type": "区块链",
  "source": "l2beat",
  "product_id": "l2-tvl",
  "collected_at": "2026-08-14T00:25:23Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/adh-l2-tvl-intelligence-layer-2-total-value-locked-feed-9932b5a3/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)
