Earn API
Last updated
Last updated
Our Earn API endpoints make it seamless to integrate DeFi experiences into your product by enabling a unified interface across dozens of staking and lending protocols.
At a high level, our Earn API provides the following capabilities:
Generate payloads (Earn API): make protocol integrations a breeze by preparing payloads and calldata for supplying, withdrawing, and reward token claiming interactions. Additionally, our API simulates transactions and helps protect end users against malicious transactions.
Position tracking (Portfolio API): track an address’s positions on DeFi lending and staking protocols, providing key metrics on position current value, historical value, and returns.
The Earn API is entirely non-custodial, preserving users' autonomy and security.
How it works: The Earn API prepares payloads related to smart contract interactions with staking/lending protocols, without holding or controlling user funds.
for a given address, based upon its balances and preferences
Present user with easy to parse list of yield opportunities
Use our endpoints to prepare necessary interactions with each vault. Our API can prepare payloads and calldata, as well as return simulations for each transaction.
Prepare payloads and calldata for supply/deposit function calls to smart contracts.
Prepare payloads and calldata for withdraw/redeem function calls to smart contracts.
Prepare payloads and calldata for claiming rewards accrued by a user for a specified vault.
Enhance your platform's functionality with robust DeFi staking & lending capabilities
Integrate your choice of 200+ DeFi opportunities through our unified API
Simplify DeFi lending and staking experiences for users
Maintain the non-custodial nature of your service
For a simplified overview, view our Flow diagrams. Contact us for API access and to learn more.
, along with total returns estimates and average APYs for positions.
Go to the to see the full power of our APIs. Everything on our app is powered by our APIs.