DEX API

Limit order API#

A DEX limit order (limit order) is a business process in which a user specifies a target price to buy or sell tokens on a decentralized exchange (DEX). If the current market price can meet the user's specified target price, the DEX aggregator will automatically execute the order. Through the DEX Limit Order API, users can create and query limit orders and aggregate liquidity into the DEX aggregator, enjoying the best price on OKX DEX.

Key features of the DEX limit order API functionality include:

  • Limit orders are executed upon matching with users on the DEX aggregator.
  • Limit order creators experience no slippage.
  • Partial order execution is supported, allowing orders to be partially filled.
OKX DEX limit order API transaction process
image