Deribit · Schema

Custody Account

Custody account

DerivativesCryptocurrencyBitcoinEthereumOptionsFuturesPerpetualsTradingMarket DataBlock TradingWebSocketFinancial

Properties

Name Type Description
currency object
name object
balance object Balance available on custody account
pending_withdrawal_balance object Pending balance transferred from trading account to custody account
auto_deposit boolean When set to 'true' all new funds added to custody balance will be automatically transferred to trading balance
client_id string API key 'client id' used to reserve/release funds in custody platform, requires scope 'custody:read_write'
external_id object
withdrawal_address string Address that is used for withdrawals
withdrawal_address_change number UNIX timestamp after when new withdrawal address will be used for withdrawals
pending_withdrawal_addres string New withdrawal address that will be used after 'withdrawal_address_change'
deposit_address string Address that can be used for deposits
View JSON Schema on GitHub

JSON Schema

custody_account.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/deribit/json-schema/custody_account.json",
  "title": "Custody Account",
  "properties": {
    "currency": {
      "$ref": "#/components/schemas/currency"
    },
    "name": {
      "$ref": "#/components/schemas/custody_name"
    },
    "balance": {
      "$ref": "#/components/schemas/currency_amount",
      "description": "Balance available on custody account"
    },
    "pending_withdrawal_balance": {
      "$ref": "#/components/schemas/currency_amount",
      "description": "Pending balance transferred from trading account to custody account"
    },
    "auto_deposit": {
      "type": "boolean",
      "description": "When set to 'true' all new funds added to custody balance will be automatically transferred to trading balance"
    },
    "client_id": {
      "type": "string",
      "description": "API key 'client id' used to reserve/release funds in custody platform, requires scope 'custody:read_write'"
    },
    "external_id": {
      "$ref": "#/components/schemas/external_id"
    },
    "withdrawal_address": {
      "type": "string",
      "description": "Address that is used for withdrawals"
    },
    "withdrawal_address_change": {
      "type": "number",
      "description": "UNIX timestamp after when new withdrawal address will be used for withdrawals"
    },
    "pending_withdrawal_addres": {
      "type": "string",
      "description": "New withdrawal address that will be used after 'withdrawal_address_change'"
    },
    "deposit_address": {
      "type": "string",
      "description": "Address that can be used for deposits"
    }
  },
  "required": [
    "currency",
    "name",
    "pending_withdrawal_balance"
  ],
  "type": "object",
  "description": "Custody account"
}

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/custody_account"
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.