GET
/
api
/
v1
/
user
curl --request GET \
  --url https://mainnetapiserver.logx.network/api/v1/user \
  --header 'Broker-Id: <broker-id>' \
  --header 'Logx-Key: <logx-key>' \
  --header 'Logx-Secret: <logx-secret>'
{
  "spotBalance": {
    "balances": [
      {
        "productId": 123,
        "tokenBalance": "<string>",
        "withdrawBalance": "<string>"
      }
    ],
    "freeBalance": "<string>",
    "usedBalance": "<string>"
  }
}

Headers

Logx-Key
string
required

API key for authenticating requests to the LogX Network.

Logx-Secret
string
required

API secret for securing requests to the LogX Network.

Broker-Id
string
required

Unique identifier for the broker.

Response

200 - application/json
User data was retrieved successfully.
spotBalance
object

The spot balance details for the user's subaccount.