Moonbase Docs

Get a single account by user id

Information of a single account. Auth credentials must belong to the same user as the account.

Requires authentication.

GET
/accounts/{user_id}
NOVA-KEY<token>

In: header

NOVA-SECRET<token>

In: header

Path Parameters

user_idstring

Response Body

application/json

application/json

curl -X GET "https://api.moonbase.vn/accounts/string"
{
  "account": {
    "id": "string",
    "maker_fee_rate": "string",
    "taker_fee_rate": "string",
    "asset_balances": [
      {
        "asset": "string",
        "balance": "string",
        "free": "string",
        "locked": "string"
      }
    ],
    "stats": {
      "order_stats": {
        "total_orders": "string",
        "total_done_orders": "string",
        "total_open_orders": "string",
        "total_pending_orders": "string",
        "total_accepted_orders": "string"
      },
      "trading_stats": {
        "total_trading_volume": "string"
      }
    }
  }
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string",
      "property1": null,
      "property2": null
    }
  ]
}