Account

GET /personal

Retrieve balances and other account information. Requires a valid API key sent with the x-api-key header.

Responses

GET /personal
curl \
 -X GET https://api.testnet.everstrike.io/personal \
 -H "x-api-key: $API_KEY"
Response examples (200)
{
  "code": 200,
  "msg": "null",
  "result": {
    "email": "johndoe@gmail.com",
    "actions": {
      "latest_order": 1551128358789,
      "latest_trade": 1551128359583,
      "creation_time": 1550996999633,
      "latest_deposit": 1551120600024,
      "latest_withdrawal": 1551127794037,
      "latest_cancellation": 1550996999633
    },
    "balances": {
      "BTC": {
        "pnl": 0,
        "fees": 0,
        "free": 0,
        "locked": 0,
        "margin": 0,
        "withdrawn": 0
      },
      "ETH": {
        "pnl": 0,
        "fees": 0,
        "free": 0.05007,
        "locked": 0.02225,
        "margin": 0.01,
        "withdrawn": 0
      }
    },
    "permissions": {
      "api_enabled": true,
      "login_enabled": true,
      "deposit_enabled": true,
      "trading_enabled": true,
      "withdraw_enabled": true
    },
    "deposit_addresses": [
      {
        "assets": [
          "ETH",
          "DAI",
          "MKR",
          "ONT",
          "MAN",
          "USDT"
        ],
        "address": 826725522658159800000000000000000000000000000000
      },
      {
        "assets": [
          "BTC"
        ],
        "address": "n4JEw3aZXVFuiT48eDcG9MnGALjLRiAKe8"
      }
    ],
    "trading_allowance": "249996.90043006366",
    "verification_level": "UNVERIFIED",
    "withdrawal_allowance": 249998.6069348601
  }
}
Response examples (503)
{
  "code": 503,
  "msg": "Invalid request",
  "result": {}
}