Back

#defillama

10 APIs with this tag

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

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

Crypto Hacks API

A live database of cryptocurrency and DeFi hacks, exploits and thefts — every major on-chain theft on record, powered by the public DeFiLlama hacks dataset, no key, nothing stored. Each incident carries the victim, the amount stolen in US dollars, the date, the attack technique (flash-loan oracle manipulation, reentrancy, private-key compromise, access-control exploit and more), a higher-level classification, the chain or chains involved, the target type (DeFi protocol, centralized exchange, bridge, wallet, token) and how much, if any, was later returned. The hacks endpoint returns the incident list newest-first, filterable by chain, technique, target type, classification, year and minimum loss. The biggest endpoint ranks the largest exploits of all time by dollars stolen — from the multi-billion-dollar bridge and exchange breaches down. The stats endpoint aggregates the whole dataset: total stolen, incident count, funds returned, and breakdowns by attack technique, chain, target type and year. This is the crypto-security and exploit-history cut — risk and post-mortem data distinct from the price, market, TVL, fees and on-chain APIs in the catalogue.

api.oanor.com/cryptohacks-api

DeFi Fees & Revenue API

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

Chain TVL API

Live DeFi total-value-locked per blockchain as an API, streamed from the DefiLlama chains feed. For every chain DefiLlama tracks: the dollar value of assets locked in its DeFi protocols, its native token symbol, and its share of all DeFi value (dominance), plus 7-day and 30-day change for a chain. Rank the blockchains by how much capital they hold, drill into one chain, read the total DeFi market and its leader, or search. The blockchain-level view of where DeFi capital lives. Live, no key. Distinct from protocol-level TVL, fees, DEX-volume and yield APIs — here the entity is the chain, not the protocol.

api.oanor.com/chaintvl-api

DEX Volume API

Live decentralised-exchange trading volume across the whole crypto ecosystem as an API, streamed from the DefiLlama DEX feed. For thousands of DEX protocols: the trading volume over the last 24 hours, 7 days and 30 days, the day/week/month change, the chains they run on, and each one's share of the total DEX market. Rank the busiest DEXes, drill into a single one, see how trading volume is split across chains, or read the market-wide total. Built for crypto, trading and dashboard apps. Live, no key. Distinct from TVL, fees, yield and stablecoin APIs — this is the on-chain trading-activity surface.

api.oanor.com/dexvolume-api

Crypto Fees API

Live crypto protocol fee and revenue data across the whole ecosystem as an API, streamed from the DefiLlama fees feed. For thousands of protocols and chains: the fees paid by users over the last 24 hours, 7 days and 30 days, the all-time total, and the day/week/month change. Rank the protocols actually earning the most — a fundamental "who makes money" view of crypto — drill into any single protocol, read the market-wide fee total, or search. Built for crypto, fundamental-analysis and dashboard apps. Live, no key. Distinct from TVL, yield, stablecoin-supply and price APIs — this is the fee and revenue surface.

api.oanor.com/cryptofees-api

Stablecoins API

Live stablecoin supply, peg and dominance data across the whole crypto ecosystem as an API, streamed from the DefiLlama stablecoins feed. For every tracked stablecoin: its circulating supply in USD, current price and peg deviation, peg type and mechanism (fiat-backed, crypto-backed or algorithmic), the chains it lives on, and its share of the total stablecoin market. List the biggest stablecoins with their dominance, drill into one for its peg health and per-chain breakdown, see total stablecoin supply per chain, or search. Built for crypto, risk and dashboard apps. Live, no key. Distinct from TVL, price and yield APIs — this is the stablecoin supply and peg surface.

api.oanor.com/stablecoins-api

Crypto Yields API

Live DeFi yield-farming APYs across the whole decentralised-finance ecosystem as an API, streamed from the DefiLlama yields feed. For thousands of liquidity pools across every chain and protocol: the current APY split into base and reward, the pool's TVL, its chain, project and token symbol, whether it is a stablecoin pool and its impermanent-loss risk. Rank the top yields with a sensible TVL floor (so dust-pool noise is filtered out), drill into any single protocol or chain, filter to stablecoin pools, or search. Built for DeFi, yield-aggregator and dashboard apps. Distinct from TVL and price APIs — this is the live yield surface. Note: very high APYs are reward-driven and transient; use a TVL floor, the stablecoin filter, or sort by TVL for durable yields.

api.oanor.com/cryptoyields-api

DeFiLlama API

Decentralized-finance analytics as an API, powered by DeFiLlama — the most-used, independent dashboard for tracking Total Value Locked (TVL) across the DeFi ecosystem. TVL is the dollar value of assets deposited in a protocol, the key measure of a DeFi protocol's size and health. This API wraps DeFiLlama's open data into clean, compact JSON. /v1/protocols ranks DeFi protocols by TVL and lets you filter by blockchain (chain=Ethereum) and by category (category=Lending, Dexes, Liquid Staking, CDP, Yield, Bridge and more) — each protocol with its slug, token symbol, category, the chains it runs on, its TVL in USD and 1-day and 7-day TVL change. /v1/protocol?slug=aave returns a single protocol's profile and its current TVL broken down by blockchain (real chains only, so the headline figure is not inflated by staking or borrowed aggregates). /v1/chains ranks every blockchain by the TVL deployed on it. /v1/stablecoins ranks stablecoins by circulating supply, with each coin's peg type and peg mechanism. All values are in US dollars and reflect the latest snapshot. Ideal for crypto and DeFi dashboards, portfolio and risk tools, market-research and analytics products, and Discord/Telegram bots. This is on-chain/DeFi analytics — distinct from token-price feeds. Use a protocol slug from /v1/protocols for the detail endpoint. Data from DeFiLlama (free and open).

api.oanor.com/defillama-api