Ð DefiLlama

DeFi analytics reference

DefiLlama: the open dashboard for decentralized finance data

DefiLlama is a widely used, open-source analytics platform that tracks the total value locked (TVL) and many other metrics across decentralized finance. If you have ever wanted to know how much money sits inside a lending market, which blockchain hosts the largest set of protocols, or how a token is performing relative to its peers, DefiLlama is one of the most trusted places to look. It is free to use, does not require an account, and aims to present numbers without the marketing spin that individual projects often apply to their own dashboards.

DefiLlama analytics dashboard showing total value locked charts across blockchains and protocols
DefiLlama presents DeFi metrics as clean, comparable charts and tables.

This page explains what DefiLlama is, how it collects and calculates its numbers, what tools it offers beyond the headline TVL chart, and how it compares to other data sources. The goal is to help a newcomer understand why DefiLlama has become a reference point for researchers, traders, builders, and journalists, and to help an existing user get more out of the platform.

Key takeaway

DefiLlama is a neutral, community-driven aggregator. It does not sell tokens, it does not rank protocols by how much they pay, and its methodology and adapters are published openly so anyone can inspect how a given figure was produced.

What total value locked means on DefiLlama

Total value locked is the metric DefiLlama is best known for. In simple terms, TVL is the dollar value of all the assets that users have deposited into a given protocol at a moment in time. When someone supplies tokens to a lending pool, adds liquidity to a decentralized exchange, or stakes assets in a yield strategy, those assets add to that protocol's TVL. DefiLlama sums these deposits across protocols and chains to produce the industry-wide numbers you see on its front page.

TVL matters because it is a rough proxy for how much trust and capital a protocol commands. A lending market holding billions of dollars is, all else equal, more established than one holding a few thousand. DefiLlama makes this comparison easy by expressing everything in a common unit, US dollars, and by letting you filter by blockchain, category, or individual project.

It is important to read TVL carefully, and DefiLlama is careful about this too. Because TVL is denominated in dollars, it moves whenever token prices move, even if no user deposits or withdraws anything. A sharp fall in a market can shrink TVL dramatically without any change in user behavior. DefiLlama therefore also offers views that separate price effects from genuine inflows and outflows, so you are not misled by a chart that simply tracks the price of the underlying assets.

DefiLlama also takes care not to double count. Some protocols deposit their assets into other protocols, which could inflate the headline figure if counted twice. The platform applies rules to avoid counting the same dollar in two places, and it clearly labels which figures include or exclude things like double-counted liquid staking and borrowed assets.

How DefiLlama works under the hood

At its core, DefiLlama is a system of adapters. For each protocol it tracks, there is a small piece of open-source code, often contributed by the community or the protocol team itself, that tells DefiLlama exactly which smart contracts to read and how to value the assets held inside them. These adapters run continuously, query the relevant blockchains, and feed the resulting numbers back into the DefiLlama database.

This adapter model is central to why DefiLlama is trusted. Because the code is public, anyone can review how a protocol's TVL is computed, spot mistakes, and submit corrections. If a project disagrees with how DefiLlama measures it, the fix is a transparent pull request rather than a private negotiation. That openness is a deliberate contrast to platforms where methodology is a black box.

DefiLlama reads data directly from blockchains rather than relying on protocols to self-report. This on-chain sourcing means the numbers reflect what is actually held in the contracts, not what a marketing page claims. For pricing the assets, DefiLlama maintains its own pricing infrastructure so it can value long-tail tokens that mainstream price feeds may not cover.

Because DeFi spans many networks, DefiLlama supports a very large number of blockchains. Each chain has its own way of exposing contract data, so the DefiLlama codebase includes chain-specific handling that lets a single adapter work consistently whether the protocol lives on Ethereum, a layer-2 rollup, or a newer network. When you switch chains on the site, you are filtering the same underlying dataset.

The result is refreshed frequently, so the figures on DefiLlama stay close to real time. Historical snapshots are retained as well, which is what powers the long time-series charts that let you study how a protocol or an entire chain grew or contracted over months and years.

Products and tools within DefiLlama

Although TVL is the headline, DefiLlama has grown into a suite of connected tools that cover many corners of the DeFi ecosystem. Understanding the range helps you get far more value from the platform than the front page alone suggests.

Yields

The DefiLlama yields section aggregates lending and liquidity opportunities across protocols, showing the annual percentage yields on offer along with the pool size and the assets involved. It lets you filter and sort so you can compare returns without visiting dozens of individual apps. DefiLlama presents these figures with appropriate caution, distinguishing base yield from reward incentives.

Stablecoins

DefiLlama tracks the circulating supply of stablecoins across chains, along with how each is backed and where it is issued. This dashboard is a quick way to see the relative size of different stablecoins and how their supply shifts over time, which is often an early signal of capital moving in or out of the market.

DEX and fee metrics

Beyond deposits, DefiLlama measures activity. Its dashboards for decentralized exchange volume, protocol fees, and revenue let you compare how much a protocol is actually used and how much value it captures, not just how much sits idle in its contracts. For many analysts this activity data is more revealing than TVL alone.

Bridges, chains, and more

DefiLlama also maintains views for cross-chain bridges, a chain-by-chain overview, treasury tracking, unlock schedules for token emissions, hack and exploit records, and more. Each of these serves a specific research need, and together they make DefiLlama a genuine one-stop reference. There is also LlamaSwap, a DEX aggregator that lets users route trades through the best available on-chain liquidity.

DefiLlama Swap and the wider suite

DefiLlama has extended into a family of products under the same brand, including a meta-DEX aggregator and portfolio tracking. The consistent thread is neutrality: DefiLlama builds tools that surface data and route to the best option rather than favoring any single protocol.

Coverage, neutrality, and data quality

One of the reasons DefiLlama earned its reputation is breadth. It tracks thousands of protocols across a very large number of blockchains, which makes it one of the most comprehensive maps of the DeFi landscape available anywhere. When a new protocol launches, an adapter for it often appears on DefiLlama within days, contributed by the team or a community member.

DefiLlama's neutrality is a deliberate policy. The platform does not accept payment to inflate a protocol's ranking, and it does not run a native token that would give it an incentive to favor certain projects. This independence is precisely why many people treat DefiLlama numbers as a baseline for comparison and why other sites and reports frequently cite it.

No aggregator is perfect, and DefiLlama is honest about the limits of its data. Adapters can contain bugs, protocols can be structured in unusual ways, and dollar-denominated metrics will always be sensitive to volatile prices. What sets DefiLlama apart is that these issues are visible and fixable in the open, rather than hidden. If you spot a discrepancy, you can trace it to the adapter and, if you like, help correct it.

Because DefiLlama is open source, its methodology has been scrutinized extensively by the community. That scrutiny acts as a form of peer review that proprietary dashboards rarely get. Over time this has made DefiLlama a de facto standard for how DeFi metrics are defined and compared.

The DefiLlama API for builders

For developers, DefiLlama offers a public API that exposes much of the same data that powers the website. This lets teams pull TVL, yields, stablecoin supply, prices, and other metrics directly into their own applications, dashboards, or research pipelines. A free tier makes the API accessible for experimentation and smaller projects, while a paid tier serves teams that need higher rate limits and more demanding access.

The DefiLlama pricing infrastructure is particularly valuable to builders because it can value tokens that mainstream feeds ignore, including long-tail assets and liquidity pool positions. Wallets, portfolio trackers, and analytics products commonly rely on DefiLlama data behind the scenes even when users never see the name, which is a testament to how embedded DefiLlama has become in the DeFi tooling stack.

Using the DefiLlama API is straightforward: most endpoints return clean JSON, the documentation is public, and there is no complex onboarding to read the free endpoints. This low friction is consistent with the platform's overall philosophy of making DeFi data as open and usable as possible.

DefiLlama compared to other data sources

DefiLlama is not the only place to find DeFi and crypto data, but its combination of neutrality, breadth, and openness gives it a distinct position. The table below sketches how DefiLlama differs from other common categories of tools people reach for.

Criterion DefiLlama Price-market aggregators Protocol's own dashboard
Primary focus DeFi TVL and on-chain metrics Token prices and market cap A single protocol
Methodology Open source, inspectable Often proprietary Self-defined
Neutrality No pay-for-ranking, no native token Varies; listings can be paid Naturally self-interested
Cost to read Free, no account Mostly free Free
Cross-protocol comparison Strong, standardized Limited for DeFi None

The takeaway is not that DefiLlama replaces every other tool. Price aggregators are still handy for market data, and a protocol's own interface is where you actually transact. But for a neutral, apples-to-apples view of the DeFi ecosystem, DefiLlama is hard to beat, and many analysts use DefiLlama as their starting point before drilling into other sources.

DefiLlama data at a glance

The illustrative figures below show the kinds of comparisons DefiLlama makes easy. They represent typical ways the platform breaks TVL down by category so you can see where capital concentrates in DeFi. Read them as a schematic of DefiLlama's views rather than a live snapshot.

Relative TVL share by DeFi category (illustrative)
  • Lendinghigh
  • Liquid stakinghigh
  • Decentralized exchangesmedium
  • Bridgesmedium
  • Yield aggregatorslower

Source: schematic representation of DefiLlama category views. Not a live figure.

The value of this kind of breakdown is that it turns a chaotic ecosystem into a legible picture. With DefiLlama you can quickly see which categories dominate, how a chain's mix differs from the whole, and how those proportions drift over time. That is the everyday work DefiLlama makes almost effortless.

How to get started with DefiLlama

You do not need an account or any setup to use DefiLlama. The following sequence is how most newcomers build a working understanding of the platform.

  1. 1

    Open the DefiLlama front page and read the overall TVL chart. This is the ecosystem-wide view and the anchor for everything else on DefiLlama.

  2. 2

    Filter by chain or category. Pick a blockchain or a protocol type to narrow the DefiLlama dataset down to what you care about, and watch how the ranking changes.

  3. 3

    Open a single protocol page. Here DefiLlama shows the time series, the chains a protocol spans, and links to its adapter so you can inspect the methodology yourself.

  4. 4

    Explore the specialized dashboards. Move beyond TVL into the DefiLlama yields, stablecoins, fees, and bridges views to answer more specific questions.

  5. 5

    If you build, read the DefiLlama API docs and start with the free endpoints before deciding whether the paid tier fits your needs.

A practical habit

Whenever you read a claim about how big a DeFi protocol is, check it against DefiLlama. Cross-referencing marketing numbers with the neutral DefiLlama figure is one of the fastest sanity checks in the space.

Frequently asked questions about DefiLlama

Is DefiLlama free to use?

Yes. Reading data on DefiLlama is completely free and does not require registration. There is a free API tier as well, plus a paid API plan for teams that need higher limits.

Does DefiLlama have its own token?

DefiLlama's neutrality is one of its defining features, and it does not run a native investment token that would create an incentive to favor certain protocols. Always be cautious of accounts or tokens claiming to be officially affiliated with DefiLlama.

How accurate are DefiLlama's TVL numbers?

DefiLlama reads data directly from blockchains using open-source adapters, which makes its figures reliable and reproducible. Because the code is public, errors can be found and corrected by the community. Remember that all dollar figures shift with token prices.

Can I add my protocol to DefiLlama?

Yes. Because DefiLlama is open source, a project or a community member can write an adapter describing how to compute the protocol's TVL and submit it for review. Once merged, the protocol appears on DefiLlama alongside the rest.

What is the difference between TVL and volume on DefiLlama?

TVL is the value of assets currently sitting inside a protocol, while volume measures activity such as the value of trades over a period. DefiLlama tracks both, and looking at them together gives a fuller picture than either alone.

Does DefiLlama cover more than one blockchain?

Yes, extensively. DefiLlama supports a very large number of blockchains, from Ethereum and its layer-2 networks to many newer chains, and it lets you compare them side by side within the same interface.

Who uses DefiLlama?

A broad mix of people rely on DefiLlama: retail users comparing yields, analysts and journalists citing neutral figures, and developers pulling data through the DefiLlama API into wallets and dashboards.

Why DefiLlama endures

DeFi tools come and go, but DefiLlama has stayed near the center of the ecosystem because it solved a genuine, lasting problem: how to compare protocols and chains on equal footing without trusting anyone's marketing. By reading blockchains directly, publishing its methodology, and refusing pay-for-ranking, DefiLlama built the kind of credibility that compounds over time.

For anyone trying to understand where money moves in decentralized finance, DefiLlama is a sensible first stop and often the last word in a debate about how big something really is. Whether you are casually curious or building a product, learning to read DefiLlama well pays off quickly, and it remains free and open for everyone who wants to look.