Yield API
Last updated
Last updated
The Definitive API lets others build on Definitive’s yield and execution infrastructure. The API streamlines and standardizes multiple DeFi protocols within a single unified strategy interface. Today, with just a few lines of code, wallets, custodians, and aggregators can easily launch a DeFi Earn product for their users with Definitive’s powerful infra as foundational bedrock!
Checkout the API Docs below or view the OpenAI spec at . Reach out to support@definitive.fi if you'd like to integrate and we can set you up with an API key.
Check out the detailed integration guide here.
Query vaults by chain
Query vaults by protocol
Show vault NAV for a user
Only show vaults in org (not community vaults)
OK
Get historical data for a vault monitor
vault ID
monitor type
required if asset pair monitor
start timestamp
end timestamp
max datapoints
pagintation token
OK
Get historical NAV of a vault for an address
vault ID
user address
start timestamp
end timestamp
max datapoints
pagintation token
OK
Request a payload to sign and send to chain
vault ID
user address
do not simulate the transaction
Optional. Slippage tolerance when converting underlying to shares
OK
Request a payload to sign and send to chain
vault ID
user address
Optional. Specify additional withdrawal fee percentage.
Optional. Slippage tolerance when converting underlying to shares
Specify number of shares to withdraw.
Optional. Specify if the request is for one underlying asset.
OK