# Web3Identity DeFi Tokens List

> Web3Identity DeFi Tokens List 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 a list of DeFi protocol tokens with current prices, TVL, and protocol data

## Facts

- Endpoint: GET https://api.web3identity.com/api/tokens/defi
- 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-c7659795
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h0QYp2RuSBloQFQ5blmc4

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

Example prompt: Show me the current list of DeFi tokens with their prices and total value locked so I can see which protocols have the most liquidity right now.

## When to prefer this

Use this endpoint when you need a comprehensive list of DeFi tokens including TVL and protocol-level data, rather than a single token price lookup. Prefer this over individual price endpoints when building dashboards, ranking DeFi protocols by TVL, or screening the DeFi space broadly.

## Known failure modes

- Payment required (402) if x402 payment header is missing or invalid
- Empty token list if upstream data source is unavailable
- Stale data if the underlying price aggregator has not refreshed recently
- Rate limiting if too many calls are made in a short window

## How this service works

DeFi tokens list with prices, TVL, and protocol data

## Output

An array of DeFi tokens, each with a name, symbol, current price (USD), and TVL (Total Value Locked) figure representing the capital deposited in that protocol.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {}
 },
 "output": {
  "type": "object",
  "example": {
   "tokens": [
    {
     "tvl": 5000000000,
     "name": "USD Coin",
     "price": 1,
     "symbol": "USDC"
    },
    {
     "tvl": 3500000000,
     "name": "Ethereum",
     "price": 2500,
     "symbol": "ETH"
    },
    {
     "tvl": 2000000000,
     "name": "Wrapped Bitcoin",
     "price": 45000,
     "symbol": "WBTC"
    }
   ]
  }
 }
}
```

## 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": {
      "tokens": {
       "type": "array",
       "items": {
        "properties": {
         "tvl": {
          "type": "number"
         },
         "name": {
          "type": "string"
         },
         "price": {
          "type": "number"
         },
         "symbol": {
          "type": "string"
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-web3identity-com-c7659795/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)
