Skip to main content
GET
/
gateway
/
v1
/
prediction-market
/
polymarket
/
open-interest
Polymarket Open Interest History
curl --request GET \
  --url https://api.ask.surf/gateway/v1/prediction-market/polymarket/open-interest
{
  "data": [
    {
      "daily_net_change_usd": 123,
      "open_interest_usd": 123,
      "timestamp": 123
    }
  ],
  "meta": {
    "cached": true,
    "credits_used": 123,
    "limit": 123,
    "offset": 123,
    "total": 123
  },
  "$schema": "<string>"
}

Query Parameters

condition_id
string
required

Market condition identifier

Example:

"0x1234567890abcdef"

time_range
enum<string>
default:30d

Predefined time range

Available options:
7d,
30d,
90d,
180d,
1y
Example:

"30d"

Response

OK

data
object[] | null
required
meta
object
required
$schema
string<uri>

A URL to the JSON Schema for this object.

Example:

"https://example.com/schemas/DataResponsePolymarketOIPoint.json"