Get started
Use DFlow APIs to start monetizing your order flow
DFlow offers two modes of integration for you to start monetizing your order flow.
Get API key
Unauthenticated API requests are rate limited at 100 requests every 5 minutes per IP address. If calling the API from a server or a set of servers in production, please reach out for an API key with a higher rate limit.
Reach out to us in our shared Telegram or Slack channel. If a shared group does not exist, contact us at [email protected] or @DFlowProtocol.
Integration modes
Fully-managed
Fully-managed service is the quickest way for you to start monetizing your orders. You do not need to set up your own endorsement server or manage order flow auctions. You will use DFlow Swap API (Fully-managed) to request for quotes and send orders to receive USDC.
Self-managed
Self-managed service is DFlow's direct-to-protocol option and you are responsible for handling the process from A to Z. Self-managed service requires two extra steps before you can start monetizing your orders β you must (1) endorse your orders and (2) manage order flow auctions. You will use DFlow Swap API (Self-managed) to request for quotes and send orders to receive USDC.
Order endorsements identify your order flow and lead to higher bids (i.e. you earn more) from market makers.
Fully-managed vs. self-managed
Decide which mode fits you better.
Mode | Integration time | Integration costs | Revenue impact | Payment |
---|---|---|---|---|
Fully-managed | < 30 minutes | $0. No swap or liquidity fees. | 10% of your auction proceeds will be carved out and transferred to DFlow. For example, suppose you deliver orders with a total notional size of $10,000,000 and market makers paid 15,000 USDC for these orders. 13,500 USDC will be transferred to your wallet and 1,500 USDC will be transferred to DFlow. | USDC paid daily to your provided wallet address. |
Self-managed | 6 hours | $0* No swap or liquidity fees. | No effect on revenue. 100% of auction proceeds goes to you. Endorsing orders (step 1 from above) likely yields higher winning auction bids. | USDC paid in real-time to your DFlow Chain address. |
*Each auction costs 0.99 USDC to create. DFlow will cover all auction creation costs.
Checklist items
Depending on your preferred integration mode, see below for checklist items and reading materials.
Mode | Checklist items | Reading materials |
---|---|---|
Fully-managed | 1. Get API key 2. Register wallet address with DFlow (this is where you will receive payments) 3. Swap tokens | Does not require knowledge specific to DFlow. Ready to get started? See detailed steps at Fully-managed. |
Self-managed | 1. Get API key 2. Set up endorsement server 3. Create and manage auctions 4. Swap tokens | Learn more about order flow endorsement and view API interface (/endorsement). Learn more about how auctions work and see auction specs. Ready to get started? See detailed steps at Self-managed. |
Updated 10 days ago