Skip to main content
GET
/
2
/
wallet
/
pm
/
positions
Get wallet prediction market positions
curl --request GET \
  --url https://demo-api.mobula.io/api/2/wallet/pm/positions
{
  "data": [
    {
      "platform": "<string>",
      "market": {
        "marketId": "<string>",
        "question": "<string>",
        "category": "<string>",
        "status": "<string>",
        "logo": "<string>",
        "endDate": "<string>"
      },
      "outcomeId": "<string>",
      "label": "<string>",
      "balance": 123,
      "costBasisUSD": 123,
      "avgBuyPriceUSD": 123,
      "avgSellPriceUSD": 123,
      "priceUSD": 123,
      "amountUSD": 123,
      "unrealizedPnlUSD": 123,
      "unrealizedPnlPercent": 123,
      "realizedPnlUSD": 123,
      "totalPnlUSD": 123,
      "totalFeesPaidUSD": 123,
      "buys": 123,
      "sells": 123,
      "volumeBuyUSD": 123,
      "volumeSellUSD": 123,
      "firstDate": "<string>",
      "lastDate": "<string>",
      "labels": [
        "<string>"
      ]
    }
  ],
  "wallet": {
    "fundingInfo": {},
    "entity": "<string>",
    "labels": [
      "<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

status
enum<string>
Available options:
active,
resolved,
all
sortBy
enum<string>
default:amountUSD
Available options:
amountUSD,
totalPnlUSD,
createdAt
limit
number
default:50
Required range: 1 <= x <= 100
offset
number
default:0
Required range: x >= 0

Response

200 - application/json

Wallet positions

data
object[]
wallet
object
pagination
object
hostname
string
took
number