Skip to main content
POST
Enriched Activities

Body

application/json
page
object
required
activities
enum<string>[]

Restrict to these activity types. All are returned when omitted.

Minimum array length: 1
Available options:
Buy,
Sell
aggregationWindow
enum<string>

Return rows aggregated into time buckets of this grain, grouped by bucket, activity and wallet. Omit for one row per event.

Available options:
1 hour,
6 hours,
12 hours,
1 day,
1 week,
1 month
filter
(Numeric · object | Large number · object | ID · object | Wallet address · object | Time range · object | User Profile Lookup · object | User Tag Profile Lookup · object | Group · object)[]

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

Minimum array length: 1

A single field condition. in/notIn take an array of values; matches/notMatches take one search term.

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 Enriched Activities rows

activity
integer<int32>

Type of prediction market activity

amount
number<double>

Share amount

avgBuyingPrice
number<double>

Average buying price at the time of this activity in USD.

event
Event · object

Resolved Event row.

market
Market · object

Resolved Market row.

realizedPnl
number<double>

Realized profit and loss in USD.

realizedPnlPercentage
number<double>

Realized PnL as a percentage (materialized)

seqId
string<big-integer>

Sequence ID

series
Series · object

Resolved Series row.

tags
Tag · object[]
timestamp
string<date-time>

When the activity occurred

token
Token · object

Resolved Token row.

txHash
string

Blockchain transaction hash

usdAmount
number<double>

USD value of the shares bought/sold in the activity.

usdPrice
number<double>

Share price in USD

user
User · object

Resolved User row.