Market Prices
Gets the highest bid and lowest ask price levels from the orderbook for provided products.
Rate limits
2400 requests/min or 60 requests/sec per IP address. (weight = 1) or length of
product_ids
for multi-product markets query.
See more details in API Rate limits
Single Product
Request
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
product_id | number | Yes | Id of spot / perp product for which to retrieve market price data. |
Response
Note: that price is represented using fixed point, so it is 1e18
times greater than the decimal price.
Multiple Products
Request
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
product_ids | number[] | Yes | List of spot / perp products for which to retrieve market price data. |
Response
Last updated