Charts
GET /api/events/{eventId}/follow-trades
Returns the bubbles overlay for the event chart. Joins identity.market_trades × identity.follows for the requesting user, groups trades by (date_trunc(interval, filled_at), venue, marketId, side, outcome) and ranks the top-N traders per bucket by size. Bubble timestamps snap to the same candle x-coordinate as /history so frontends can render the overlay without coordination. Polymarket markets work end-to-end; Kalshi/DFlow trades are anonymous in the public data feed (see backend caveat in modules/kalshiIngest.ts) so Kalshi bubbles will be empty until a Helius webhook is wired.
Authorization
privy AuthorizationBearer <token>
Privy access token. For live POST /execute, use the wallet-auth JWT instead.
In: header
Path Parameters
eventId*string
Query Parameters
interval?string
Default
"1h"Value in
"1m" | "5m" | "1h" | "1d" | "1w"from?integer
to?integer
topN?integer
Default
5Range
1 <= value <= 20Response Body
curl -X GET "https://api.pear.trade/api/events/string/follow-trades"Empty
Empty
Empty