You are viewing documentation for Polymarket US πΊπΈ
curl --request GET \
--url https://api.prod.polymarketexchange.com/v1/orderbook/{symbol}{
"symbol": "<string>",
"bids": [
{
"px": "<string>",
"qty": "<string>"
}
],
"offers": [
{
"px": "<string>",
"qty": "<string>"
}
],
"state": "INSTRUMENT_STATE_CLOSED",
"stats": {
"openPx": "<string>",
"closePx": "<string>",
"lowPx": "<string>",
"highPx": "<string>",
"lastTradePx": "<string>",
"indicativeOpenPx": "<string>",
"settlementPx": "<string>",
"sharesTraded": "<string>",
"notionalTraded": "<string>",
"openInterest": "<string>"
},
"transactTime": "2023-11-07T05:31:56Z"
}Returns the current aggregated order book for a symbol
curl --request GET \
--url https://api.prod.polymarketexchange.com/v1/orderbook/{symbol}{
"symbol": "<string>",
"bids": [
{
"px": "<string>",
"qty": "<string>"
}
],
"offers": [
{
"px": "<string>",
"qty": "<string>"
}
],
"state": "INSTRUMENT_STATE_CLOSED",
"stats": {
"openPx": "<string>",
"closePx": "<string>",
"lowPx": "<string>",
"highPx": "<string>",
"lastTradePx": "<string>",
"indicativeOpenPx": "<string>",
"settlementPx": "<string>",
"sharesTraded": "<string>",
"notionalTraded": "<string>",
"openInterest": "<string>"
},
"transactTime": "2023-11-07T05:31:56Z"
}Documentation Index
Fetch the complete documentation index at: https://docs.polymarket.us/llms.txt
Use this file to discover all available pages before exploring further.
Instrument symbol (e.g., "BTC-USD")
Number of price levels to return (default 3, max 10)
A successful response.
Response containing the order book snapshot.
Show child attributes
Show child attributes
InstrumentState represents the state of an instrument.
INSTRUMENT_STATE_CLOSED, INSTRUMENT_STATE_OPEN, INSTRUMENT_STATE_PREOPEN, INSTRUMENT_STATE_SUSPENDED, INSTRUMENT_STATE_EXPIRED, INSTRUMENT_STATE_TERMINATED, INSTRUMENT_STATE_HALTED, INSTRUMENT_STATE_MATCH_AND_CLOSE_AUCTION, INSTRUMENT_STATE_PENDING InstrumentStats contains statistics about an instrument.
Show child attributes