DeFiLlama

DeFiLlama is the crypto industry’s primary reference for DeFi Total Value Locked (TVL) data. Launched in 2020 and entirely open-source (MIT license), it tracks TVL across over 3,000 DeFi protocols spanning 200+ blockchains. Unlike competitors, DeFiLlama is community-maintained, free to use without API keys, and has no venture capital funding — making it the most trusted neutral data source in DeFi. It has expanded from simple TVL tracking to covering bridges, yields, DEX volumes, stablecoins, liquidations, oracles, and more.


What Is TVL?

Total Value Locked (TVL) is the sum of all assets deposited in a protocol’s smart contracts — whether in lending pools, liquidity pools, staking contracts, or vaults. It is the most commonly cited metric for DeFi “size” and ecosystem health.

DeFiLlama calculates TVL by:

  1. Reading on-chain balances from protocol smart contracts in real time
  2. Pricing assets using DEX price feeds and CoinGecko prices
  3. Aggregating across chains for multi-chain protocols

Limitations of TVL: Double-counts are possible (the same ETH deposited in Aave then borrowed and re-deposited elsewhere counts twice). DeFiLlama addresses some of this with its “de-duped TVL” calculations.


Data Coverage

Category What’s Tracked
TVL Per protocol, per chain, per asset
DEX volumes 24h/7d/30d, fee revenue
Yields APY for 10,000+ yield opportunities across chains
Bridges Cross-chain bridge TVL and volume
Stablecoins Supply, peg status, chain distribution
Liquidations Protocol-level liquidation maps
Raises Funding rounds in crypto (venture tracker)
Hacks Historical DeFi exploit database

API Access

DeFiLlama offers a completely free, no-API-key-required REST API:

  • https://api.llama.fi/protocols — all protocols and TVL
  • https://api.llama.fi/tvl/{protocol} — specific protocol TVL
  • https://coins.llama.fi/prices/current/{chain}:{address} — token prices

This free access has made DeFiLlama data foundational in trader bots, analytics dashboards, research tools, and academic studies.


Key Metrics and Rankings

As of 2024, the largest DeFi protocols by TVL on DeFiLlama:

Protocol TVL (Approx.) Category
Lido ~$30B Liquid staking
AAVE ~$20B Lending
EigenLayer ~$15B Restaking
Maker/Spark ~$10B CDP / lending
Uniswap ~$6B DEX

Team and Funding

DeFiLlama was built and is maintained primarily by an anonymous team (lead contributor known as “0xngmi”). It has:

  • No VC funding
  • No token (multiple community proposals for a token were rejected)
  • Funded entirely through infrastructure grants and donations from protocols whose data it tracks

This independence is considered a core feature — data rankings are not pay-to-play.


Why It Matters

Before DeFiLlama, TVL tracking was fragmented and often self-reported by protocols. DeFiLlama’s neutral, on-chain-verified approach became the industry standard. When a protocol “launches on DeFiLlama,” it signals legitimacy and enables comparison. Major publications (Bloomberg, WSJ, CoinDesk) cite DeFiLlama TVL figures directly.

Related Terms


Sources

  1. DeFiLlama GitHub Repository (2020–present). github.com/DefiLlama.
  1. Cernera, F. et al. (2023). “Token Ecosystem Creation.” In proceedings of ICBC 2023.
  1. DeFiLlama API Documentation (2024). docs.llama.fi.
  1. Messari (2023). “DeFi Data Infrastructure: DeFiLlama’s Edge.” Messari Research.
  1. The Block Research (2024). “DeFi TVL Quarterly Report Q4 2024.”