Skip to main content

Execute LP Redeem

Redeem (withdraw) liquidity from a pool position.

info
  • Must call Get LP Position List to get a valid positionId before redeeming
  • Must display redemption details (amount, expected tokens, fees) to user and obtain explicit confirmation before calling this endpoint
  • 200 response is only an ACK — use Get Order List to check redemption status
  • Redeemed tokens are returned to user's wallet after on-chain confirmation (typically 10–60 seconds)
  • Partial or full redemption supported via dercRatio
  • Rate Limit: 1 req/s (per user), 2000 req/s (global)

HTTP Request

POST/v5/alpha/lp/redeem

Request Parameters

ParameterRequiredTypeComments
positionIdtrueintegerPosition ID (from Get LP Position List)
poolAddresstruestringPool contract address
dercRatiotruestringReduction ratio (0–1). "0.25" = redeem 25%, "0.5" = redeem 50%, "1" = close entire position
receiveTokenCodefalsestringToken code for receiving the redeemed amount

Response Parameters

ParameterTypeComments
orderNostringOrder number for this redemption operation. Use this to track status via Get Order List

Request Example

POST /v5/alpha/lp/redeem HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1704067200000
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json

{
"positionId": 12345,
"poolAddress": "0x1234567890abcdef",
"dercRatio": "0.5"
}

Response Example

{
"retCode": 0,
"retMsg": "OK",
"result": {
"orderNo": "LP_REDEEM_20240101_001"
},
"retExtInfo": {},
"time": 1704067200000
}