One API.
Every flash loan provider.
Every chain.
FlashRouter abstracts Aave, Balancer, Uniswap and Maker behind a single interface. One contract call, the optimal route across every lender, the best fee selected automatically.
Four providers. Four integrations. One full-time job.
Every flash-loan provider has a different interface, different fees, different chains and different gas profiles. Integrating one is hard. Integrating four is a maintenance burden you carry forever.
// Aave V3 — premium 0.05%, ERC-3156-ish await pool.flashLoanSimple(recv, asset, amt, params, 0); // Balancer V2 — 0% fee, vault callback await vault.flashLoan(recv, tokens, amounts, data); // Uniswap V3 — flash() per-pool, fee tiers await pool.flash(recv, amt0, amt1, data); // Maker DSS-Flash — DAI only, 0% fee await dss.flashLoan(recv, dai, amt, data); // + per-chain addresses, gas tuning, fee math…
import { FlashRouter } from "@flashrouter/sdk"; const fr = new FlashRouter({ chain: "base" }); // Best provider + lowest fee, picked for you. await fr.borrow({ asset: "USDC", amount: 5_000_000, execute: myStrategy, // your callback }); // Same code on Ethereum, Arbitrum, Optimism…
A smart router between your strategy and every lender.
You call FlashRouter once. It quotes every integrated provider, selects the cheapest viable route, executes your logic and settles — all inside a single atomic transaction.
Request
Call borrow() with an asset and amount. No provider plumbing.
Quote & rank
The router quotes every lender on-chain and ranks by fee and available liquidity.
Route
The cheapest viable lender is selected automatically and the loan is opened.
Execute
Your callback runs with borrowed capital — arbitrage, liquidate, swap, refinance.
Settle
Principal and fee repay in the same transaction. Reverts atomically if it can't.
The lenders and chains, behind one interface.
Add a provider or a chain by changing a config string — not by rewriting your integration.
Lender protocols
Supported chains Live at launch
Roadmap Not yet shipping
From raw SDK to fully managed.
Whether you write Solidity by hand, assemble strategies in a browser, or want us to run the bots, FlashRouter meets your team where it is.
FlashRouter SDK
A TypeScript SDK and REST API for developers who want full control. One interface, optimal routing, every chain.
- TypeScript & Solidity bindings
- On-chain quote & route engine
- Simulation and gas estimation
- Self-hosted or hosted RPC
Strategy Builder
Compose flash-loan strategies visually — borrow, swap, liquidate, repay — and deploy them without writing a contract.
- Drag-and-drop strategy graph
- Live simulation before deploy
- Templates for common plays
- One-click multi-chain deploy
Managed Bots
We run production strategies on your behalf. You provide capital or a subscription; we operate, monitor and tune the bots.
- 24/7 monitored execution
- Arbitrage & liquidation desks
- Performance dashboard
- 20% profit share, no lock-up
Capital-efficient strategies, in one transaction.
Arbitrage
Borrow, buy low on one venue, sell high on another, repay — all atomically, with zero starting capital.
Liquidations
Flash-borrow the repay asset, seize undercollateralized positions and capture the bonus without pre-funding.
Collateral swaps
Swap the collateral backing a loan in a single transaction, never unwinding or risking liquidation.
Refinancing
Move debt from a high-rate market to a cheaper one instantly, without finding interim capital.
Self-liquidation
Close your own at-risk position on your terms, avoiding the liquidation penalty entirely.
MEV
Bundle flash liquidity into searcher strategies and submit through your preferred relay.
A working arbitrage strategy, end to end.
Borrow USDC, route a swap across two DEXs, repay the loan and keep the spread — the router picks the cheapest lender automatically.
import { FlashRouter, swap } from "@flashrouter/sdk"; const fr = new FlashRouter({ chain: "arbitrum", signer }); // Borrow 2M USDC. FlashRouter ranks Aave / Balancer / // Uniswap / Maker by fee + liquidity and routes for you. const result = await fr.borrow({ asset: "USDC", amount: 2_000_000, execute: async (ctx) => { // 1. Buy WETH cheap on Uniswap const weth = await swap(ctx, { dex: "uniswap", from: "USDC", to: "WETH", amount: ctx.amount }); // 2. Sell it back richer on Curve return swap(ctx, { dex: "curve", from: "WETH", to: "USDC", amount: weth }); }, }); // Loan + fee repaid atomically. Spread is yours. console.log(result.profit, result.provider, result.feeBps);
Start free. Pay as you route.
A flat 2 bps on flash-loan notional applies across all tiers. SaaS plans add higher rate limits, support and managed services.
For prototypes and solo builders shipping their first strategy.
- Full SDK & REST API access
- All 6 chains, all 4 providers
- 25,000 API calls / month
- Community support
- 2 bps on routed notional
For trading desks and teams running strategies in production.
- Everything in Free
- 5,000,000 API calls / month
- Strategy Builder web app
- Priority routing & dedicated RPC
- Email & Slack support, 99.9% SLA
For funds and protocols at scale, with managed execution.
- Everything in Pro
- Unlimited / metered API
- Managed Bot Platform (20% profit share)
- Custom volume pricing on bps
- KYB onboarding, dedicated engineer
Infrastructure you can put real capital behind.
FlashRouter never touches your funds. Everything that moves value is on-chain and independently verifiable. Pre-mainnet, all contracts are audit-bound: two independent audits required before any production deploy.
Audit-bound deploys
Two independent audits (Spearbit-tier + Trail of Bits-tier) required before any mainnet deploy. Reports publish with SHA-256 hashes that match the firms' own copies. Audit plan.
Non-custodial by design
FlashRouter never holds, escrows or pools user funds. Capital only ever exists inside your own atomic transaction.
Open-source SDK
The SDK and routing logic are open source under a permissive license. Read it, fork it, run your own RPC.
On-chain transparency
Every route, fee and settlement is emitted on-chain. Reconcile our metrics against block explorers at any time.
KYB for enterprise
Managed services and enterprise volume include know-your-business onboarding and contractual SLAs.
No fake-token or flash-USDT scams
FlashRouter is real DeFi infrastructure. We do not support, enable or tolerate fake-token minting or "flash USDT" balance-spoofing schemes. Accounts attempting them are terminated.
Borrow billions in one transaction.
Ship your first flash-loan strategy in an afternoon. Free to start, no card required.