Request
Bearer token. Example: Bearer YOUR_API_KEY
Query Parameters
The Polymarket market condition ID. Values are accepted with or without the 0x prefix.
The date to summarize, formatted as YYYY-MM-DD.
Time bucket resolution in seconds. Default: 60. Valid range: 1 to 3600.
Response
The Polymarket market condition ID.
The bucket size used to build the summary.
Number of summary points returned.
Array of time buckets with timestamp, best_bid, best_bid_size, best_ask, and best_ask_size. Bid and ask values may be null until that side of the book has been observed.
The legacy alias GET /api/v1/market/orderbook-summary remains available for existing integrations.
Example
Python SDK
CLI
Raw HTTP (cURL)
from poly_storage_sdk import PolyStorageClient
client = PolyStorageClient( api_key = "YOUR_API_KEY" )
summary = client.polymarket.get_orderbook_summary(
condition_id = "0x8213d395e079614d6c4d7f4cbb9be9337ab51648a21cc2a334ae8f1966d164b4" ,
date = "2026-02-13" ,
resolution = 60 ,
)
print (summary[ "data_points" ])
Example response
{
"market_condition_id" : "0x8213d395e079614d6c4d7f4cbb9be9337ab51648a21cc2a334ae8f1966d164b4" ,
"date" : "2026-02-13" ,
"resolution_seconds" : 60 ,
"data_points" : 1440 ,
"data" : [
{
"timestamp" : 1770940800000 ,
"best_bid" : 0.12 ,
"best_bid_size" : 4361.9 ,
"best_ask" : 0.15 ,
"best_ask_size" : 4361.9
}
]
}