Get Market Orderbook
Changed onEndpoint for getting the current order book for a specific market. The order book shows all active bid orders for both yes and no sides of a binary market. It returns yes bids and no bids only (no asks are returned). This is because in binary markets, a bid for yes at price X is equivalent to an ask for no at price (100-X). For example, a yes bid at 7¢ is the same as a no ask at 93¢, with identical contract sizes. Each side shows price levels with their corresponding quantities and order counts, organized from best to worst prices.
Request
- Base URLhttps://external-api.kalshi.com/trade-api/v2
- URLhttps://external-api.kalshi.com/trade-api/v2/markets/{ticker}/orderbook
- Authnone declared
Path parameters
Market ticker
Query parameters
Depth of the orderbook to retrieve (0 or negative means all levels, 1-100 for specific depth)
Response
Orderbook retrieved successfully
Example response
{
"orderbook_fp": {
"yes_dollars": [
[
"0.1500",
"100.00"
]
],
"no_dollars": [
[
"0.1500",
"100.00"
]
]
}
}Changes
- info
the endpoint scheme security
kalshiAccessKey AND kalshiAccessSignature AND kalshiAccessTimestampwas removed from the API
- info
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status
- warning