# x402 DeFi Protocol TVL

> x402 DeFi Protocol TVL is a paid API for AI agents from x402tap.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Returns a DeFi protocol's current total value locked (TVL) broken down by chain, plus market cap and token symbol, using the DefiLlama protocol slug as input.

## Facts

- Endpoint: GET https://x402tap.com/api/defi-tvl?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-defi-protocol-tvl-b9e79a31
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LD3fRsg4dZ3Wn1LljInR6

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 x402-defi-protocol-tvl-b9e79a31
```

Example prompt: What's the current TVL for Uniswap right now, broken down by chain, and what's its market cap?

## When to prefer this

Use this endpoint when you need protocol-level DeFi TVL data with per-chain breakdown and market cap in a single call. Prefer this over the chain TVL ranking endpoint when your query is about a specific protocol rather than comparing chains. Ideal for DeFi research, due diligence, ratio analysis, and monitoring a known protocol by its DefiLlama slug.

## Known failure modes

- Invalid or unrecognized protocol slug returns an error or empty result
- Protocol exists on DefiLlama but slug differs from common name (e.g. 'uniswap-v3' vs 'uniswap')
- Market cap may be null or missing for protocols without a listed token
- TVL by chain may be incomplete if the protocol has many chains
- Data may lag by up to 24 hours depending on DefiLlama's update frequency

## How this service works

Look up a DeFi protocol's current total value locked (TVL), by chain, plus market cap

## Output

A JSON object containing the protocol's name, website URL, token symbol, list of supported chains, total TVL in USD, a per-chain TVL breakdown (as a keyed object with chain name to USD value), market cap in USD, and a timestamp indicating when the data was fetched.

## 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",
     "required": [
      "protocol"
     ],
     "properties": {
      "protocol": {
       "type": "string",
       "description": "DefiLlama protocol slug, e.g. \"uniswap\", \"aave\""
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://uniswap.org/",
  "asOf": "2026-08-16T00:00:00.000Z",
  "name": "Uniswap",
  "chains": [
   "Ethereum",
   "Base",
   "Arbitrum"
  ],
  "symbol": "UNI",
  "tvlUsd": 2922032778,
  "tvlByChain": {
   "Base": 400000000,
   "Ethereum": 1800000000
  },
  "marketCapUsd": 5200000000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-defi-protocol-tvl-b9e79a31/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402tap.com](https://www.zero.xyz/host/x402tap.com/llms.txt)
