Skip to main content
GET
/
2
/
wallet
/
pm
/
pnl
Get wallet prediction market PnL
curl --request GET \
  --url https://demo-api.mobula.io/api/2/wallet/pm/pnl
{
  "data": {
    "totalInvestedUSD": 123,
    "totalRedeemedUSD": 123,
    "realizedPnlUSD": 123,
    "unrealizedPnlUSD": 123,
    "totalPnlUSD": 123,
    "marketsTradedCount": 123,
    "marketsActiveCount": 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

Response

200 - application/json

Wallet PnL stats

data
object
hostname
string
took
number