Polymarket Volume Split

GET/gateway/v1/prediction-market/polymarket/volume-split/{condition_id}

Volume split by YES/NO outcome sides per interval (hour/day/week), plus total volume and trade count. Use this to see directional volume bias. For aggregate volume without YES/NO breakdown, use `volumes` instead.

Data refresh: ~30 minutes

Query Parameters

condition_idstringrequired

Polymarket condition ID

Example: 0x6fefc0438c7598b23531457c8c60541990d0786bd4bd9dfc3eabc8d95c291092
granularityenum<string>

Time granularity for volume aggregation

Available options:hourdayweek
start_timeinteger

Start time (Unix seconds). 0 means no lower bound. Cache aligns to 5-minute buckets, so two requests within the same bucket return the same cached result.

end_timeinteger

End time (Unix seconds). 0 means current time. Cache aligns to 5-minute buckets, so two requests within the same bucket return the same cached result.

Polymarket Volume Split
const options = {method: 'GET'};

fetch('https://api.asksurf.ai/gateway/v1/prediction-market/polymarket/volume-split/{condition_id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
OK
{
  "$schema": "https://example.com/schemas/V2VolumeChartResponse.json",
  "condition_id": "<string>",
  "data_points": [
    {
      "no_volume": 123,
      "timestamp": 123,
      "total_volume": 123,
      "trades_count": 123,
      "yes_volume": 123
    }
  ],
  "end_time": 123,
  "granularity": "<string>",
  "start_time": 123
}