Skip to main content
GET
/
v1
/
polymarket
/
markets
/
{condition_id}
/
open_interest
Get Market Open Interest Time Series
curl --request GET \
  --url https://api.predexon.com/v1/polymarket/markets/{condition_id}/open_interest \
  --header 'x-api-key: <api-key>'
{
  "condition_id": "<string>",
  "granularity": "day",
  "start_time": 123,
  "end_time": 123,
  "open_interest_over_time": [
    {
      "timestamp": 123,
      "open_interest_usd": 123
    }
  ]
}

Authorizations

x-api-key
string
header
required

API key for authentication. Get yours at https://dashboard.predexon.com

Path Parameters

condition_id
string
required

Condition ID for the market

Query Parameters

granularity
enum<string>
default:day

Time granularity

Available options:
day,
week,
month,
year,
all
start_time
integer | null

Unix timestamp (seconds) for start

end_time
integer | null

Unix timestamp (seconds) for end

Response

Successful Response

Market open interest time series endpoint response.

condition_id
string
required
granularity
enum<string>
required

PnL granularity enum.

Available options:
day,
week,
month,
year,
all
start_time
integer
required
end_time
integer
required
open_interest_over_time
OpenInterestDataPoint · object[]
required