Skip to main content
POST
All Positions

Authorizations

X-Api-Key
string
header
required

API key issued for programmatic access.

Body

application/json
page
object
required
filter
object[]

Filters to apply, combined with AND. Use a group for OR.

Minimum array length: 1

A single condition, or a group combining conditions with AND/OR.

orderBy
object[]

Sort keys in priority order; the first is the primary sort. Defaults to the table's configured ranking when omitted.

searchKey
string

Free-text search over: Event (embedding + full-text relevance).

Response

List of All Positions rows

avgBuyPrice
number<double>

Average buying price of the shares

eventId
integer<int32>

Parent event

exitPrice
number<double>

Average selling price

invested
number<double>

Total USD amount invested in the position.

marketClosed
boolean

Market Closed

pnl
number<double>

Total profit and loss

positions
Positions · object[]

Per-position breakdown within the event, bought, bought shares, avg buy price, pnl, realized/unrealized pnl and roi, summed across every matching wallet (so a position held by N cohort users collapses to one entry). Serialized as a JSON array of objects.

roi
number<double>

Return on investment percentage

shares
number<double>

Total shares bought

unrealizedPnl
number<double>

Unrealized profit and loss for currently held shares

unrealizedShares
number<double>

Number of currently held shares