Custodies

A custody is a place where your crypto is held: an exchange such as Binance or MEXC, or a self-custody wallet such as MetaMask or Ledger. Custodies belong to your account and are shared by all of your portfolios. If you hold 1 BTC split between Binance and MEXC, you record 0.5 BTC in each custody, and MyHold checks that the total matches the BTC across your portfolios.

✅ Your agent keeps them in sync

Your agent reads the reconciliation, spots coins whose custody total differs from the portfolio total, and fixes the portfolio with a staged commit or updates the custody balances.

MCP Tools#

Your agent can work with Custodies through the MyHold MCP server:

ToolDescription
list-custodiesList your custodies with their balances, connection state, and last sync.
get-custodyGet one custody with its balances and sync status.
list-custody-providersList the exchanges that can sync balances with an API key.
create-custodyAdd an exchange or a self-custody wallet.
update-custodyRename a custody, change its exchange, or turn hourly sync on or off.
delete-custodyDelete a custody with its balances and stored API key.
set-custody-balancesReplace the balances of a custody without an API key, such as a hardware wallet.
sync-custodyFetch a connected custody's balances from its exchange right now.
get-custody-reconciliationCompare each coin in your custodies with the same coin across all portfolios.

What a Custody Shows#

Each custody lists its coins, the quantity of each, and their value. Connected exchanges also show when they last synced.

Binance

Connected · read-only

Exchange · Binance · Synced Oct 31, 12:17 PM · hourly sync

Value

$38,500.00

BTC logo
BTC
0.5$32,500.00
ETH logo
ETH
2$6,000.00

A Binance custody connected with a read-only API key

The Reconciliation Rule#

For every coin held in at least one custody, the sum across all of your custodies must equal the sum across all of your portfolios. A coin that appears in no custody is left out, so you can register Binance with only your BTC and MyHold reconciles BTC alone. A coin a custody tracks with a quantity of zero still counts, which keeps a coin that left the exchange visible until your portfolios agree.

CoinCustodiesPortfoliosDifferenceStatus
BTC logo
BTC
110Matched
ETH logo
ETH
22.5-0.5(-$1,500.00)Divergent

BTC matches across custodies and portfolios; ETH differs by 0.5

A divergence lists every custody and every portfolio wallet that holds the coin, so your agent knows exactly which quantities to correct.

Keeping Balances Up to Date#

CustodyWhere balances come from
Exchange with an API keyMyHold reads the spot balance when you connect, every hour while hourly sync is on, and whenever your agent asks for a sync.
Wallet or exchange without an API keyYour agent sets the balances, replacing the full list each time.

A sync updates every coin the custody already tracks and sets coins the exchange stopped reporting to zero. New coins are imported when they match a coin MyHold knows and are worth at least $1. Smaller balances and unknown symbols are listed as skipped, so your agent can add a missing coin and sync again.

API Keys and Security#

You connect API keys yourself on the Custodies page of the web app. Agents can create custodies and trigger syncs, and the keys stay out of their reach. MyHold checks the key against the exchange, encrypts it, and only reads balances with it.

⚠️ Use read-only keys

Create the API key with trading and withdrawals disabled. MyHold only needs permission to read balances.

Plan Limits#

PlanCustodiesConnected with an API key
Free31
Pro1010
Premium5050

Next Steps#

For API details, visit the API documentation.