BigONE · Schema

Account

CompanyCryptocurrencyExchangeTradingDerivativesWalletsMarket Data

Properties

Name Type Description
cash object
positions array List of Active Positions
View JSON Schema on GitHub

JSON Schema

bigone-account-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bigone/main/json-schema/bigone-account-schema.json",
  "title": "Account",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bigone-contract-openapi.yml#/components/schemas/Account",
  "type": "object",
  "properties": {
    "cash": {
      "$ref": "#/$defs/Cash"
    },
    "positions": {
      "type": "array",
      "description": "List of Active Positions",
      "items": {
        "$ref": "#/$defs/Position"
      }
    }
  },
  "$defs": {
    "Cash": {
      "type": "object",
      "description": "The wallet balance and margin information for a specific currency.",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "The unique wallet identifier."
        },
        "readableId": {
          "type": "integer",
          "format": "int64",
          "description": "A human-readable wallet ID."
        },
        "userId": {
          "type": "string",
          "format": "uuid",
          "description": "The user ID who owns this wallet."
        },
        "currency": {
          "type": "string",
          "description": "The asset currency (e.g., BTC, USDT)."
        },
        "balances": {
          "type": "number",
          "description": "The total wallet balance (deposited amount)."
        },
        "available": {
          "type": "number",
          "description": "The available balance for trading or withdrawal."
        },
        "margin": {
          "type": "number",
          "description": "The total margin currently in use (position margin)."
        },
        "positionMargin": {
          "type": "number",
          "description": "The margin allocated to open positions plus unrealized PnL."
        },
        "orderMargin": {
          "type": "number",
          "description": "The margin frozen for open orders."
        },
        "positionValue": {
          "type": "number",
          "description": "The total value of all open positions in this currency."
        },
        "unrealizedPnl": {
          "type": "number",
          "description": "The total unrealized profit and loss from open positions."
        },
        "marginBalances": {
          "type": "number",
          "description": "The margin balance (equity) = balances + unrealizedPnl."
        },
        "marginRate": {
          "type": "number",
          "description": "The margin rate for the account."
        },
        "leverage": {
          "type": "number",
          "description": "The account-level effective leverage."
        }
      }
    },
    "Position": {
      "type": "object",
      "description": "An open contract position with its details including size, PnL, and margin information.",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "The unique position identifier."
        },
        "symbol": {
          "type": "string",
          "description": "The contract instrument symbol (e.g., BTCUSD, BTCUSDT)."
        },
        "userId": {
          "type": "string",
          "description": "The user ID who owns this position."
        },
        "currency": {
          "type": "string",
          "description": "The margin currency for this position (e.g., USDT, BTC)."
        },
        "isCross": {
          "type": "boolean",
          "description": "Whether the position uses Cross Margin mode. true = cross margin, false = isolated margin."
        },
        "marginRate": {
          "type": "number",
          "description": "The current margin rate."
        },
        "feeRateTaker": {
          "type": "number",
          "description": "The taker fee rate for this position."
        },
        "feeRateMaker": {
          "type": "number",
          "description": "The maker fee rate for this position (negative values indicate rebates)."
        },
        "size": {
          "type": "number",
          "description": "The position size in contracts. Positive = long position, Negative = short position."
        },
        "notional": {
          "type": "number",
          "description": "The position notional value in the settlement currency."
        },
        "initMargin": {
          "type": "number",
          "description": "The initial margin required to open this position."
        },
        "margin": {
          "type": "number",
          "description": "The current margin allocated to this position."
        },
        "orderMargin": {
          "type": "number",
          "description": "The margin frozen for open orders related to this position."
        },
        "realisedPnl": {
          "type": "number",
          "description": "The realized profit and loss from closed trades."
        },
        "totalPnl": {
          "type": "number",
          "description": "The total profit and loss (realized + unrealized)."
        },
        "markPrice": {
          "type": "number",
          "description": "The current mark price used for margin calculations."
        },
        "riskLimit": {
          "type": "number",
          "description": "The current risk limit tier for this position."
        },
        "liquidatePrice": {
          "type": "number",
          "description": "The estimated liquidation price. When mark price reaches this level, liquidation will be triggered."
        },
        "entryPrice": {
          "type": "number",
          "description": "The average entry price of the position."
        },
        "unrealizedPnl": {
          "type": "number",
          "description": "The unrealized profit and loss based on mark price."
        },
        "leverage": {
          "type": "number",
          "description": "The effective leverage (notional value / margin)."
        },
        "equity": {
          "type": "number",
          "description": "The position equity (margin + unrealized PnL)."
        },
        "value": {
          "type": "number",
          "description": "The position value in the settlement currency."
        },
        "risk": {
          "type": "number",
          "description": "The risk value for this position."
        },
        "rom": {
          "type": "number",
          "description": "Return on Margin (percentage)."
        },
        "buyingNotional": {
          "type": "number",
          "description": "The total notional value of buy orders in this position."
        },
        "sellingNotional": {
          "type": "number",
          "description": "The total notional value of sell orders in this position."
        },
        "buyingSize": {
          "type": "number",
          "description": "The total size of buy orders in this position."
        },
        "sellingSize": {
          "type": "number",
          "description": "The total size of sell orders in this position."
        },
        "seqNo": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int64",
          "description": "The sequence number for order book updates."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/bigone-account"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.