The XRPL CLOB is a fully on-chain order book. Every bid, every ask, every order is public ledger data. Here is how to read it and use it for better trades.
The Central Limit Order Book (CLOB) is the original trading mechanism of the XRPL DEX. It works exactly like a stock exchange order book: buyers place bids at prices they are willing to pay, sellers place asks at prices they are willing to accept, and trades execute when prices cross.
Unlike CEX order books (which are internal databases), the XRPL order book lives entirely on the ledger. Every offer is a ledger object that anyone can inspect. This transparency means no hidden orders, no phantom liquidity, and no order book spoofing.
Bid (Buy Side)
Orders from buyers willing to purchase at a specific price or lower. The highest bid is the best price a seller can get right now.
Ask (Sell Side)
Orders from sellers willing to sell at a specific price or higher. The lowest ask is the best price a buyer can get right now.
Spread
The gap between the best bid and best ask. A tight spread (small gap) indicates healthy liquidity. A wide spread means low liquidity and higher trading costs.
Depth
The total volume of orders at each price level. Deep order books can absorb large trades without significant price impact. Shallow books move dramatically on even small trades.
On each token page on XRPL.to, the order book shows cumulative depth on both sides. Here is what to look for:
Since XLS-30d, the XRPL DEX combines CLOB orders with AMM pool liquidity. When you trade, the protocol automatically checks both venues and routes your order for the best price. This means the effective market depth is deeper than what the order book alone shows.
Check the AMM Pools page to see pool liquidity alongside order book data.
Slippage is the difference between the expected price and the actual execution price. It increases with trade size relative to available depth. On the XRPL:
The XRPL.to API provides real-time order book data for every trading pair. Developers can use this data for:
View live order books and trade on the XRPL DEX.