Market Liquidity
Gets the amount of liquidity at each price level.
Rate limits
2400 requests/min or 40 requests/sec per IP address. (weight = 1)
See more details in API Rate limits
Request
Request Parameters
Parameter
Type
Required
Description
product_id
number
Yes
Id of spot / perp product for which to retrieve market liquidity.
depth
number
Yes
Number of price levels to retrieve. (max: 100
)
Response
Note:
Each entry inside bids and asks is an array of price and size respectively. Note: that price is represented using fixed point, so it is
1e18
times greater than the decimal price.timestamp
is in nanoseconds.
Last updated