Skip to main content
1delta logo1delta logo

The ultimate lending API suite.


Why Lending Aggregation Matters

DeFi lending has grown to billions in TVL across dozens of protocols. But this fragmentation creates real problems for users and developers.


The Current State: Fragmented Lending

Today's DeFi lending ecosystem looks like this:

┌─────────────────────────────────────────────────────────────────────────┐
│ USER / APPLICATION │
└─────────────────────────────────────────────────────────────────────────┘
│ │ │ │ │
▼ ▼ ▼ ▼ ▼
┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐
│ Aave V2 │ │ Aave V3 │ │Compound │ │ Morpho │ │ Silo │
│ │ │ │ │ V3 │ │ Blue │ │ V2 │
├─────────┤ ├─────────┤ ├─────────┤ ├─────────┤ ├─────────┤
│Different│ │Different│ │Different│ │Different│ │Different│
│ API │ │ API │ │ API │ │ API │ │ API │
│Different│ │Different│ │Different│ │Different│ │Different│
│ Rates │ │ Rates │ │ Rates │ │ Rates │ │ Rates │
│Different│ │Different│ │Different│ │Different│ │Different│
│ Risks │ │ Risks │ │ Risks │ │ Risks │ │ Risks │
└─────────┘ └─────────┘ └─────────┘ └─────────┘ └─────────┘

Problem: Which one has the best rate? What are the risks?
How do I integrate all of them?

The Confusion Problem

Consider a user wanting to supply USDC for yield. They face:

ProtocolSupply APYRisk Factors
Aave V35.2%Battle-tested, insurance fund
Compound V34.8%Single-collateral model, proven security
Morpho Blue6.1%Higher rates, market-specific risk
Silo V25.5%Isolated markets, newer protocol

Questions the user must answer:

  1. Which APY is actually best after accounting for gas costs?
  2. How do the risk parameters compare?
  3. What's my liquidation threshold on each?
  4. How liquid is each market if I need to exit quickly?
  5. Do I need to monitor multiple positions?

For developers, it's even worse:

  • 5 different APIs to integrate
  • 5 different data formats
  • 5 different transaction formats
  • 5 different risk models to understand
  • Constant maintenance as protocols upgrade

The 1delta Solution: Unified Aggregation

┌─────────────────────────────────────────────────────────────────────────┐
│ USER / APPLICATION │
└─────────────────────────────────────────────────────────────────────────┘


┌─────────────────────────────────────────────────────────────────────────┐
│ 1DELTA API │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ UNIFIED DATA LAYER │ │
│ │ • Normalized & comparable rates & rewards across all protocols │ │
│ │ • Standardized risk metrics (ltv, utilization, ...) │ │
│ │ • Real-time best rate discovery │ │
│ │ • Aggregated position view & dsicovery │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ UNIFIED TRANSACTION LAYER │ │
│ │ • Protocol-agnostic operations │ │
│ │ • Atomic multi-step transactions (e.g. position migrations) │ │
│ │ • Optimal routing │ │
│ │ • Built-in slippage protection │ │
│ │ • Advanced features across all lnders (looping, debt swap, ...)│ │
│ └─────────────────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────────────┘

┌──────────────┬──────────┴──────────┬──────────────┐
▼ ▼ ▼ ▼
┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐
│ Aave │ │Compound │ │ Morpho │ │ Silo │
└─────────┘ └─────────┘ └─────────┘ └─────────┘

Real-World Scenario: Finding the Best USDC Yield

Without 1delta (Manual Approach)

Step 1: Check Aave V3

  • Navigate to app.aave.com → Connect wallet → Find USDC market
  • Note: 5.2% APY, 82.5% LTV | Gas to deposit: ~$15

Step 2: Check Compound V3

  • Navigate to compound.finance → Connect wallet → Find USDC market
  • Note: 4.8% APY, 90% LTV | Gas to deposit: ~$12

Step 3: Check Morpho Blue

  • Navigate to morpho.org → Connect wallet → Find USDC markets (multiple!)
  • Compare rates across markets
  • Note: 5.5-6.5% APY depending on market | Gas to deposit: ~$18

Step 4: Make decision

  • Compare rates → Evaluate risks manually → Execute transaction
The Manual Process
Time30+ minutes
Mental overheadHigh
Missed opportunityBetter rate launched on Silo while you were checking

With 1delta API

// Single API call to find best rate
const bestRate = await onedelta.getBestSupplyRate({
asset: "USDC",
chainId: 1,
minLiquidity: "1000000" // $1M minimum liquidity
});

// Response
{
protocol: "morpho-blue",
marketId: "0x...",
supplyAPY: 0.061,
liquidity: "45000000",
riskScore: "medium",
collateralFactor: 0.80,
recommendation: "Best rate with acceptable risk"
}

// Execute deposit with single transaction
const tx = await onedelta.buildDeposit({
protocol: bestRate.protocol,
marketId: bestRate.marketId,
asset: "USDC",
amount: "10000"
});
Result
Time30 seconds
Mental overheadMinimal
Always optimalYes

Quantified Benefits

For Users

MetricManualWith 1deltaImprovement
Time to find best rate30+ minInstant99%+
Transactions for looping5-10180-90%
Missed yield opportunitiesCommonNone100%
Risk of partial executionYesNoEliminated

For Developers

AspectDirect Integration1delta APIBenefit
Protocols to integrate5+180% less code
APIs to maintain5+180% less maintenance
Data formats5+ different1 unifiedSimplified logic
Transaction builders5+1Faster development
Time to marketMonthsDays10x faster

Risk Aggregation: Comparing Apples to Apples

One of the biggest challenges in DeFi lending is comparing risk across protocols. Each protocol uses different terminology and metrics.

The Problem: Inconsistent Risk Metrics

ProtocolCollateral TermLiquidation TermPenalty Term
AaveLTVLiquidation ThresholdLiquidation Bonus
CompoundCollateral FactorLiquidate BorrowClose Factor
MorphoLLTVLLTVLiquidation Incentive

Same concepts, different names, different calculations.

The Solution: Normalized Risk Metrics

1delta normalizes all risk parameters into a consistent format:

// Query any protocol with consistent response format
const markets = await onedelta.getLendingMarkets({
asset: "WETH",
chainId: 1
});

// All protocols return the same structure
[
{
protocol: "aave-v3",
asset: "WETH",
// Normalized metrics (same format for all protocols)
maxLTV: 0.825, // Maximum loan-to-value
liquidationThreshold: 0.85, // When liquidation can occur
liquidationPenalty: 0.05, // Cost of liquidation
// Calculated metrics
safetyBuffer: 0.025, // liquidationThreshold - maxLTV
riskScore: "low" // Normalized risk assessment
},
{
protocol: "compound-v3",
asset: "WETH",
maxLTV: 0.90,
liquidationThreshold: 0.90,
liquidationPenalty: 0.05,
safetyBuffer: 0.00,
riskScore: "medium"
}
]

Protocol Migration Made Easy

Scenario: User has a 3x leveraged wstETH position on Aave V3 but Compound V3 just launched better rates.

Manual Migration (Without 1delta)

  1. Obtain funds to repay debt (where from?)
  2. Repay debt on Aave
  3. Withdraw collateral from Aave
  4. Deposit collateral to Compound
  5. Borrow from Compound
  6. Return borrowed funds
Manual Migration Cost
Transactions6+
RiskPrice movement between steps could cause issues
Time30+ minutes
ComplexityHigh (need temporary capital)

1delta Migration (Single Transaction)

With our stack, such an operation can be executed in a single transaction without any currency conversions.

┌─────────────────────────────────────────┐
│ Flash Loan (debt amount) │
└─────────────────────────────────────────┘


┌─────────────────────────────────────────┐
│ Repay Aave V3 debt │
└─────────────────────────────────────────┘


┌─────────────────────────────────────────┐
│ Withdraw from Aave V3 │
└─────────────────────────────────────────┘


┌─────────────────────────────────────────┐
│ Deposit to Compound V3 │
└─────────────────────────────────────────┘


┌─────────────────────────────────────────┐
│ Borrow from Compound V3 │
└─────────────────────────────────────────┘


┌─────────────────────────────────────────┐
│ Repay Flash Loan │
└─────────────────────────────────────────┘
1delta Migration Result
Transactions1 (atomic)
RiskNone (atomic execution, no swaps needed)
TimeSingle block
ComplexityHandled by 1delta

Summary: The Aggregation Advantage

┌─────────────────────────────────────────────────────────────────────────┐
│ WITHOUT AGGREGATION │
│ │
│ [User] ──► [Protocol A] ──► [Protocol B] ──► [Protocol C] │
│ │ │ │ │ │
│ │ Different Different Different │
│ │ APIs Formats Risks │
│ │ │ │ │ │
│ └──────────────┴───────────────┴───────────────┘ │
│ │ │
│ CONFUSION + INEFFICIENCY │
└─────────────────────────────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────────────────────────────┐
│ WITH 1DELTA AGGREGATION │
│ │
│ [User] │
│ │ │
│ ▼ │
│ ┌──────────────┐ │
│ │ 1delta │ │
│ │ Aggregator │ │
│ └──────────────┘ │
│ │ │
│ ┌───────────────┼───────────────┐ │
│ ▼ ▼ ▼ │
│ [Protocol A] [Protocol B] [Protocol C] │
│ │
│ CLARITY + EFFICIENCY │
└─────────────────────────────────────────────────────────────────────────┘

Key Benefits:

  1. Single integration point - One API for all protocols
  2. Normalized data - Consistent formats and risk metrics
  3. Optimal rates - Always find the best opportunity
  4. Atomic execution - No partial execution risk
  5. Gas efficiency - Complex operations in single transactions
  6. Future-proof - New protocols added without code changes

Get Started

Ready to simplify your DeFi lending integration?