Polymarket Open Interest

GET/gateway/v1/prediction-market/polymarket/open-interest

Daily open interest time series showing total value locked in a Polymarket market.

Data refresh: ~30 minutes

Query Parameters

condition_idstringrequired

Market condition identifier

Example: 0x6fefc0438c7598b23531457c8c60541990d0786bd4bd9dfc3eabc8d95c291092
time_rangeenum<string>

Window of history to return: `7d`, `30d`, `90d`, `180d`, or `1y`. This endpoint uses `time_range` only — it does NOT accept `interval`.

Available options:7d30d90d180d1y
Example: 30d
Polymarket Open Interest
const options = {method: 'GET'};

fetch('https://api.asksurf.ai/gateway/v1/prediction-market/polymarket/open-interest?condition_id=0x6fefc0438c7598b23531457c8c60541990d0786bd4bd9dfc3eabc8d95c291092&time_range=30d', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
OK
{
  "$schema": "https://example.com/schemas/DataResponsePolymarketOIPoint.json",
  "data": [
    {
      "daily_net_change_usd": 123,
      "open_interest_usd": 123,
      "timestamp": 123
    }
  ],
  "meta": {
    "cached": true,
    "credits_used": 123,
    "empty_reason": "<string>",
    "has_more": true,
    "limit": 123,
    "offset": 123,
    "total": 123,
    "watermark": 123
  }
}