Skip to main content
Flash is Definitive’s trading API for AI agents, builders and anyone who needs more than a basic market swap. One integration gives your users Limit, Stop Loss, Take Profit, DCA, Cross-Chain, and TWAP orders, routed across 900+ DEXs, liquidity sources, and professional market makers on all major EVM chains & Solana, with execution managed end-to-end.

$3B+

Notional volume executed

Millions

Transactions landed

900+

Liquidity sources aggregated
Audited by Top Security Firms. Non-custodial by design. Trusted by top projects, funds, DAOs, and pro traders. Built by Coinbase Prime alumni. See audits →

Why Flash

Every order type, one API

Market, Limit, Stop Loss, Take Profit, TWAP, DCA & Cross-Chain from a single endpoint. Skip the 6-month build.

Smart routing

Quotes aggregated across 900+ DEXs and professional market makers. Best route returned in one response.

Managed execution

Flash handles gas, MEV protection, simulation, and retries. You submit an intent. We land the trade.

Non-custodial

Works with any wallet. Fully non-custodial, even for conditional orders.

Built for agents

Stateless REST. Clean JSON. Designed to be consumed by both agents and humans.

You set the fees

Charge any feeBps you choose, paid in real-time on every trade. No integration fee.

Order types

The most advanced order surface of any onchain trading API. Each type is one parameter change away. Most aggregators stop at Market. Flash is the only API that ships advanced order types across EVM and Solana. Quick Trade for token sniping available - reach out for details.

How it works

1

Quote

Call /quote with your trade parameters. Flash returns the best route across 900+ liquidity sources and a signable payload.
2

Sign

The user signs the EIP-712 (EVM) or SPL (Solana) payload offchain.
3

Land

Submit the signed payload to /order, including the same flashIntegratorFeeBps value used for the quote. Flash handles gas, MEV protection, simulation, and onchain landing.

Try it in 30 seconds

The integrator API key dpka_513a2bd7_57a2_46d2_927b_2a3857fe271b is prefilled in every interactive endpoint and safe to use for development. Hit the live /quote playground to send a real request in cURL, Python, or JavaScript with parameters of your choice.

Open the Quote playground

Interactive request builder. Auto-generated from the live OpenAPI spec, prefilled with the dev key. No setup.

Built for AI agents

Flash is stateless, REST-based, and JSON-native. Agents submit an intent. Flash handles gas, nonces, MEV, and retries.

Agentic Trading Quickstart

Two-step flow for agents to quote and place a trade.

llms.txt

LLM-optimized documentation index for RAG and AI consumption.

Be an Early Flash Integrator

We’re always excited to hear what you’re building and help promote it!

What Early Partners Receive

Get started

Become an Integrator

Provision your own API key in under a minute.

Quote endpoint

Request real-time pricing and a signable payload.

Order endpoint

Submit a signed quote for MEV-protected execution.

Supported Chains

EVM & Solana chain and asset coverage.