Build DeFi products faster
- One API, many protocols. 90+ DeFi actions across leading protocols with a single, consistent interface. No Solidity, no custom smart contracts.
- SDKs developers expect. First-class TypeScript and Python SDKs, quickstarts, and copy-paste examples.
- Atomic workflows. The Transaction Bundler composes multi-step flows (collateral → borrow → swap → repay) into one transaction, reducing latency and failure points and +50% lower gas.
Operate in DeFi with confidence
- Non-custodial by design. Compass executes logic; you or your users sign. Works with EOAs, custodians, and smart accounts like Safe and ZeroDev.
- Real-time observability. Simple GET endpoints for prices, positions, health factors, and risk metrics.
- Built for scale. Designed for high-volume apps with versioned endpoints.
DeFi features you can ship this week
- Crypto Earn: “Deposit USDC to best yield.” Route across Aave/Morpho/4626/Pendle; apply a configurable fee. Here is a fully working demo code to copy-paste (source code linked).
- Leverage: “Long ETH 3×” in one atomic tx (collateralize, borrow, swap, supply); add a per-trade fee.
- Auto-Rebalance: Keep a 70/30 ETH/USDC target with one click; charge a rebalancing fee.
- Institutional Monitoring: Track positions, PnL, and health in real time; upsell advanced analytics.
Monetize DeFi features from day one
- Set the fee in your request. Pass a bps or flat fee and a feeRecipient address for each action or bundle.
- Apply to deposits, withdrawals, swaps, rebalances, and open/close positions, or any other action you’d like to monetize on.
- Fees settle atomically in the same transaction, to your address.
- Configure per request; turn on/off by flow, product, or user segment.
Common fee patterns
- Earn: Fee on deposit/withdrawal amounts.
- Trading & leverage: Add fee on open/closing positions.
- Rebalancing: Charge a per-rebalance fee.