GET /price

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/polymarket/priceCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Get the best price for one outcome token and side.

Parameters

nameintypedescription
token_idquerystrrequiredCLOB outcome token id (clobTokenIds entry of a market)
example: 36088210133441631881314822267289702467350647371635978758429075305586609425677
sidequerystr
BUY | SELL
requiredOrder-book side for the price lookup
example: BUY

Response

type: object
pagination: none
sample: {
  "price": "str"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/polymarket/price?token_id=36088210133441631881314822267289702467350647371635978758429075305586609425677&side=BUY"