Skip to main content
Version: 1.0.0

1delta API v1

Unified API for DeFi data and actions.

Data (/v1/data/*)

Cacheable market data, prices, yields, and user positions.

Actions (/v1/actions/*)

Transaction builders organized by category:

  • Lending — deposit, withdraw, borrow, repay, e-mode, enable-collateral, repay-with-atoken
  • Loop — leverage, close, collateral-swap, debt-swap
  • Swap — spot, x-chain (coming soon)
  • Allocate — batch operations

All action endpoints use GET with query parameters (except allocate which uses POST). For loop and swap operations, omit account for a quote-only response, or include it to build full transaction calldata.

Execution Modes (lending only)

  • direct (default): Raw protocol interaction (deposit/withdraw/borrow/repay only)
  • proxy: Routes through 1delta composer contracts