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