Deribit · Schema

Currency Portfolio

DerivativesCryptocurrencyBitcoinEthereumOptionsFuturesPerpetualsTradingMarket DataBlock TradingWebSocketFinancial

Properties

Name Type Description
margin_balance number The account's margin balance. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cr
currency string The selected currency
maintenance_margin number The maintenance margin. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cross co
initial_margin number The account's initial margin. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cr
equity number The account's current equity
balance number The account's balance
available_withdrawal_funds number The account's available to withdrawal funds
available_funds number The account's available funds. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each c
additional_reserve object
spot_reserve number The account's balance reserved in active spot orders
View JSON Schema on GitHub

JSON Schema

currency_portfolio.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/deribit/json-schema/currency_portfolio.json",
  "title": "Currency Portfolio",
  "properties": {
    "margin_balance": {
      "type": "number",
      "description": "The account's margin balance. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cross collateral currency's index."
    },
    "currency": {
      "type": "string",
      "enum": [
        "btc",
        "eth"
      ],
      "description": "The selected currency"
    },
    "maintenance_margin": {
      "type": "number",
      "description": "The maintenance margin. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cross collateral currency's index."
    },
    "initial_margin": {
      "type": "number",
      "description": "The account's initial margin. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cross collateral currency's index."
    },
    "equity": {
      "type": "number",
      "description": "The account's current equity"
    },
    "balance": {
      "type": "number",
      "description": "The account's balance"
    },
    "available_withdrawal_funds": {
      "type": "number",
      "description": "The account's available to withdrawal funds"
    },
    "available_funds": {
      "type": "number",
      "description": "The account's available funds. When cross collateral is enabled, this aggregated value is calculated by converting the sum of each cross collateral currency's value to the given currency, using each cross collateral currency's index."
    },
    "additional_reserve": {
      "$ref": "#/components/schemas/additional_reserve"
    },
    "spot_reserve": {
      "type": "number",
      "description": "The account's balance reserved in active spot orders"
    }
  },
  "required": [
    "margin_balance",
    "currency",
    "maintenance_margin",
    "initial_margin",
    "equity",
    "balance",
    "available_withdrawal_funds",
    "available_funds",
    "additional_reserve",
    "spot_reserve"
  ],
  "type": "object"
}

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/currency_portfolio"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.