Deribit · Schema

Get Custody Balance

DerivativesCryptocurrencyBitcoinEthereumOptionsFuturesPerpetualsTradingMarket DataBlock TradingWebSocketFinancial

Properties

Name Type Description
currency object
equity number Equity of the main account
available_withdrawal_funds number Funds available for withdrawal
total_equity number Equity of the main account + subaccounts. Takes into account external equity.
custody number Custody balance
pnl number Profit net loss of the user (total_equity - custody)
encrypted number The encrypted result json in base64 format. It can be used to verify that values are generated by Deribit.
View JSON Schema on GitHub

JSON Schema

get_custody_balance.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/deribit/json-schema/get_custody_balance.json",
  "title": "Get Custody Balance",
  "properties": {
    "currency": {
      "$ref": "#/components/schemas/currency"
    },
    "equity": {
      "type": "number",
      "description": "Equity of the main account"
    },
    "available_withdrawal_funds": {
      "type": "number",
      "description": "Funds available for withdrawal"
    },
    "total_equity": {
      "type": "number",
      "description": "Equity of the main account + subaccounts. Takes into account external equity."
    },
    "custody": {
      "type": "number",
      "description": "Custody balance"
    },
    "pnl": {
      "type": "number",
      "description": "Profit net loss of the user (total_equity - custody)"
    },
    "encrypted": {
      "type": "number",
      "description": "The encrypted result json in base64 format. It can be used to verify that values are generated by Deribit."
    }
  },
  "required": [
    "currency",
    "equity",
    "available_withdrawal_funds",
    "total_equity",
    "custody",
    "pnl"
  ],
  "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/get_custody_balance"
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 email required.

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