Skip to main content
POST
Active Position

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: Market (embedding + full-text relevance).

Response

List of Active Position rows

avgBuyPrice
number<double>

Average buying price of open shares

invested
number<double>

Total amount invested in the position

positionId
integer<int32>

Position token identifier

roi
number<double>

Return on investment percentage

shares
number<double>

Currently held shares

tokenId
string<big-integer>

The CLOB token ID representing the position. Links to token lookup table.

unrealizedCurrentPrice
number<double>

Current price of the position

unrealizedPnl
number<double>

Unrealized profit and loss

value
number<double>

Current market value of held shares