Skip to content
MyStocks Developers
API v1

API v1

Current stable contract

Versioning policyRelease changelog
Sandbox console

Read up to 20 customer wallet summaries

Sub-Accounts & White-Label Retail KYC

GET

/users/summary

Read up to 20 customer wallet summaries

Sandbox availablegetCustomerWalletSummaries

Supply 1–20 distinct owned customer IDs or external IDs, separated by commas. Unknown and foreign IDs return the same NOT_FOUND item error. Actual currency wallets, USD buying power and currency closure blockers are returned per account. Accounts are read independently, not as an atomic consolidated statement. Open orders, positions and settlements still require closure-time checks.

Parameters

userIdsstringqueryRequired

1–20 distinct comma-separated customer IDs or external IDs.

Headers

AuthorizationstringRequired

Bearer sk_sandbox_<your_key> for sandbox requests.

Response fields

accountsobject[]Required
accounts[].requestedIdstring
accounts[].subAccountIdstring
accounts[].userIdstring
accounts[].externalIdstring
accounts[].statusstring
accounts[].asOfstring
accounts[].currencyWalletsobject[]
accounts[].buyingPowerobject
accounts[].currencyClosureBlockersobject[]
accounts[].errorobject
countintegerRequired
asOfstringRequired
snapshotModelstringRequired
sandboxboolean

Response codes

200Owned customer results with explicit read and continuation limits.
400Invalid bounds, identifiers or cursor.
401Valid environment-specific API key required.
403Required read permission is missing.
429Partner request rate limit exceeded.