Developer SDK & APIs
Integrate Finara lending into your application with our comprehensive SDK and RESTful APIs
Choose Your Integration Method
JavaScript / TypeScript SDK
Full-featured SDK for Node.js and browser environments
Coming SoonREST & Webhook APIs
RESTful APIs with real-time webhook notifications
In DevelopmentOpen Source Examples
Sample code and integration examples on GitHub
AvailableInstallation
NPM
npm install @finara/sdkYarn
yarn add @finara/sdkPNPM
pnpm add @finara/sdkQuick Start
Initialize SDK
TypeScriptimport { FinaraSDK } from '@finara/sdk'
const finara = new FinaraSDK({
apiKey: process.env.FINARA_API_KEY,
network: 'devnet', // or 'mainnet-beta'
endpoint: 'https://api.finara.io'
})Get Credit Score
TypeScript// Get borrower credit score
const creditScore = await finara.getCreditScore({
walletAddress: '7xKq...abc123'
})
console.log(creditScore)
// {
// score: 720,
// tier: 'A',
// maxLoanAmount: 50000,
// recommendedAPR: 8.5
// }Request Loan
TypeScript// Request a non-collateralized loan
const loan = await finara.requestLoan({
amount: 10000, // USDC
collateralRatio: 0.5, // 50% under-collateralized
duration: 180, // days
purpose: 'business_expansion'
})
console.log(loan)
// {
// id: 'loan_abc123',
// status: 'pending_approval',
// amount: 10000,
// apr: 9.2,
// dueDate: '2026-06-15'
// }Check Loan Status
TypeScript// Monitor loan status
const status = await finara.getLoanStatus('loan_abc123')
console.log(status)
// {
// id: 'loan_abc123',
// status: 'active',
// amountBorrowed: 10000,
// amountPaid: 2500,
// remainingBalance: 7500,
// nextPaymentDue: '2026-02-15',
// nextPaymentAmount: 555.55
// }SDK Features
Type-Safe
Full TypeScript support with comprehensive type definitions
Framework Agnostic
Works with React, Vue, Angular, and vanilla JavaScript
Well Documented
Comprehensive documentation with examples and guides
Lightweight
Small bundle size with tree-shaking support
Open Source
MIT licensed and available on GitHub
Developer Friendly
Intuitive API design with excellent DX
SDK Development Status
The Finara SDK is currently under active development by our engineering team. We are working hard to deliver a production-ready SDK with comprehensive features, excellent documentation, and robust testing.
Follow our GitHub repository for the latest updates, release notifications, and early access to beta versions. We welcome community feedback and contributions.
