GET /v2/oi

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

Get priced gross open interest per market.

Parameters

nameintypedescription
conditionquerystroptionalComma-separated condition ids (at most 20 distinct values)
example: 0x91ee95f2c889a81f3b22b642b3946d115aa5a0018320ea93612d7edae4cf5abe

Response

type: object
pagination: none
sample: {
  "data": "array[1]"
}

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/v2/oi?condition=0x91ee95f2c889a81f3b22b642b3946d115aa5a0018320ea93612d7edae4cf5abe"