API · /defifees-api

DeFi Fees & Revenue API

healthy 4,324 Subscribers

Live data on the fees users pay to DeFi protocols and the revenue those protocols actually keep — the "which protocols earn money" view, a different layer from Total Value Locked. TVL is what is deposited; fees are what users pay to use a protocol; revenue is the slice the protocol or its token-holders retain. Powered by the public DeFiLlama fees feed, no key, nothing stored. The overview endpoint returns the whole-DeFi fee (or revenue) total for the last 24 hours, 7 days and 30 days plus every protocol ranked by what it earns, with its category and chains. The protocol endpoint returns a single protocol's fee and revenue figures side by side across 24h / 7d / 30d / all-time (e.g. Aave, Uniswap, Lido). The chain endpoint returns the fee or revenue total and top-earning protocols for one blockchain (Ethereum, Solana, Base). Switch any list between gross fees and retained revenue with a single metric parameter. This is the fees-and-revenue cut of DeFi — distinct from the TVL, DEX-volume, exchange-ticker and coin-markets APIs in the catalogue.

api.oanor.com/defifees-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/defifees-api/openapi.json
/api/defifees-api/llms.txt

Discovery: GET /api/index.json lists every API.

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
248 ms
Server probes · 24h
Subscribers
4,324
active
Total calls
4
last 7 days
status Full status page → · 8 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 15,000 calls / month
  • 3 requests / second
  • Hard cap (429 above quota, no overage)
  • 15k calls/month
  • 3 req/sec
  • All endpoints
  • No credit card
Sign in to subscribe

Analyst

€9.35 /month

  • 190,000 calls / month
  • 10 requests / second
  • Hard cap (429 above quota, no overage)
  • 190k calls/month
  • 10 req/sec
  • Email support
Sign in to subscribe

Pro

€27.20 /month

  • 820,000 calls / month
  • 28 requests / second
  • Hard cap (429 above quota, no overage)
  • 820k calls/month
  • 28 req/sec
  • Priority support
Sign in to subscribe

Scale

€61.40 /month

  • 2,900,000 calls / month
  • 65 requests / second
  • Hard cap (429 above quota, no overage)
  • 2.9M calls/month
  • 65 req/sec
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

Token Approval Security API

Live audit of the token approvals (allowances) a crypto wallet has granted, and the risk of the contracts it has approved to spend its tokens — powered by the public GoPlus Security data, no key, nothing stored. Token approvals are the single most common way wallets get drained: once you approve a contract to move a token, a malicious or compromised spender can take it whenever it likes. This is the allowance-hygiene layer — the data behind tools like revoke.cash. The approvals endpoint lists every token a wallet has approved, who it approved (the spender contract), how much was approved and when, and whether that spender is flagged as malicious, trusted or unverified, together with a risk summary counting the dangerous approvals to revoke. The contract endpoint profiles a single spender contract before you approve it — its name, whether it is open-source, its creator, deploy time and risk tags. The chains endpoint lists the 40-plus supported blockchains. Catch wallet-draining allowances before they cost a user everything. This is the approval / allowance-risk cut — distinct from the token-contract-security, scam-detection and on-chain APIs in the catalogue.

api.oanor.com/approvalsecurity-api

Options DEX API

Live on-chain crypto options trading volume — the decentralized options market where protocols like Derive, Aevo, Premia, Ithaca and Rysk let users trade calls and puts on-chain, powered by the public DeFiLlama options feed, no key, nothing stored. This is distinct from a centralized options exchange order book: it measures the volume actually flowing through on-chain options venues. The overview endpoint returns the whole on-chain options market's volume over the last 24 hours, 7 days and 30 days plus every protocol ranked by what it trades, measured as notional (contract face value, the default) or premium (what option buyers actually paid). The protocol endpoint returns a single protocol's notional and premium volume side by side across 24h / 7d / 30d / all-time. The chain endpoint returns the options volume and top venues for one blockchain. See which on-chain options venue leads and how DeFi options flow shifts. This is the on-chain options-volume cut of DeFi — distinct from the centralized options-chain, spot-DEX, swap-aggregator, fees and perpetual APIs in the catalogue.

api.oanor.com/optionsdex-api

Token Security API

Live smart-contract risk and safety analysis for crypto tokens and wallet addresses — the on-chain due-diligence check to run before you buy a token or interact with an address, powered by the public GoPlus Security data, no key, nothing stored. The token endpoint scans an ERC-20-style contract on any supported chain and returns whether it is a honeypot, its buy and sell tax, whether it is mintable or has a hidden or privileged owner who can pause trading or take back ownership, whether it is open-source or a proxy, and its holder and LP-holder counts. The address endpoint screens a wallet address against twenty risk signals — cybercrime, money laundering, phishing, sanctions, stealing attacks, honeypot-related addresses and more — and reports exactly which, if any, are flagged. The chains endpoint lists the 40+ supported blockchains. Catch scam tokens, honeypots and tainted addresses before they cost you. This is the real-time contract-security and risk-screening cut of crypto — distinct from the historical exploit database, the price and the on-chain APIs in the catalogue.

api.oanor.com/tokensecurity-api

DEX Aggregators API

Live trading volume routed through DeFi DEX aggregators — Jupiter, 1inch, CowSwap, Paraswap, OKX Swap, KyberSwap and more — powered by the public DeFiLlama aggregators feed, no key, nothing stored. Aggregators don't hold liquidity themselves: they split each trade across many underlying decentralized exchanges to get the best price, so their volume is the single best measure of where real swap flow actually routes. The overview endpoint returns total aggregator volume over the last 24 hours, 7 days and 30 days plus every aggregator ranked by what it routes, with its category and the chains it covers. The aggregator endpoint returns a single aggregator's volume across 24h / 7d / 30d / all-time. The chain endpoint returns aggregator volume and the top routers for one blockchain (Solana, Ethereum, Base). See which router dominates each chain and how swap flow shifts. This is the swap-routing / aggregator-volume cut of DeFi — distinct from the spot-DEX-volume, fees-and-revenue, TVL and exchange-ticker APIs in the catalogue.

api.oanor.com/dexaggregators-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for DeFi Fees & Revenue API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call DeFi Fees & Revenue API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for DeFi Fees & Revenue API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does DeFi Fees & Revenue API cost?
DeFi Fees & Revenue API has a free tier with 100 calls / month. Paid plans start at €9.35 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is DeFi Fees & Revenue API GDPR-compliant?
All requests to DeFi Fees & Revenue API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

Pick an endpoint from the list on the left to see its details and try it.

Code snippets

Sign up to get an API key, then call any path under your slug.

curl https://api.oanor.com/defifees-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/defifees-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/defifees-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
    "https://api.oanor.com/defifees-api/SOME_PATH",
    headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())

Ratings

Sign in to rate.

No reviews yet.

Discussion

Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.

Sign in to start a thread or reply.

Sign in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 This thread is locked — no new replies.

  • No threads yet — start the discussion.

Support

Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.

Sign in to open a support ticket.

Sign in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.