Skip to content
MyStocks Developers
API v1

API v1

Current stable contract

Versioning policyRelease changelog
Sandbox console
Broker API

Custody and Beneficial Ownership

MyStocks Partner API

Understand omnibus custody, per-sub-account beneficial ownership, settlement, and custody reconciliation in the MyStocks operating model.

Explore endpoints

1 of 1
GET

/report/reconciliation

Report - Reconciliation suite

Full endpoint documentation
Sandbox availablegetReconciliationReport

Daily reconciliation pack for B2B operations. Returns cash ledger, securities ledger, unsettled trades, fees, dividends, corporate actions, and custody position files for the partner master account and all sub-accounts. Add format=csv&section=... to download a section as CSV for finance, SFTP mirroring, or data warehouse ingestion. JSON responses include an explicit cash roll-forward, data-quality controls, and customer-sub-ledger-versus-MyStocks-omnibus proof. A status of EXCEPTIONS identifies unit or invalid-value differences; INCOMPLETE means no MyStocks omnibus positions were available for comparison. Sandbox returns current virtual wallets and holdings for the master and at most 500 sub-accounts, with null custody totals and INCOMPLETE status. Sandbox historical dates and from/to receive 422; section filtering receives 400. Sandbox format=csv exports current account totals. Neither this Sandbox report nor an internal ledger alone proves external settlement.

Parameters

asOfstringquery

Single business date to reconcile. Overrides default today when from/to are omitted.

Example: 2026-06-30

fromstringquery
tostringquery
formatjson | csvquery

Example: json

sectionsummary | cash | securities | unsettled | fees | dividends | corporate_actions | custody_positionsquery

CSV export section.

limitintegerquery

Per-account transaction/order scan limit.

Example: 1000

Headers

AuthorizationstringRequired

Bearer sk_sandbox_<your_key> for sandbox requests.

Response fields

See the response format and API Reference for this endpoint.

Response codes

200Reconciliation report or CSV file.
422Sandbox historical report or account limit unsupported.

MyStocks maintains the per-sub-account beneficial-ownership ledger. Regulated brokers, custodians, and the relevant CSD hold and settle securities according to each market’s rules.

What the API represents

  • A filled order is an execution event; it is not automatically settled custody.
  • Unsettled sell proceeds remain unavailable for withdrawal until the relevant settlement condition is met.
  • Portfolio and holdings endpoints show the per-sub-account ledger.
  • The custody section of GET /report/reconciliation compares pooled custody positions with the sum of attributed sub-account holdings.
  • Corporate actions and dividends are distributed through account records and signed events.

Daily custody control

  1. Pull securities and custody_positions sections from the reconciliation pack.
  2. Compare total units by symbol and market with the custodian/CSD file.
  3. Import the dated broker/CSD cash and position statement through the authorized MyStocks operations control.
  4. Require BALANCED external reconciliation evidence within 36 hours for GA. Missing external files are INCOMPLETE; any unit or cash difference is EXCEPTIONS and must not be waived silently.
  5. Break differences down by sub-account, pending order, settlement date, and corporate action.
  6. Record the exception and do not silently overwrite the beneficial-ownership ledger.
  7. Close the exception only after a corrected source record or operations confirmation.

MyStocks is a technology and orchestration platform, not a broker-dealer. The executing broker and custodian for a market are disclosed through the applicable contractual and operational process. See Architecture & Custody and Going Live.

Was this page useful?

Your signal helps us tighten partner onboarding docs.

Send note

Last updated on

On this page