Get Instant Quote
Roles
The API key you use to access this endpoint must have the Trader role assigned. See Roles for more information.
The OAuth scope must have orders:create 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-ControlGet Instant Quote › Request Body
requestThe literal string "/v1/instant/quote/"
side"buy" or "sell"
symbolThe symbol for the order. Instant includes order books denominated in a supported currency, as CCY2
The nonce, as described in Private API Invocation
totalSpendQuoted decimal amount to spend on the order. Must comply with stated minimums. The totalSpend will be CCY2 in buy orders and CCY1 in sell orders.
paymentMethodUuiduuid provided as bankId in Payment Methods API
paymentMethodTypeMethod used to specify payment method in buy order. Can be "AccountBalancePaymentType" to use funds available in USD balance held on Gemini, "BankAccountType" to initial an ACH from a linked bank account, or "CardAccountType" to use a linked debit card to fund the purchase.
accountRequired for Master API keys as described in Private API Invocation. The name of the account within the subaccount group. Specifies the account on which you intend to place the order. Only available for exchange accounts.
Get Instant Quote › Responses
Sample Responses
quoteIdUnique ID for the quote. This is used in the execution of the order
maxAgeMsNumber of milliseconds until this quote price expires. Once expired, you will need to request a new quote
pairThe symbol passed in the quote request
priceThe quoted price of the asset. This will not change when attempting execution
priceCurrencyThe currency in which the order is priced. Matches CCY2 in the symbol
sideEither "buy" or "sell"
quantityThe quantity of the asset to be bought or sold
quantityCurrencyThe currency label for the quantity field. Matches CCY1 in the symbol
feeThe fee quantity to be taken for the order upon execution
feeCurrencyThe currency label for the order
depositFeeThe deposit fee quantity. Will be applied if a debit card is used for the order. Will return 0 if there is no depositFee
depositFeeCurrencyCurrency in which depositFee is taken
totalSpendTotal quantity to spend for the order. Will be the sum inclusive of all fees and amount to be traded.
totalSpendCurrencyCurrency of the totalSpend to be spent on the order
Execute Instant Order
Roles
The API key you use to access this endpoint must have the Trader role assigned. See Roles for more information.
The OAuth scope must have orders:create 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-ControlExecute Instant Order › Request Body
requestThe literal string "/v1/instant/execute"
The nonce, as described in Private API Invocation
symbolThe symbol for the order.
side"buy" or "sell"
quantityThe quantity of the asset bought or sold. quantity must match quantity returned in the quote
feeThe fee for the order. fee must match fee returned in the quote
quoteIdUnique ID for the quote. quoteId must match quoteId returned in the quote
accountRequired for Master API keys as described in Private API Invocation. The name of the account within the subaccount group. Specifies the account on which you intend to place the order. Only available for exchange accounts.
Execute Instant Order › Responses
JSON response
orderIdThe ID for the executed order
pairThe symbol for the order.
priceThe price at which the order was executed
priceCurrencyThe currency in which the order is priced. Matches CCY2 in the symbol
sideEither "buy" or "sell"
quantityThe quantity of the asset bought or sold
quantityCurrencyThe currency label for the quantity field.
totalSpendTotal quantity to spend for the order. Will be the sum inclusive of all fees and amount to be traded.
totalSpendCurrencyCurrency of the totalSpend to be spent on the order
feeThe fee quantity charged for the order
feeCurrencyThe currency label for the fee.
depositFeeThe deposit fee quantity. Will be applied if a debit card is used for the order. Will return 0 if there is no depositFee
depositFeeCurrencyCurrency in which depositFee is taken

