Get the orderbook for a specific outcome token on Polymarket.
cURL
curl --request GET \ --url https://api.example.com/v1/predictions/polymarket/orderbook/{tokenId}
GET /book?token_id=<tokenId>
71234
curl -H "X-API-Key: $API_KEY" \ https://api.perps.studio/v1/predictions/polymarket/orderbook/71234
{ "bids": [ { "price": "0.70", "size": "5000" }, { "price": "0.69", "size": "12000" }, { "price": "0.68", "size": "8500" } ], "asks": [ { "price": "0.72", "size": "3000" }, { "price": "0.73", "size": "7500" }, { "price": "0.75", "size": "15000" } ] }
0.70