Q
quub
DEVELOPER DOCS

Build on Quub
In Minutes, Not Months

Comprehensive documentation, SDKs, and tools to integrate enterprise-grade DeFi infrastructure into your applications. Start building with Quub's powerful APIs today.

99.99%
API Uptime
<100ms
Avg Response
50+
Blockchains
24/7
Support

Get Started

Follow these steps to integrate Quub into your application

1

Sign Up

Create your developer account and get instant access to API keys and sandbox environment.

curl -X POST https://api.quub.fi/v1/auth/signup
2

Install SDK

Install our SDK for your preferred language and framework.

npm install @quub/sdk
# or
pip install quub-sdk
3

Start Building

Make your first API call and start integrating DeFi features.

const quub = new Quub(apiKey);
await quub.portfolio.get();

API Categories

Comprehensive APIs for every DeFi use case

Custody & Wallets

Create and manage institutional-grade wallets with multi-signature support.

POST/v1/walletsCreate wallet
GET/v1/wallets/:idGet wallet
GET/v1/wallets/:id/balanceCheck balance

Transactions

Send, receive, and track transactions across 50+ blockchains.

POST/v1/transactionsSend transaction
GET/v1/transactions/:idGet status
GET/v1/transactionsList transactions

Portfolio & Analytics

Real-time portfolio tracking, valuations, and performance analytics.

GET/v1/portfolioGet portfolio
GET/v1/portfolio/performancePerformance
GET/v1/portfolio/allocationAsset allocation

DeFi Operations

Access liquidity pools, yield farming, staking, and lending protocols.

POST/v1/defi/stakeStake tokens
POST/v1/defi/lendLend assets
GET/v1/defi/yieldsGet yields

Quick Example

Create a wallet and send a transaction in just a few lines of code

JavaScript
// Initialize the Quub SDK
import { Quub } from '@quub/sdk';

const quub = new Quub({
  apiKey: process.env.QUUB_API_KEY,
  environment: 'production'
});

// Create a new wallet
const wallet = await quub.wallets.create({
  name: 'My Corporate Wallet',
  type: 'multi-sig',
  signers: 3,
  threshold: 2
});

// Send a transaction
const transaction = await quub.transactions.send({
  from: wallet.address,
  to: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb',
  amount: '1000',
  currency: 'USDC',
  chain: 'ethereum'
});

console.log(`Transaction sent: ${transaction.id}`);
console.log(`Status: ${transaction.status}`);

Ready to Start Building?

Get your API keys and start integrating enterprise-grade DeFi infrastructure today. Join thousands of developers building on Quub.