Skip to main content
GET
/
2
/
wallet
/
pm
/
closed
Wallet closed prediction-market positions
curl --request GET \
  --url https://demo-api.mobula.io/api/2/wallet/pm/closed
{
  "data": [
    {
      "conditionId": "<string>",
      "question": "<string>",
      "lastDateMs": 123,
      "investedUSD": 123,
      "proceedsUSD": 123,
      "realizedPnlUSD": 123,
      "redeemed": true,
      "won": true,
      "outcomes": [
        {
          "label": "<string>",
          "boughtShares": 123,
          "exitedShares": 123,
          "investedUSD": 123,
          "proceedsUSD": 123
        }
      ],
      "logo": "<string>",
      "slug": "<string>",
      "realizedPnlPercent": 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
Minimum string length: 1
platforms
string

Response

200 - application/json

Prediction Markets response

data
object[]
required
hostname
string
required
took
number
required