Get Price
Get a price for a single token.
Public endpoint — no authentication required.
Mirrors Polymarket’s GET /price?token_id=...&side=BUY|SELL.
Query Parameters
Required (handler-validated) — CLOB outcome token ID. Missing OR empty returns 400 {"error": "Invalid token_id"} uniformly (no 422 leak). Same handler-validation pattern as side per Polymarket's CLOB contract.
Required (handler-validated) — BUY returns the best BID, SELL returns the best ASK, matching Polymarket's live CLOB wire ("Returns the best bid price for BUY side or best ask price for SELL side" — PM api-reference, get-market-price). Mirrors Polymarket's strict-side contract: missing OR invalid side returns 400 {"error": "Invalid side"} uniformly (no 422 leak). For midpoint use GET /v1/midpoint; for last-traded price use GET /v1/last-trade-price.