How to read a DefiLlama protocol page
What a DefiLlama protocol page is built from, which toggles change its totals, and where the methodology and audit information comes from, based on DefiLlama's documentation and API.
A DefiLlama protocol page gathers a protocol’s numbers, its description and its links in one place. This guide explains what those parts are built from, so you can tell what a number on the page means before you use it. It describes structure only and quotes no live values.
What this guide is based on
Three things: DefiLlama’s own documentation, the public API response that carries a protocol’s data, and the Aave protocol page, which we opened in a browser on 30 November 2026. Where we name a section, it is a label we saw on that page. Where we name a field, it is a field we saw in the API response. Other protocols show different sections, and the page changes over time, so open one yourself alongside this guide.
The parts of the page
On the page we opened, from top to bottom:
- Tabs across the top, including Information, TVL, Yields, and Fees and Revenue.
- Total Value Locked as the headline number, with a Key Metrics list under it.
- Protocol Information: a one-line description, links to the website, code and X account, a category, and a list of the products grouped under the protocol.
- The chart, with buttons to add metrics and events, switch the unit and the time interval, and download a
.csvor.png. - Methodology: a line for each metric saying what it counts, with a “View code on GitHub” link for each adapter.
- Yields, User Activity, Hacks and Competitors sections.
- A history section stating which definition of TVL the page uses and what it excludes.
The headline metrics
The data definitions page lists the metrics DefiLlama tracks. For a protocol, the main ones are:
- Total value locked. The value of coins held in the protocol’s contracts, excluding borrowed coins, the protocol’s own tokens, vesting tokens and native token staking.
- Fees. What users pay the protocol in total, before anything is paid out to suppliers.
- Revenue. Fees minus supply-side revenue, the part the protocol keeps.
- Volume. For exchanges, the value of swaps, counting one side of each trade.
Which of these a protocol has depends on its type. A lending protocol may show borrows, and an exchange shows volume. Read each definition before comparing two protocols, since a metric with the same name can be computed differently for different kinds of protocol.
Toggles that change the totals
The data definitions page lists optional toggles that add categories back into the totals:
- Staking: the protocol’s own governance tokens staked in its contracts
- Pool2: staked LP tokens where one side is the protocol’s governance token
- Borrowed: value borrowed from a lending protocol
- Vesting: non-circulating or unissued tokens
- Offers: funds approved for spending but not deposited
- Double counting: receipt or LP tokens deposited into another protocol
All of these are off in core TVL. If you copy a figure, note which ones were on. Our guide to what TVL measures explains each exclusion.
Breakdowns by chain and token
The free API documentation describes the protocol endpoint as returning historical TVL with breakdowns by token and chain. The response we opened contains per-chain TVL fields and per-token fields, which is the data a chain or token breakdown would be drawn from. The methodology page says TVL is credited to the chain where users deposited and interacted with the protocol.
Events on the chart
The adapter guide says an adapter can export “hallmarks”, dated events that significantly affected TVL, and that these appear on the protocol’s chart. The data definitions page separately describes events as manually curated notes explaining metric changes, such as hacks. The API response we opened also had fields named hallmarks and hacks.
Methodology
Each protocol’s numbers come from an adapter, a piece of open-source code. The adapter guide says an adapter exports a methodology string that tells DefiLlama users how it calculates TVL. The API response we opened had a methodology field holding that kind of text, and a field pointing at the adapter’s code path. On the page we opened it sits in the Methodology section, one line per metric.
If the methodology text is short, read the adapter itself. The methodology page links the open-source adapter repositories.
Audits and links
The API response we opened had an audits field, an audit_links field listing report URLs, and fields for the project’s website, X account and description. On the page we opened, the website and code links sat under Protocol Information. Treat an audit link as a pointer: open the report at the auditor’s or the project’s own site, since DefiLlama is a secondary source.
Parent and child protocols
Some protocols are grouped. The response we opened for one version of an exchange named a parent protocol and carried its own methodology text, while the response for the parent had no methodology field. If a page shows a protocol family, check whether a figure covers the whole family or one version.
Downloading the data
The FAQ says protocol pages carry a CSV download button, which we saw beside the chart, and that TVL is updated hourly. It also says the website reads from the same API, so a cached page may lag the API slightly.
A short reading routine
- Read the metric’s definition before reading its number.
- Note which toggles are on.
- Read the methodology text, and the adapter if needed.
- Follow audit and website links to the primary source.
- Write down the date you read the page.
The DefiLlama listing summarises how the dashboard works, and the tools category lists other tools we cover.
Questions
- Where does the methodology text on a protocol come from?
- From the protocol's adapter. DefiLlama's adapter guide says each adapter exports a methodology string that explains to users how the adapter calculates TVL.
- How often is a protocol's TVL updated?
- The FAQ says TVL and borrows are updated hourly. Most fees, revenue and volume data is hourly, with some protocols updating daily.
- Can I get the data behind a protocol page?
- Yes. The FAQ says CSV download buttons appear on protocol pages, and the free API's protocol endpoint returns a protocol's historical TVL with breakdowns by token and chain.
Sources
- Aave protocol page, DefiLlama (secondary source, structure only)accessed
- Data definitions, DefiLlama Docsaccessed
- Frequently asked questions, DefiLlama Docsaccessed
- How to write an SDK adapter, DefiLlama Docsaccessed
- DefiLlama and our methodology, DefiLlama Docsaccessed
- Free API endpoints, DefiLlama API Docsaccessed
- Protocol endpoint response for Uniswap V3, DefiLlama APIaccessed