Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man protocol-tvl

/protocol-tvl

agentutility / edge-market / protocol-tvl
PRICE / CALL
$0.02
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
edgemarket
CATEGORY
uncategorized
STATUS
live
NAME
protocol-tvl looks up a defi protocol's total value locked, resolving slugs such as aave, lido, uniswap, makerdao, or curve-dex into current usd tvl,…
synonym alias of defi-llama-protocol — reuses the canonical handler.
SYNOPSIS
POST https://x402.agentutility.ai/protocol-tvl
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

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

Looks up a DeFi protocol's total value locked, resolving slugs such as aave, lido, uniswap, makerdao, or curve-dex into current USD TVL, chain breakdown, metadata, audit links, and optional historical TVL series. Same DefiLlama-backed handler as defi-llama-protocol. Use it as a protocol TVL API or DeFi TVL lookup.

INPUTrequest schema
propertytypedescriptionreq?
protocolstringDefiLlama slug (lowercase, hyphenated). Examples: 'aave', 'lido', 'uniswap', 'makerdao', 'curve-dex'. See defillama.com/protocols for the canonical slug list.required
include_tvl_seriesbooleanIf true, attach the full historical TVL time-series under tvl_summary.series. Adds significant payload size. Default false.optional
OUTPUTresponse shape
fieldtypedescription
protocol_slugstring
namestring
current_tvl_usdstring
attributionstring
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/protocol-tvl \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the protocol-tvl tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
edge-marketprotocoltvlprotocol-tvl
methods
POST
cluster
edgemarket
price
$0.02 USDC per call
ADJACENTother endpoints in edgemarket
endpointdescriptionprice
defi-llamaDefiLlama API / DeFi TVL protocol lookup.$0.02
defi-llama-apiLooks up DeFi protocol fundamentals from DefiLlama, resolving protocol TVL, category, chains, token symbol, and protocol metadata.$0.02
defi-llama-protocolLooks up any DeFi protocol's TVL and metadata from DefiLlama.$0.02
defi-tvlDeFi TVL API / total value locked by protocol.$0.02
defillamaDefiLlama protocol TVL lookup / DeFi protocol metadata.$0.02
gas-apiEstimates blockchain gas fees with EIP-1559 tiers for Base, Ethereum, Optimism, and Arbitrum.$0.02
gas-feesEstimates EIP-1559 transaction fees on Base, Ethereum, Optimism, and Arbitrum.$0.02
gas-now-baseReal-time gas price oracle for Base, Ethereum, Optimism, Arbitrum, and Polygon.$0.02
SEE ALSO
agentutility · edgemarket · x402 · mcp · llms.txt · registry.json · bazaar.x402.org