Skip to main content
List DeFi protocol fees and revenue

Overview

This endpoint ranks DeFi protocols by the fees users paid, the revenue the protocol kept and the revenue paid to token holders, over 24 hours, 7 and 30 days, a year and all time. Each protocol also carries annualized fees and revenue (the trailing 30 days × 365 / 30), its TVL and its price-to-fees and price-to-sales multiples. A chain filter ranks the fees earned on that chain. Filter by category or search by name, and sort by any amount, or by mcap_to_annualized_revenue, cheapest first.

Example

Authorizations

X-API-KEY
string
header
required

A Darvas data API key: dvk_ and 43 characters.

Query Parameters

chain
string

Blockchain network filter such as Ethereum, Solana, Base, or Arbitrum.

Maximum string length: 40
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
category
string

Protocol category filter such as Lending, Dexs, Liquid Staking, or Bridge.

Maximum string length: 60
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
query
string

Case-insensitive protocol name or slug search.

Maximum string length: 80
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
sort
enum<string>
default:fees_24h_usd

Rank by an amount, largest first, or by mcap_to_annualized_revenue, cheapest first (default fees_24h_usd).

Available options:
fees_24h_usd,
fees_7d_usd,
fees_30d_usd,
fees_1y_usd,
revenue_24h_usd,
revenue_30d_usd,
revenue_1y_usd,
holders_revenue_30d_usd,
annualized_fees_usd,
mcap_to_annualized_revenue
Maximum string length: 32
limit
integer<int32>
default:50

Maximum protocols returned (1 to 500; default 50).

Required range: 1 <= x <= 500

Response

List DeFi protocol fees and revenue: one page.

The answer of GET /defi/fees.

chain
string | null
required

The chain filter as a chain key, or null.

Maximum string length: 40
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
Example:

"ethereum"

totals
object
required

Fees and revenue of every protocol together.

Example:
protocols
object[]
required

Protocols in the requested order.

Maximum array length: 500
total_matched
integer<int32>
required

Protocols matching the filters.

Required range: 0 <= x <= 100000
Example:

3355

message
string

Why the answer has no rows; absent when it has rows.

Maximum string length: 300
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
Example:

"No match"