REST API

Get any wallet portfolio value

GET
/prediction/wallet-value

Authorization

bearerAuth
AuthorizationBearer <token>

API key passed as Bearer token in Authorization header

In: header

Query Parameters

address*string
Match^0x[\dA-Fa-f]{40}$

Response Body

application/json

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