Advanced Orders, Out of the Box
TWAP, DCA, Limit, Stop Loss, Take Profit, and Quick Trade orders — one API call away. Skip the 6-month build.
Limit, Stop Loss, Take Profit, DCA & TWAP orders. Integrate in a few lines of code.
curl https://flash.definitive.fi/v1/quote \ -H "x-definitive-api-key: dpka_513a2bd7_57a2_46d2_927b_2a3857fe271b" \ -H "Content-Type: application/json" \ -d '{ "targetChain": "base", "contraChain": "base", "targetAsset": "0x4200…0006", "contraAsset": "0x8335…2913", "side": "buy", "qty": "50000", "orderType": "twap", "durationSeconds": 14400 }'A few lines of code. That's all it takes to give your users the same trading capabilities as a professional trading desk.
TWAP, DCA, Limit, Stop Loss, Take Profit, and Quick Trade orders — one API call away. Skip the 6-month build.
We land the trade. Flash handles gas, MEV protection, and retry logic on your behalf.
Compatible with any EOA, MPC, multi-sig, and embedded smart wallet apps.
Arbitrum
BNB Chain
Monad
Plasma
HyperEVMFlash is the only API offering Limit, Stop Loss, Take Profit, DCA, and TWAP orders across EVM and Solana — with managed execution.
| Feature | Flash API | 1inch | LI.FI | CoW Protocol |
|---|---|---|---|---|
| Advanced OrdersLimit · TWAP · DCA · Stop · TP | Limit only | Limit only | ||
| Quick Trade / Token Sniping | ||||
| Managed Transaction Landing | Fusion only | |||
| EVM & Solana Support | ||||
| Execution Privacy / Wallet Masking | ||||
| Post-Trade Reporting |
Trusted by top crypto institutions, protocols, and pro traders.
Flash unlocks institutional-grade DeFi trading across aggregated DEX and Market Maker liquidity in a single API.
// 1. Get a quote for a limit orderconst quote = await fetch("https://flash.definitive.fi/v1/quote", { method: "POST", headers: { "x-definitive-api-key": "YOUR_FLASH_API_KEY" }, body: JSON.stringify({ targetChain: "base", contraChain: "base", targetAsset: "0x4200...0006", // WETH contraAsset: "0x8335...2913", // USDC side: "buy", qty: "1000", // 1000 USDC orderType: "limit", limitNotionalPrice: "2500", flashIntegratorFeeBps: "50", // 0.5% integrator fee }),}).then((r) => r.json());// 2. Sign quote.evm.orderTypedData, then submitconst order = await fetch("https://flash.definitive.fi/v1/order", { method: "POST", headers: { "x-definitive-api-key": "YOUR_FLASH_API_KEY" }, body: JSON.stringify({ quoteId: quote.quoteId, evmOrderTypedData: quote.evm.orderTypedData, userSignature: signature, flashIntegratorFeeBps: "50", }),}).then((r) => r.json());

Moby, the smart-money trading app from the team behind AssetDash and Whale Watch, made Flash its exclusive advanced-order provider — and within the first month, 30% of its users had placed an advanced order.
Read case study →
Altcoinist runs every trade on Definitive's API, so execution is solved out of the box — landing long-tail trades for 21K+ users.
Read case study →
EmblemAI, a natural-language AI terminal for builders and traders, moved advanced order execution onto Flash — letting it sunset 10 other APIs and refocus on product.
Read case study →Definitive Finance (www.definitive.fi) is the leading institutional-grade trading terminal & API for DeFi.
Definitive delivers a CeFi-like experience in DeFi, with advanced orders (TWAP, DCA, Limit, Stop, TP) and access to 900+ liquidity sources across EVM and Solana — in one terminal and API. Trusted by top Hedge Funds, projects, DAO Treasuries, and pro-traders, Definitive has executed $3B in notional spot volume with non-custodial, battle-tested infrastructure.
Flash is for any builder, whether agentic or human, that wants to access the most powerful trade execution infrastructure.
If your users trade, and you want to give them more than a basic market order — Flash is for you. Flash is for you if you’re building an app and your users keep asking for limit and stop orders. Or you’re building an AI trading agent that needs the most powerful execution layer available. Or trading is one feature in your app and you don’t want to spend 6+ months building the infra. Flash makes Definitive’s professional-grade infrastructure available to everyone.
The easiest way to integrate Flash is to point your AI coding agent at our LLM-optimized docs. Give it flash.definitive.fi/docs/llms.txt and it has everything it needs to build the integration for you.
The easiest way to test Flash is with our MCP server. Add @definitive-fi/flash-mcp to Claude, ChatGPT, or your favorite coding agent and start placing quotes and orders right away.
Yes — Flash was built with agentic workflows as a first-class use case. The API is stateless and REST-based. Your agent doesn’t need to handle gas, nonces, MEV protection, or retry logic — it submits an intent and Flash handles the rest.
For agents that speak MCP, our @definitive-fi/flash-mcp server exposes quoting, order submission, balances, and order management as tools — drop it into Claude, ChatGPT, or any MCP-compatible agent to give it trading capabilities out of the box.
Flash offers a full suite of advanced order types out-of-the-box, including DCA, Limit, Stop Loss, Take Profit, TWAP and Quick Trade Sniping. See our Docs for more information on order types and how to place orders using Flash.
Flash supports all major chains for trading — including major EVM chains and Solana — through a single unified API. Any ERC-20 or SPL spot token is available on Flash, plus RWAs like tokenized equities or tokenized Pre-IPO exposure. We are always adding new chains and assets, which integrators will automatically inherit as they are added!
Yes. Flash’s smart contracts were audited with no major findings in May 2026. Definitive’s smart contracts have been audited by top-tier security firms multiple times.
Security is at the core of what we do at Definitive, with our team’s institutional pedigree, $3B+ in notional spot volume, and millions of transactions landed as testament.
Fully Non-Custodial: Tokens remain in your wallet until the exact moment a trade executes, even for conditional orders like Limits.
MEV-Protected: Flash’s trade engine protects users from MEV attacks and front-running in a multi-pronged approach.
Pre-execution simulation. Before submitting any transaction onchain, Flash simulates the swap offchain to detect malicious or compromised liquidity pools and to optimize for the best execution.
Offchain Order Intent + Private submission. Trade intent is kept offchain, so they are not visible to MEV bots or other market participants prior to execution. Orders are submitted through private channels, preventing front-running. On Solana, orders are landed with priority fees and MEV-protected inclusion.
Flash’s smart contract audits and more information about security can be found here.
You set your own fee on every trade. See our Monetizing Your Integration page for details. When a trade executes, your fee is deducted from the trade output and sent directly to you in real-time. You control what you charge your users. There is no fee to integrate Definitive Flash.
One integration. Every order type. You set the fees. Unlock the most powerful trading experience for your users.
Tell us what you're building and we'll get back to you within one business day.