{"api":{"id":"api_1fb05a3814c522104b3a0fb0","slug":"crypto-protocol-fees","name":"Crypto Protocol Fees and Revenue API","description":"Fees and revenue of every crypto protocol and blockchain DefiLlama tracks, across all chains or per chain: 24-hour, 7-day, 30-day, 1-year and all-time amounts in US dollars, share, rank, changes, category and chains, for fees, revenue, holders revenue and more.","kind":"ready_made","visibility":"public","domain":"api.llama.fi","source_url":"https://api.llama.fi/overview/fees?excludeTotalDataChart=true&excludeTotalDataChartBreakdown=true","category":"finance","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":25,"created_at":"2026-12-06T03:33:09.195Z","updated_at":"2026-12-06T03:33:09.195Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"DefiLlama's id of the protocol; the ids of blockchains' own gas fees start with chain#.","required":true,"coverage":1,"example":"1599"},{"name":"name","type":"string","description":"Name of the protocol or blockchain as DefiLlama lists it, such as Aave V3.","required":true,"coverage":1,"example":"Aave V3"},{"name":"url","type":"url","description":"The protocol's or blockchain's page on DefiLlama.","required":false,"coverage":1,"example":"https://defillama.com/protocol/aave-v3"},{"name":"slug","type":"string","description":"DefiLlama's short name for the protocol, as in its links, such as aave-v3.","required":false,"coverage":1,"example":"aave-v3"},{"name":"category","type":"string","description":"Kind of protocol, such as Lending, Dexs, Derivatives or Chain.","required":false,"coverage":1,"example":"Lending"},{"name":"protocol_type","type":"string","description":"protocol for an app, chain for a blockchain's own gas fees.","required":false,"coverage":1,"example":"protocol"},{"name":"parent_protocol","type":"string","description":"The family the protocol belongs to, such as Aave for Aave V3.","required":false,"coverage":0.6,"example":"Aave"},{"name":"chains","type":"array","description":"Every chain the protocol runs on.","required":false,"coverage":1,"example":["Polygon","Fantom"]},{"name":"chain","type":"string","description":"The chain these amounts are for, or All chains when the run has no chain filter.","required":true,"coverage":1,"example":"All chains"},{"name":"data_type","type":"string","description":"What the amounts count: fees, revenue, holders_revenue, protocol_revenue, supply_side_revenue or user_fees.","required":true,"coverage":1,"example":"fees"},{"name":"rank","type":"integer","description":"Rank by the 24-hour amount among the protocols on that chain, or on all chains (1 = most).","required":false,"coverage":1,"example":1},{"name":"total_24h","type":"number","description":"Amount in the last 24 hours (the latest day the source has counted), in US dollars.","required":false,"coverage":1,"example":20205886},{"name":"total_7d","type":"number","description":"Amount in the last 7 days, in US dollars.","required":false,"coverage":1,"example":46752651},{"name":"total_30d","type":"number","description":"Amount in the last 30 days, in US dollars.","required":false,"coverage":1,"example":78764969},{"name":"total_1y","type":"number","description":"Amount in the last 365 days, in US dollars.","required":false,"coverage":1,"example":610113455},{"name":"total_all_time","type":"number","description":"Amount since the source started counting the protocol, in US dollars.","required":false,"coverage":1,"example":1952335565},{"name":"share_24h_pct","type":"number","description":"Share of the day's total for all protocols on that chain, or on all chains, in percent.","required":false,"coverage":1,"example":17.5},{"name":"change_1d_pct","type":"number","description":"Change of the 24-hour amount against the day before, in percent.","required":false,"coverage":1,"example":39.14},{"name":"change_7d_pct","type":"number","description":"Change of the 24-hour amount against the same day a week earlier, in percent.","required":false,"coverage":1,"example":1868.42},{"name":"change_1m_pct","type":"number","description":"Change of the 24-hour amount against the same day 30 days earlier, in percent.","required":false,"coverage":1,"example":1499.82},{"name":"change_7d_over_7d_pct","type":"number","description":"Change of the last 7 days' amount against the 7 days before, in percent.","required":false,"coverage":1,"example":512.83},{"name":"change_30d_over_30d_pct","type":"number","description":"Change of the last 30 days' amount against the 30 days before, in percent.","required":false,"coverage":1,"example":107.46},{"name":"is_double_counted","type":"boolean","description":"True when this amount is also counted under another protocol; market totals leave it out.","required":false,"coverage":1,"example":false},{"name":"methodology","type":"string","description":"How the source counts this kind of amount for the protocol, when it says.","required":false,"coverage":1,"example":"Include borrow interest, flashloan fee, liquidation fee, penalty paid by borrowers, swap fees from the Aave frontend…"},{"name":"logo","type":"image","description":"The protocol's or blockchain's logo.","required":false,"coverage":1,"example":"https://icons.llamao.fi/icons/protocols/aave-v3"}],"inputs":[{"name":"data_type","type":"string","description":"What to count: fees (all fees users pay), revenue (the protocol's share), holders_revenue (paid to token holders), protocol_revenue (kept by the treasury), supply_side_revenue (paid to liquidity providers and lenders) or user_fees.","default":"fees","example":"fees","enum":["fees","revenue","holders_revenue","protocol_revenue","supply_side_revenue","user_fees"]},{"name":"chains","type":"array","description":"Only amounts earned on these chains, by name as DefiLlama lists them, such as Ethereum, Solana or Base. Each chain returns its own records with that chain's amounts. Leave empty for all chains.","example":["Solana"]},{"name":"protocols","type":"array","description":"Only these protocols, by name as DefiLlama lists them, such as Aave V3 or Tether. A family name such as Uniswap keeps all its versions.","example":["Uniswap"]},{"name":"categories","type":"array","description":"Only these kinds of protocol, such as Lending, Dexs, Derivatives, Stablecoin Issuer or Chain (a blockchain's own gas fees). Leave empty for all.","example":["Lending"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"category":{"description":"Kind of protocol, such as Lending, Dexs, Derivatives or Chain.","type":"string"},"chain":{"description":"The chain these amounts are for, or All chains when the run has no chain filter.","type":"string"},"chains":{"description":"Every chain the protocol runs on.","type":"array"},"change_1d_pct":{"description":"Change of the 24-hour amount against the day before, in percent.","type":"number"},"change_1m_pct":{"description":"Change of the 24-hour amount against the same day 30 days earlier, in percent.","type":"number"},"change_30d_over_30d_pct":{"description":"Change of the last 30 days' amount against the 30 days before, in percent.","type":"number"},"change_7d_over_7d_pct":{"description":"Change of the last 7 days' amount against the 7 days before, in percent.","type":"number"},"change_7d_pct":{"description":"Change of the 24-hour amount against the same day a week earlier, in percent.","type":"number"},"data_type":{"description":"What the amounts count: fees, revenue, holders_revenue, protocol_revenue, supply_side_revenue or user_fees.","type":"string"},"id":{"description":"DefiLlama's id of the protocol; the ids of blockchains' own gas fees start with chain#.","type":"string"},"is_double_counted":{"description":"True when this amount is also counted under another protocol; market totals leave it out.","type":"boolean"},"logo":{"description":"The protocol's or blockchain's logo.","format":"uri","type":"string"},"methodology":{"description":"How the source counts this kind of amount for the protocol, when it says.","type":"string"},"name":{"description":"Name of the protocol or blockchain as DefiLlama lists it, such as Aave V3.","type":"string"},"parent_protocol":{"description":"The family the protocol belongs to, such as Aave for Aave V3.","type":"string"},"protocol_type":{"description":"protocol for an app, chain for a blockchain's own gas fees.","type":"string"},"rank":{"description":"Rank by the 24-hour amount among the protocols on that chain, or on all chains (1 = most).","type":"integer"},"share_24h_pct":{"description":"Share of the day's total for all protocols on that chain, or on all chains, in percent.","type":"number"},"slug":{"description":"DefiLlama's short name for the protocol, as in its links, such as aave-v3.","type":"string"},"total_1y":{"description":"Amount in the last 365 days, in US dollars.","type":"number"},"total_24h":{"description":"Amount in the last 24 hours (the latest day the source has counted), in US dollars.","type":"number"},"total_30d":{"description":"Amount in the last 30 days, in US dollars.","type":"number"},"total_7d":{"description":"Amount in the last 7 days, in US dollars.","type":"number"},"total_all_time":{"description":"Amount since the source started counting the protocol, in US dollars.","type":"number"},"url":{"description":"The protocol's or blockchain's page on DefiLlama.","format":"uri","type":"string"}},"required":["id","name","chain","data_type"],"title":"Crypto Protocol Fees and Revenue API","type":"object"},"samples":[{"id":"1599","name":"Aave V3","url":"https://defillama.com/protocol/aave-v3","slug":"aave-v3","category":"Lending","protocol_type":"protocol","parent_protocol":"Aave","chains":["Polygon","Fantom","Arbitrum","Avalanche"],"chain":"All chains","data_type":"fees","rank":1,"total_24h":20205886,"total_7d":46752651,"total_30d":78764969,"total_1y":610113455,"total_all_time":1952335565,"share_24h_pct":17.5,"change_1d_pct":39.14,"change_7d_pct":1868.42,"change_1m_pct":1499.82,"change_7d_over_7d_pct":512.83,"change_30d_over_30d_pct":107.46,"is_double_counted":false,"methodology":"Include borrow interest, flashloan fee, liquidation fee, penalty paid by borrowers, swap fees from the Aave frontend (Paraswap, then CoW Swap), Chainlink SVR (MEV recapture from Ethereum liquidations; on Base and Arbitrum it is part of the liquidation bonus already counted), and…","logo":"https://icons.llamao.fi/icons/protocols/aave-v3"},{"id":"5009","name":"Tether","url":"https://defillama.com/protocol/tether","slug":"tether","category":"Stablecoin Issuer","protocol_type":"protocol","parent_protocol":null,"chains":["Off Chain"],"chain":"All chains","data_type":"fees","rank":2,"total_24h":17050293,"total_7d":119341747,"total_30d":508457299,"total_1y":5968631185,"total_all_time":20943134067,"share_24h_pct":14.767,"change_1d_pct":-0.29,"change_7d_pct":0.7,"change_1m_pct":1.58,"change_7d_over_7d_pct":0.3,"change_30d_over_30d_pct":-2.01,"is_double_counted":false,"methodology":"Asset yields from USDT backing investments: US Treasury Bills and other fixed-income assets like repos, commercial paper, money market funds and secured loans.","logo":"https://icons.llamao.fi/icons/protocols/tether"},{"id":"4025","name":"Morpho Blue","url":"https://defillama.com/protocol/morpho-blue","slug":"morpho-blue","category":"Lending","protocol_type":"protocol","parent_protocol":"Morpho","chains":["Ethereum","Base","Arbitrum","OP Mainnet"],"chain":"All chains","data_type":"fees","rank":3,"total_24h":10581245,"total_7d":27358441,"total_30d":56576722,"total_1y":243053772,"total_all_time":444456091,"share_24h_pct":9.1642,"change_1d_pct":24.91,"change_7d_pct":1657.14,"change_1m_pct":721.8,"change_7d_over_7d_pct":510.63,"change_30d_over_30d_pct":117.88,"is_double_counted":false,"methodology":"Total borrow interest paid by borrowers + liquidation bonues earned by liquidators.","logo":"https://icons.llamao.fi/icons/protocols/morpho-blue"}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"category":1,"chain":1,"chains":1,"change_1d_pct":1,"change_1m_pct":1,"change_30d_over_30d_pct":1,"change_7d_over_7d_pct":1,"change_7d_pct":1,"data_type":1,"id":1,"is_double_counted":1,"logo":1,"methodology":1,"name":1,"parent_protocol":0.67,"protocol_type":1,"rank":1,"share_24h_pct":1,"slug":1,"total_1y":1,"total_24h":1,"total_30d":1,"total_7d":1,"total_all_time":1,"url":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_1fb05a3814c522104b3a0fb0/run","openapi":"https://pullrow.dev/v1/apis/api_1fb05a3814c522104b3a0fb0/openapi.json","contract":"https://pullrow.dev/v1/apis/api_1fb05a3814c522104b3a0fb0/contract.json","page":"https://pullrow.dev/catalog/crypto-protocol-fees"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Amounts are DefiLlama's own counts, in US dollars, and what counts as fees or revenue differs by protocol; methodology says how for each one when the source explains it.","The 24-hour figure is the latest day the source has counted, and recent days can still be revised. Change figures are empty for about 4 in 10 protocols, and around 4 to 5 in 10 earned nothing in the last day; those rank last.","Blockchains appear too, with their own gas fees (category Chain). is_double_counted marks amounts also counted under another protocol; the market total behind share_24h_pct leaves out those and the blockchains' own fees.","Narrower kinds cover fewer protocols: about 3,400 report fees, 3,000 revenue, 2,900 supply-side revenue, 2,600 protocol revenue, 1,400 holders revenue and 900 user fees.","A chain filter reads one more request per chain, and every total is then that chain's amount only. The source's free tier is rate limited, and the API stops if it is asked to slow down.","Figures come from DefiLlama's free open data; DefiLlama appreciates credit (defillama.com) when you publish them."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"DefiLlama's id of the protocol; the ids of blockchains' own gas fees start with chain#.","group":"Technical","shown":false,"written":false},{"name":"name","label":"Name","description":"Name of the protocol or blockchain as DefiLlama lists it, such as Aave V3.","group":"Basics","shown":true,"written":false},{"name":"url","label":"Link","description":"The protocol's or blockchain's page on DefiLlama.","group":"Links","shown":true,"written":false},{"name":"slug","label":"Slug","description":"DefiLlama's short name for the protocol, as in its links, such as aave-v3.","group":"Basics","shown":true,"written":false},{"name":"category","label":"Category","description":"Kind of protocol, such as Lending, Dexs, Derivatives or Chain.","group":"Basics","shown":true,"written":false},{"name":"protocol_type","label":"Protocol type","description":"protocol for an app, chain for a blockchain's own gas fees.","group":"Basics","shown":true,"written":false},{"name":"parent_protocol","label":"Parent protocol","description":"The family the protocol belongs to, such as Aave for Aave V3.","group":"Basics","shown":true,"written":false},{"name":"chains","label":"Chains","description":"Every chain the protocol runs on.","group":"Basics","shown":true,"written":false},{"name":"chain","label":"Chain","description":"The chain these amounts are for, or All chains when the run has no chain filter.","group":"Basics","shown":true,"written":false},{"name":"data_type","label":"Kind of record","description":"What the amounts count: fees, revenue, holders_revenue, protocol_revenue, supply_side_revenue or user_fees.","group":"Basics","shown":true,"written":false},{"name":"rank","label":"Rank","description":"Rank by the 24-hour amount among the protocols on that chain, or on all chains (1 = most).","group":"Basics","shown":true,"written":false},{"name":"total_24h","label":"Total 24h","description":"Amount in the last 24 hours (the latest day the source has counted), in US dollars.","group":"Basics","shown":true,"written":false},{"name":"total_7d","label":"Total 7d","description":"Amount in the last 7 days, in US dollars.","group":"Basics","shown":true,"written":false},{"name":"total_30d","label":"Total 30d","description":"Amount in the last 30 days, in US dollars.","group":"Basics","shown":true,"written":false},{"name":"total_1y","label":"Total 1y","description":"Amount in the last 365 days, in US dollars.","group":"Basics","shown":true,"written":false},{"name":"total_all_time","label":"Total all time","description":"Amount since the source started counting the protocol, in US dollars.","group":"Dates","shown":true,"written":false},{"name":"share_24h_pct","label":"Share 24h (%)","description":"Share of the day's total for all protocols on that chain, or on all chains, in percent.","group":"Basics","shown":true,"written":false},{"name":"change_1d_pct","label":"Change 1d (%)","description":"Change of the 24-hour amount against the day before, in percent.","group":"Basics","shown":true,"written":false},{"name":"change_7d_pct","label":"Change 7d (%)","description":"Change of the 24-hour amount against the same day a week earlier, in percent.","group":"Basics","shown":true,"written":false},{"name":"change_1m_pct","label":"Change 1m (%)","description":"Change of the 24-hour amount against the same day 30 days earlier, in percent.","group":"Basics","shown":true,"written":false},{"name":"change_7d_over_7d_pct","label":"Change 7d over 7d (%)","description":"Change of the last 7 days' amount against the 7 days before, in percent.","group":"Basics","shown":true,"written":false},{"name":"change_30d_over_30d_pct","label":"Change 30d over 30d (%)","description":"Change of the last 30 days' amount against the 30 days before, in percent.","group":"Basics","shown":true,"written":false},{"name":"is_double_counted","label":"Double counted","description":"Yes when this amount is also counted under another protocol; market totals leave it out.","group":"Basics","shown":true,"written":false},{"name":"methodology","label":"Methodology","description":"How the source counts this kind of amount for the protocol, when it says.","group":"Basics","shown":true,"written":false},{"name":"logo","label":"Logo","description":"The protocol's or blockchain's logo.","group":"Media","shown":true,"written":false}],"inputs":[{"name":"data_type","label":"Data type","help":"What to count: fees (all fees users pay), revenue (the protocol's share), holders_revenue (paid to token holders), protocol_revenue (kept by the treasury), supply_side_revenue (paid to liquidity providers and lenders) or user_fees.","example":"fees","written":false},{"name":"chains","label":"Chains","help":"Only amounts earned on these chains, by name as DefiLlama lists them, such as Ethereum, Solana or Base. Each chain returns its own records with that chain's amounts. Leave empty for all chains.","example":"Solana","written":false},{"name":"protocols","label":"Protocols","help":"Only these protocols, by name as DefiLlama lists them, such as Aave V3 or Tether. A family name such as Uniswap keeps all its versions.","example":"Uniswap","written":false},{"name":"categories","label":"Categories","help":"Only these kinds of protocol, such as Lending, Dexs, Derivatives, Stablecoin Issuer or Chain (a blockchain's own gas fees). Leave empty for all.","example":"Lending","written":false}]}},"incidents":[]}