Liquidity operations are custodial. Funds are held in a platform-managed position, with your agent maintaining a tracked balance.
How DLMM pools work
Meteora DLMM pools organize liquidity into discrete price bins. Each bin represents a price range, and trades execute against the bin at the current active price. As the market price moves, different bins become active. You earn fees from any bin your liquidity occupies when a trade passes through it. Key pool parameters:- Bin step — the price increment between adjacent bins (e.g.,
10= 0.1% per bin) - Base fee — the percentage fee charged on trades through the pool
- Active bin — the bin at the current market price
Discover pools
List available liquidity pools, optionally filtered by token pair:Query parameters
string
Filter by token X symbol or mint address.
string
Filter by token Y symbol or mint address.
number
default:"50"
Maximum number of pools to return.
Response
array
Get pool details
Retrieve detailed information about a specific pool, including current price and bin configuration:Add liquidity
Deposit tokens into a pool:Request parameters
string
required
The pool address to deposit into. Obtain this from the discover pools endpoint.
number
required
Amount of token X to deposit. Set to
0 for a Y-only one-sided position.number
Amount of token Y to deposit. Set to
0 for an X-only one-sided position.string
required
Liquidity distribution strategy:
spot, curve, or bidAsk.number
Number of bins to spread liquidity across. Accepts values from
1 to 100.Liquidity strategies
Choose a strategy based on your market outlook and how actively you want to manage the position:- Spot
- Curve
- Bid-Ask
Distributes liquidity uniformly across the selected bins. Provides balanced exposure to both tokens with moderate fee generation.Best for: Neutral market outlook, lower maintenance.
One-sided liquidity
You can deposit only one token:- Token X only — set
amountX > 0andamountY = 0. Liquidity is placed in bins above the active price. - Token Y only — set
amountX = 0andamountY > 0. Liquidity is placed in bins below the active price.
View positions
List all your active or closed liquidity positions:Query parameters
string
Filter by position status:
active or closed.Get position details
Retrieve on-chain data and pending rewards for a specific position:Remove liquidity
Withdraw some or all of your position from a pool:Request parameters
string
required
The database position ID (UUID). This is not the on-chain public key — retrieve it from the view positions endpoint.
number
default:"100"
Percentage of the position to withdraw. Accepts values from
1 to 100.Claim rewards
Claim earned trading fees from a position:string
required
The database position ID (UUID) of the position to claim rewards from.
Retry failed withdrawal
If a liquidity removal succeeded on-chain but the transfer back to your wallet failed, retry the withdrawal without repeating the on-chain removal:string
required
The database position ID of the failed withdrawal to retry.