AGG is currently in alpha. APIs, components, and docs may change.
Agg.market — Prediction Market Aggregator logo

Get balances

Returns per-chain token balances and per-venue position balances for the authenticated user.

GEThttps://api.agg.market/execution/balances

Returns per-chain token balances and per-venue position balances for the authenticated user.

Loading code example
Loading code example

Authorizations

appIdstringheaderrequired

API key passed in the header.

Query Parameters

mode"live" | "paper"
Allowed values: "live" | "paper"

Response

application/json

200

casharray<object>required
cash.tokenSymbolstringrequired
cash.totalRawstringrequired
cash.availableRawstring
cash.reservedRawstring
cash.decimalsnumberrequired
cash.chainsarray<object>required
positionsarray<object>required
positions.venue"kalshi" | "polymarket" | "limitless" | "opinion" | "predict" | "probable" | "myriad" | "hyperliquid"required
Allowed values: "kalshi" | "polymarket" | "limitless" | "opinion" | "predict" | "probable" | "myriad" | "hyperliquid"
positions.balancenumberrequired
positions.costBasisnumberrequired
positions.unrealizedPnlnumberrequired
positions.realizedPnlnumberrequired
positions.priceSource"orderbook" | "cached" | "entry" | "settled"required
Allowed values: "orderbook" | "cached" | "entry" | "settled"
positions.bookQuality"healthy" | "bid_only" | "ask_only" | "endpoint_stub" | "wide_spread" | "crossed" | "empty"required
Allowed values: "healthy" | "bid_only" | "ask_only" | "endpoint_stub" | "wide_spread" | "crossed" | "empty"
positions.migrationPendingboolean
venueCasharray<object>
venueCash.venue"kalshi" | "polymarket" | "limitless" | "opinion" | "predict" | "probable" | "myriad" | "hyperliquid"required
Allowed values: "kalshi" | "polymarket" | "limitless" | "opinion" | "predict" | "probable" | "myriad" | "hyperliquid"
venueCash.balanceCentsintegerrequired
venueCash.portfolioValueCentsinteger
venueCash.updatedAtstringrequired