Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get user activity feed

GET /api/v1/market-data/activity

Get user activity feed

get

Returns a paginated feed of trading activity events (MINT, REDEEM, FINALISE, CLAIM) for a given wallet, market, or transaction. Optionally filter by market, question, outcome token, activity type, transaction hash, ledger cursor, or time range.

Query parameters
userstringOptional

Wallet address

marketstringOptional

Comma-separated market addresses to filter by

question_idstringOptional

Comma-separated question IDs to filter by

token_idstringOptional

Comma-separated outcome token IDs to filter by (max 50)

typestringOptional

Comma-separated activity type filter: MINT, REDEEM, FINALISE, CLAIM

transaction_hashstringOptional

Transaction hash (0x + 64 hex chars) to filter by

after_idintegerOptional

Only events with ledgerId greater than this cursor

orderstringOptional

Sort field: date (default), amount, pnl

ascendingbooleanOptional

Sort ascending (default false = descending)

startintegerOptional

Start unix timestamp

endintegerOptional

End unix timestamp

limitintegerOptional

Limit (default 100, max 500)

offsetintegerOptional

Offset (default 0, max 10000)

Responses
200

OK

application/json
get/api/v1/market-data/activity
GET /api/v1/market-data/activity HTTP/1.1
Host: rest.ft.42.space/
Accept: */*
{
  "data": [
    {
      "avgPrice": 1,
      "collateral": 1,
      "costBasis": 1,
      "currentQuantity": 1,
      "deltaCollateral": 1,
      "deltaQuantity": 1,
      "eventId": "text",
      "ledgerId": "text",
      "marginalPriceAtTime": 1,
      "marketAddress": "text",
      "marketCapAtTime": 1,
      "mintedQuantityAtTime": 1,
      "outcome": "text",
      "outcomeImage": "text",
      "outcomeIndex": 1,
      "outcomeSymbol": "text",
      "payoutAtTime": 1,
      "price": 1,
      "questionId": "text",
      "questionImage": "text",
      "realizedPnlDelta": 1,
      "size": 1,
      "timestamp": 1,
      "title": "text",
      "tokenId": "text",
      "tradePrice": 1,
      "transactionHash": "text",
      "type": "text",
      "userAddress": "text"
    }
  ],
  "pagination": {
    "hasMore": true,
    "totalResults": 1
  }
}

Last updated