Trading
Get Orderbook
Retrieve the current orderbook for a market showing all open buy and sell orders
get/markets/{slug}/orderbook
Path parameters
slugstring required
Example:presidential-election-2024
Market slug identifier
Response
Current orderbook with bids and asks
Example response
{
"adjustedMidpoint": 0.75,
"asks": [
{
"price": 0.76,
"size": 100
}
],
"bids": [
{
"price": 0.74,
"size": 150
}
],
"lastTradePrice": 0.75,
"maxSpread": 0.05,
"minSize": 1,
"tokenId": "19633204485790857949828516737993423758628930235371629943999544859324645414627"
}