REST API

Get prediction market portfolio snapshot

GET
/prediction/portfolio

Authorization

bearerAuth
AuthorizationBearer <token>

API key passed as Bearer token in Authorization header

In: header

Response Body

application/json

curl -X GET "https://loading/api/v1/prediction/portfolio"
{
  "success": true,
  "data": {
    "totalValue": 0,
    "usdcBalance": 0,
    "positionsValue": 0,
    "unrealizedPnl": 0,
    "positionCount": 0,
    "markets": 0
  },
  "meta": {
    "timestamp": 0,
    "remaining": 0
  }
}