Skip to main content
Activity is the chronological log of prediction-market trades. Every row is a single fill — one wallet buying or selling one position — already joined to the market, event, category and series it belongs to, so you don’t have to resolve identifiers yourself. The same endpoint also returns a summary view, grouping fills into time buckets when you don’t want the raw log.
Activity table showing buys and sells with trader, prediction, amount, PnL and time, one row expanded to reveal a price chart

The activity feed, rolled up to a one-hour window. Expanding a row charts the market's price around the fill.

Columns

The identifier columns are what make the log enriched: marketId, eventId, tagIds and seriesId come resolved on every row, so you can group or filter by market, event or category without a second lookup.

Two ways to read it

The log

By default the endpoint returns one row per fill, newest first.

The summary

Pass aggregationWindow to roll fills up into time buckets. Rows are grouped by bucket, activity type, wallet and position — one row per wallet’s buying (or selling) of one position within one window.
Grains run from hourly to monthly; the API Reference lists the id for each. Omit the field for the raw log.
Measures are aggregated the way each one means something: amount, usdAmount and realizedPnl are summed, while usdPrice and avgBuyingPrice are share-weighted averages — not plain averages, so a large fill counts more than a small one. marketId, eventId, tagIds and seriesId carry through as representative values for the group.

Selecting activity types

activityIds restricts the log to buys or sells. Activity type isn’t part of filter — it’s selected here.
All types are returned when omitted. See Filtering for how these fields interact with the rest of the request. Filter on wallet, market, event, category, position, timestamp, and the numeric measures — see Filtering for the syntax. searchKey runs a free-text search over markets, combining semantic and keyword relevance, so you can find activity by what a market is about rather than by id.

API endpoint

Activity

POST /api/v1/activity: chronological log of buys and sells, or a bucketed summary.