cURL
curl --request POST \ --url https://clob.polymarket.com/midpoints \ --header 'Content-Type: application/json' \ --data ' [ { "token_id": "0xabc123def456..." }, { "token_id": "0xdef456abc123..." } ] '
{ "0xabc123def456...": "0.45", "0xdef456abc123...": "0.52" }
Retrieves midpoint prices for multiple token IDs using a request body. The midpoint is calculated as the average of the best bid and best ask prices.
Token ID (asset ID)
"0xabc123def456..."
Order side (optional, not used for midpoint calculation)
BUY
SELL
"BUY"
Successfully retrieved midpoint prices
Map of token ID to midpoint price
Was this page helpful?