Skip to main content
GET
/
2
/
wallet
/
pm
/
activity
Get wallet prediction market activity
curl --request GET \
  --url https://demo-api.mobula.io/api/2/wallet/pm/activity
{
  "data": [
    {
      "activityId": "<string>",
      "type": "<string>",
      "platform": "<string>",
      "marketId": "<string>",
      "outcomeId": "<string>",
      "question": "<string>",
      "label": "<string>",
      "sizeToken": 123,
      "priceUSD": 123,
      "amountUSD": 123,
      "txHash": "<string>",
      "txDateMs": 123,
      "txDateIso": "<string>"
    }
  ],
  "pagination": {
    "page": 123,
    "offset": 123,
    "limit": 123,
    "pageEntries": 123
  },
  "hostname": "<string>",
  "took": 123
}
Alpha — This endpoint is part of the Prediction Markets API, currently in early access. May change without notice.

Query Parameters

wallet
string
required
platforms
string

Comma-separated list of platforms

types
string

Comma-separated list of activity types

from

Start time (Unix ms timestamp or ISO 8601 string)

to

End time (Unix ms timestamp or ISO 8601 string)

limit
number
default:50
Required range: 1 <= x <= 100
page
number
default:1
Required range: x >= 1
offset
number
default:0
Required range: x >= 0
order
enum<string>
default:desc
Available options:
asc,
desc
cursorHash
string

Transaction hash to anchor cursor pagination from

cursorDirection
enum<string>
default:before

Cursor direction: before or after

Available options:
before,
after

Response

200 - application/json

Wallet activity

data
object[]
pagination
object
hostname
string
took
number