GET
Get permitted accounts balances for an enterprise
Returns the latest balance snapshots per asset for permitted accounts. When optional query
param accountIds is provided, returns balances only for those account IDs; when omitted,
returns all permitted accounts in the enterprise. Optional venue restricts accounts by
venueId; optional repeated genericAsset restricts balance rows to those genericAsset values.
Each account includes its permitted sub-account balances. Returns an empty array if no
accounts are found.
Path Params
-
enterpriseIdstring requiredYour enterprise id.
Query Params
-
accountIdsarray of stringsOptional list of account IDs. When provided, returns balances only for these accounts; when omitted, returns all permitted accounts. -
venuestringWhen provided, only accounts at this venue (Account.venueId) are included. -
genericAssetarray of stringsWhen provided (repeat param), only balances whosegenericAssetis in this list are returned. -
displayAssetarray of stringsWhen provided (repeat param), only balances whosedisplayAssetis in this list are returned. displayAsset equals genericAsset when mapped, otherwise rawAsset. -
searchLabelstringCase-insensitive partial match against account name. Filters accounts whose name contains the value. -
limitstring or number requiredMaximum number of results to return per page. Defaults to 50.ONE OF
stringnumber enum -
offsetstring or number requiredNumber of results to skip before returning. Defaults to 0.ONE OF
stringnumber enum
Header Params
-
user-idstring requiredUser id of the user making the request.
Responses
200
OK
Response Body
object
Top-level response for GET enterprise accounts balances
-
accountsarray of objects requiredaccounts object
-
idstring required -
venueIdstring required -
statusstring enum requiredactiveinactivedeletedpending_credentials -
namestring required -
accountSubTypesarray of objects requiredaccountSubTypes object
-
balancesarray of objects requiredbalances object
-
rawAssetstring required -
genericAssetstring -
displayAssetstring required -
assetstring -
networkstring -
availablestring required -
lockedstring required -
totalstring required -
asOfDatestring date-time required
-
-
accountSubTypestring requiredNormalized sub-account-type identifier (e.g.SPOT,MARGIN,UNIFIED). Read directly from the Link DB column populated by the normalized-balances Kafka consumer. -
rawAccountSubTypestringVenue-raw sub-type label, projected fromAccountSubTypeDefinition.rawTypefor the matchingnormalizedentry in the venue config. Absent for pass-through values. -
accountSubTypeLabelstringHuman-readable sub-type display label, projected fromAccountSubTypeDefinition.displayName. Absent when the venue has only one sub-type, or for pass-through values.
-
-
subAccountsarray of objects requiredsubAccounts object
-
idstring required -
statusstring enum requiredactiveinactivedeletedpending_credentials -
namestring required -
accountSubTypesarray of objects requiredaccountSubTypes object
-
balancesarray of objects requiredbalances object
-
rawAssetstring required -
genericAssetstring -
displayAssetstring required -
assetstring -
networkstring -
availablestring required -
lockedstring required -
totalstring required -
asOfDatestring date-time required
-
-
accountSubTypestring requiredNormalized sub-account-type identifier (e.g.SPOT,MARGIN,UNIFIED). Read directly from the Link DB column populated by the normalized-balances Kafka consumer. -
rawAccountSubTypestringVenue-raw sub-type label, projected fromAccountSubTypeDefinition.rawTypefor the matchingnormalizedentry in the venue config. Absent for pass-through values. -
accountSubTypeLabelstringHuman-readable sub-type display label, projected fromAccountSubTypeDefinition.displayName. Absent when the venue has only one sub-type, or for pass-through values.
-
-
-
-
totalnumber required
400
Bad Request
No response body
401
Unauthorized
Response Body
object
-
errorNamestring required -
errorstring required
403
Forbidden
Response Body
object
-
errorNamestring required -
errorstring required
500
Internal Server Error
Response Body
object
-
errorNamestring required -
errorstring required