List Staking Balances
This will show the available balance in Staking as well as the available balance for withdrawal.
Roles
The API key you use to access this endpoint must have the Trader, Fund Manager or Auditor 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-ControlList Staking Balances › Request Body
requestThe literal string "/v1/balances/staking"
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.
List Staking Balances › Responses
The staking balances
typeWill always be "Staking"
currencyCurrency code, see symbols and minimums
balanceThe current Staking balance
availableThe amount that is available to trade
availableForWithdrawalThe Staking amount that is available to redeem to exchange account
Stake Crypto Funds
Initiates Staking deposits.
Roles
The API key you use to access this endpoint must have the Trader, Fund Manager or Trader 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-ControlStake Crypto Funds › Request Body
requestThe literal string "v1/staking/stake"
The nonce, as described in Private API Invocation
providerIdProvider Id, in uuid4 format. providerId is accessible from the Staking rates response
currencyCurrency code, see symbols
amountThe amount of currency to deposit
accountRequired for Master API keys as described in Private API Invocation. The name of the account within the subaccount group.
Stake Crypto Funds › Responses
The staking deposit transaction
transactionIdA unique identifier for the staking transaction
providerIdProvider Id, in uuid4 format
currencyCurrency code, see symbols
amountThe amount deposited
accrualTotalThe total accrual
A JSON object including one or many rates. If more than one rate it would be an array of rates.
List Staking Event History
This will show all staking deposits, redemptions and interest accruals.
Roles
The API key you use to access this endpoint must have the Trader, Fund Manager or Auditor role assigned. See Roles for more information.
How to iterate through all transactions:
To retrieve your full Staking history walking backwards,
- Initial request:
POSTto https://api.gemini.com/v1/staking/history with a JSON payload includingsortAscset tofalseand a limit key with value500. - When you receive the list of Staking transactions, they will be sorted by
datetimedescending - so the last element in the list will have the lowesttimestampvalue. For this example, say that value isX. - Create a second
POSTrequest with a JSON payload including auntiltimestamp key with valueX-1,sortAscset tofalse, and a limit key with value500. - Take the last element of the list returned with lowest
datetimevalueYand create a thirdPOSTrequest with a JSON payload including auntiltimestamp key with valueY-1,sortAscset to false, and alimitkey with value500. - Continue creating
POSTrequests and retrieving Staking transactions until an empty list is returned.
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 Staking Event History › Request Body
requestThe literal string "/v1/staking/history"
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.
In iso datetime with timezone format. Defaults to the timestamp of the first deposit into Staking.
In iso datetime with timezone format, default to current time as of server time
limitThe maximum number of transactions to return. Default is 50, max is 500.
providerIdBorrower Id, in uuid4 format. providerId is accessible from the Staking rates response
currencyCurrency code, see symbols
interestOnlyToggles whether to only return daily interest transactions. Defaults to false.
sortAscToggles whether to sort the transactions in ascending order by datetime. Defaults to false.
List Staking Event History › Responses
Staking transaction history
providerIdProvider Id, in uuid4 format
List Staking Rates
This will return the current Gemini Staking interest rates (in bps). When including the specific asset(s) in the request, the response will include the specific assets' (e.g. eth, matic) Staking rate. When not including the specific asset in the request, the response will include all Staking rates.
List Staking Rates › Responses
JSON response with staking rates
Currency Symbol Keys
List Staking Rewards
This will show the historical Staking reward payments and accrual.
Roles
The API key you use to access this endpoint must have the Trader, Fund Manager or Auditor 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-ControlList Staking Rewards › Request Body
requestThe literal string "/v1/staking/rewards"
The nonce, as described in Private API Invocation
sinceIn iso datetime with timezone format
accountRequired for Master API keys as described in Private API Invocation. The name of the account within the subaccount group.
untilIn iso datetime with timezone format, default to current time as of server time
providerIdBorrower Id, in uuid4 format. providerId is accessible from the Staking rates response
currencyCurrency code, see symbols
List Staking Rewards › Responses
A nested JSON object, organized by provider, then currency
Currency Symbol Keys
Unstake Crypto Funds
Initiates Staking withdrawals.
Roles
The API key you use to access this endpoint must have the Trader, Fund Manager or Trader 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-ControlUnstake Crypto Funds › Request Body
requestThe literal string "v1/staking/unstake"
The nonce, as described in Private API Invocation
providerIdProvider Id, in uuid4 format. providerId is accessible from the Staking rates response
currencyCurrency code, see symbols
amountThe amount of currency to withdraw
accountRequired for Master API keys as described in Private API Invocation. The name of the account within the subaccount group.
Unstake Crypto Funds › Responses
The staking withdrawal transaction
transactionIdA unique identifier for the staking transaction
amountThe amount deposited
amountPaidSoFarThe amount redeemed successfully
amountRemainingThe amount pending to be redeemed
currencyCurrency code
requestInitiatedIn ISO datetime with timezone format

