Skip to main content

Get RPI OrderBook

Get RPI OrderBook

Description

Query RPI (Retail Price Improvement) order book depth data. This endpoint returns the full depth including both RPI and non-RPI quantities separately for each price level.

  • This endpoint is only available for RPI market makers with the appropriate permissions.

HTTP Request

  • GET /api/v3/market/rpi-orderbook
  • Rate limit: 10/sec/IP
Request
curl "https://api.bitget.com/api/v3/market/rpi-orderbook?category=SPOT&symbol=BTCUSDT&limit=5"  \

Request Parameters

ParameterTypeRequiredComments
categoryStringYesProduct Type
SPOT Spot trading
USDT-FUTURES USDT futures
COIN-FUTURES Coin-M futures
USDC-FUTURES USDC futures
symbolStringYesSymbol name
e.g.,BTCUSDT
limitStringNoLevel
SPOT: Default 5, Maximum 200
USDT-FUTURES,COIN-FUTURES,USDC-FUTURES: Default 5, Maximum 200
Response
{
"code": "00000",
"msg": "success",
"requestTime": 1730969017897,
"data": {
"a": [
[
"3366.8",
"9",
"1"
],
[
"3367",
"0",
"1"
],
[
"3368",
"8",
"2"
]
],
"b": [
[
"3366.1",
"7",
"1"
],
[
"3366",
"6",
"1"
]
],
"ts": "1730969017964"
}
}

Response Parameters

ParameterTypeComments
aArraySell (Ask) depth. Sorted by price in ascending order
> Index 0StringAsk price
> Index 1StringAsk non-RPI quantity
> Index 2StringAsk RPI quantity
bArrayBuy (Bid) depth. Sorted by price in descending order
> Index 0StringBid price
> Index 1StringBid non-RPI quantity
> Index 2StringBid RPI quantity
tsStringThe timestamp that the system generated data
A Unix timestamp in milliseconds

How was your Reading Experience with us?