Get Account Detail
The account API will return detail about the specific account requested such as users, country codes, etc.
Roles
The API key you use to access this endpoint can be either a Master or Account level key with any role assigned. See Roles for more information.
Headers
X-GEMINI-APIKEYYour API key
X-GEMINI-SIGNATUREHEX-encoded HMAC-SHA384 of payload signed with API secret
X-GEMINI-PAYLOADBase64-encoded JSON payload
Content-TypeContent-LengthCache-ControlGet Account Detail › Request Body
requestThe literal string "/v1/account"
The nonce, as described in Private API Invocation
accountRequired for Master API keys as described in Private API Invocation. The name of the account within the subaccount group. Master API keys can get all account names using the Get Accounts endpoint.
Get Account Detail › Responses
Successful operation
Contains information on the requested account
Contains an array of JSON objects with user information for the requested account
memo_reference_codeReturns wire memo reference code for linked bank account
virtual_account_numberVirtual account number for the account. Only populated if applicable for the account
Create New Account
A Master API key can create a new exchange account within the group. This API will return the name of your new account for use with the account parameter in when using Master API keys to perform account level functions. Please see the example.
Roles
The API key you use to access this endpoint must be a Master level key and have the Administrator role assigned. See Roles for more information.
Headers
X-GEMINI-APIKEYYour API key
X-GEMINI-SIGNATUREHEX-encoded HMAC-SHA384 of payload signed with API secret
X-GEMINI-PAYLOADBase64-encoded JSON payload
Content-TypeContent-LengthCache-ControlCreate New Account › Request Body
requestThe literal string "/v1/account/create"
The nonce, as described in Private API Invocation
nameA unique name for the new account
typeEither exchange or custody is accepted. Will generate an exchange account if exchange or parameter is missing. Will generate a custody account if custody.
Create New Account › Responses
Successful operation
accountAccount reference string for use in APIs based off the provided name field
typeWill return the type of account generated. exchange if an exchange account was created, custody if a custody account was created
Rename Account
A Master or Account level API key can rename an account within the group.
Roles
The API key you use to access this endpoint can be either a Master or Account level API key and must have the Administrator role assigned. See Roles for more information.
Headers
X-GEMINI-APIKEYYour API key
X-GEMINI-SIGNATUREHEX-encoded HMAC-SHA384 of payload signed with API secret
X-GEMINI-PAYLOADBase64-encoded JSON payload
Content-TypeContent-LengthCache-ControlRename Account › Request Body
requestThe literal string "/v1/account/rename".
The nonce, as described in Private API Invocation
accountOnly required when using a master api-key. The shortname of the account within the subaccount group. Master API keys can get all account shortnames from the account field returned by the Get Accounts endpoint.
newNameA unique name for the new account. If not provided, name will not change.
newAccountA unique shortname for the new account. If not provided, shortname will not change.
Rename Account › Responses
An element containing the updated name of the account.
nameNew name for the account based off the provided newName field. Only returned if newName was provided in the request.
accountNew shortname for the account based off the provided newAccount field. Only returned if newAccount was provided in the request.
List Accounts in Group
A Master API key can be used to get the accounts within the group. A maximum of 500 accounts can be listed in a single API call.
Roles
The API key you use to access this endpoint must be a Master level key. See Roles for more information.
The OAuth scope must have account:read assigned to access this endpoint. See OAuth Scopes for more information.
Headers
X-GEMINI-APIKEYYour API key
X-GEMINI-SIGNATUREHEX-encoded HMAC-SHA384 of payload signed with API secret
X-GEMINI-PAYLOADBase64-encoded JSON payload
Content-TypeContent-LengthCache-ControlList Accounts in Group › Request Body
requestThe literal string "/v1/account/list"
The nonce, as described in Private API Invocation
limit_accountsThe maximum number of accounts to return. Maximum and default values are both 500.
Only return accounts created on or before the supplied timestamp. If not provided, the 500 most recently created accounts are returned.
List Accounts in Group › Responses
The response will be a JSON object containing all accounts within the master group
nameThe name of the account provided upon creation
accountNickname of the specific account (will take the name given, remove all symbols, replace all " " with "-" and make letters lowercase)
typeEither "exchange" or "custody" depending on type of account
counterparty_idThe Gemini clearing counterparty ID associated with the API key making the request. Will return None for custody accounts
The timestamp of account creation, displayed as number of milliseconds since 1970-01-01 UTC. This will be transmitted as a JSON number
statusEither "open" or "closed"
Roles Endpoint
The v1/roles endpoint will return a string of the role of the current API key. The response fields will be different for account-level and master-level API keys.
Headers
X-GEMINI-APIKEYYour API key
X-GEMINI-SIGNATUREHEX-encoded HMAC-SHA384 of payload signed with API secret
X-GEMINI-PAYLOADBase64-encoded JSON payload
Content-TypeContent-LengthCache-ControlRoles Endpoint › Request Body
requestThe literal string "/v1/roles"
timestamp
Roles Endpoint › Responses
The response will be a JSON object indicating the assigned roles to the set of API keys used to call /v1/roles. The Auditor role cannot be combined with other roles. Fund Manager and Trader can be combined.
isAuditorTrue if the Auditor role is assigned to the API keys. False otherwise.
isFundManagerTrue if the Fund Manager role is assigned to the API keys. False otherwise.
isTraderTrue if the Trader role is assigned to the API keys. False otherwise.
counterparty_idOnly returned for master-level API keys. The Gemini clearing counterparty ID associated with the API key making the request.
isAccountAdminOnly returned for master-level API keys.True if the Administrator role is assigned to the API keys. False otherwise.

