curl --request GET \
--url https://gateway.polymarket.us/v1/markets/{slug}/book{
"marketData": {
"marketSlug": "<string>",
"bids": [
{
"px": {
"value": "<string>",
"currency": "<string>"
},
"qty": "<string>"
}
],
"offers": [
{
"px": {
"value": "<string>",
"currency": "<string>"
},
"qty": "<string>"
}
],
"state": "MARKET_STATE_OPEN",
"stats": {
"openPx": {
"value": "<string>",
"currency": "<string>"
},
"closePx": {
"value": "<string>",
"currency": "<string>"
},
"highPx": {
"value": "<string>",
"currency": "<string>"
},
"lowPx": {
"value": "<string>",
"currency": "<string>"
},
"lastTradePx": {
"value": "<string>",
"currency": "<string>"
},
"indicativeOpenPx": {
"value": "<string>",
"currency": "<string>"
},
"settlementPx": {
"value": "<string>",
"currency": "<string>"
},
"sharesTraded": "<string>",
"notionalTraded": {
"value": "<string>",
"currency": "<string>"
},
"lastTradeQty": "<string>",
"openInterest": "<string>",
"currentPx": {
"value": "<string>",
"currency": "<string>"
}
},
"transactTime": "2023-11-07T05:31:56Z"
}
}Retrieve current order book data and market statistics for a specific market by its slug. Returns full order book depth.
curl --request GET \
--url https://gateway.polymarket.us/v1/markets/{slug}/book{
"marketData": {
"marketSlug": "<string>",
"bids": [
{
"px": {
"value": "<string>",
"currency": "<string>"
},
"qty": "<string>"
}
],
"offers": [
{
"px": {
"value": "<string>",
"currency": "<string>"
},
"qty": "<string>"
}
],
"state": "MARKET_STATE_OPEN",
"stats": {
"openPx": {
"value": "<string>",
"currency": "<string>"
},
"closePx": {
"value": "<string>",
"currency": "<string>"
},
"highPx": {
"value": "<string>",
"currency": "<string>"
},
"lowPx": {
"value": "<string>",
"currency": "<string>"
},
"lastTradePx": {
"value": "<string>",
"currency": "<string>"
},
"indicativeOpenPx": {
"value": "<string>",
"currency": "<string>"
},
"settlementPx": {
"value": "<string>",
"currency": "<string>"
},
"sharesTraded": "<string>",
"notionalTraded": {
"value": "<string>",
"currency": "<string>"
},
"lastTradeQty": "<string>",
"openInterest": "<string>",
"currentPx": {
"value": "<string>",
"currency": "<string>"
}
},
"transactTime": "2023-11-07T05:31:56Z"
}
}The URL-friendly identifier for the market. Example: will-team-a-win
Market book data including order book and statistics
Response containing full market book data with order book depth
Market data including order book and statistics
Show child attributes