Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man dex-liquidity-depth

/dex-liquidity-depth(1)

agentutility / edge-market / dex-liquidity-depth
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
edgemarket
CATEGORY
uncategorized
STATUS
live
NAME
dex-liquidity-depth dex liquidity depth / pool tvl aggregator / total liquidity per token / on-chain liquidity audit
SYNOPSIS
POST https://x402.org/v1/dex-liquidity-depth
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

DEX liquidity depth / pool TVL aggregator / total liquidity per token / on-chain liquidity audit. Sums TVL across every DefiLlama-tracked yield pool that holds a given ERC-20 on Ethereum, Base, Polygon, Arbitrum, or Optimism. Returns per-pool TVL + APY plus total liquidity in USD and the deepest pool. Free public DefiLlama backend, no auth.

INPUTrequest schema
propertytypedescriptionreq?
token_addressstring0x-prefixed 20-byte ERC-20 contract address.required
chainstringEVM chain. Default 'base'.
enum: base · ethereum · polygon · arbitrum · optimism
optional
OUTPUTresponse shape
fieldtypedescription
token_addressstringERC-20 contract address queried, lowercased hex.
chainstringChain the token lives on (ethereum, base, polygon, arbitrum, or optimism).
pool_countstringNumber of DefiLlama-tracked yield pools holding this token on the chain.
total_liquidity_usdstringSum of TVL in USD across every matched pool.
poolsstringArray of pools with project, symbol, TVL in USD, and APY for each.
top_poolstringDeepest single pool by TVL, with project name, symbol, and USD depth.
sourcestringUpstream data provider, always defillama for this endpoint.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/dex-liquidity-depth \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# install once
claude mcp add x402 --command "npx x402-deployer-mcp"

# then ask Claude Code:
# "use the dex-liquidity-depth tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
edge-marketdefiliquidity-depthpool-tvltoken-liquiditydex-aggregatordefillama
methods
POST
cluster
edgemarket
price
$0.01 USDC per call
ADJACENTother endpoints in edgemarket
endpointdescriptionprice
contract-sourceVerified contract source code / Etherscan source / contract ABI fetcher / Solidity source lookup.$0.01
contract-source-verifiedVerified contract source code / Etherscan source / Basescan ABI / Solidity source lookup / contract verification check / ABI fetcher / Et…$0.01
eth-logseth_getLogs / on-chain event logs / EVM event reader / Transfer event scan / ERC20 Transfer logs / NFT mint logs / DEX swap events / mult…$0.01
lp-lock-checkLP lock check / liquidity-lock auditor / Unicrypt + Team Finance + burn-address detection.$0.01
nft-floorNFT collection floor + recent sales via Reservoir.$0.01
agent-card-resolveAgent card resolver / ERC-8004 Identity Registry lookup / Trustless Agents / agentId → owner + agentURI / A2A identity / agent.json fetch…$0.005
arbitrage-spreadCross-exchange arbitrage spread / max-min price / CEX price dispersion / spread % calculator.$0.005
basename-resolveBasename resolver / Coinbase Basenames / .base.eth lookup / Base name service / on-chain name resolution.$0.005
SEE ALSO
agentutility(7) · edgemarket(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org