1️⃣Install LI.FI SDK

Integrate our SDK to your dApp/Wallet/swap UI

This package allows access to LI.FI API, which finds the best cross-chain routes on different bridges and exchanges. The routes can then be executed via the SDK.

Our API is free to use but rate-limited. If you need more requests per second, please ask for an API key.


We recommend installing the SDK via npm or yarn.

npm install --save @lifi/sdk


yarn add @lifi/sdk

As an integrator, you can monetize your LI.FI SDK integration and collect fees. See our monetization guide for more information.

Contact our business partnerships team to discover how you can partner with us and integrate LI.FI into your platform.

The LI.FI SDK currently provides support for Ethers v5. We will soon be supporting Ethers v6 with upcoming updates.

Next steps

Last updated