Getting Started with the SDK
The simplest way to start using the vaults.fyi API is with our SDK.
See below for installation instructions and find additional detailed documentation here: SDK Reference
Using npm
npm install @vaultsfyi/sdkUsing Yarn
yarn add @vaultsfyi/sdk
Using pnpm
pnpm add @vaultsfyi/sdk
Using Bun
bun add @vaultsfyi/sdk
Using jspm
jspm install @vaultsfyi/sdkUsing PIP
pip install vaultsfyiUsing Poetry
poetry add vaultsfyiTo start using the SDK you'll need to obtain an API key. The fastest way is to fill this form.
- To take it for a spin, use one of the SDK functions:
example:
getDepositOptionsto get multiple relevant yield opportunities for a specific blockchain address.Find more in SDK Reference
For more detailed example implementation check out our lightning tutorials (<5 mins!)
Last updated

