{"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},"version":"1.0","contract_hash":"499d3112d894845b43c05df62a4fc47b3204a81164d8667001326d331d343162","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},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:33:09.195Z","activated_at":"2026-12-06T03:33:09.195Z","active":true,"contract_hash":"499d3112d894845b43c05df62a4fc47b3204a81164d8667001326d331d343162","fields_count":25}]}