Skip to content

Gemini

Obtaining the API

To get the API keys for your Gemini account, you need to login, click on your account profile in the top right, and then click on Settings

Click on account profile and select Settings

Click on API in the left navigation and then click Create API Key

Click on API in the left navigation

Pick the primary account

Pick the primary account

Make sure Fund Management and Trading is enabled. Save the API Key and API Secret. Confirm your settings and add the account to the HaasOnline TradeServer under the Exchange Accounts page.

Enable Fund Management and Trading

Save API Key and API Secret

Confirm settings

Adding the API to HaasOnline TradeServer

Log in to the HaasOnline TradeServer.

Click on the user menu icon in the top right and select Exchange Accounts

HaasOnline TradeServer Exchange Accounts page with the user menu open and Exchange Accounts highlighted.

Click the + button at the bottom of the accounts list (on an empty page it reads Add account).

HaasOnline TradeServer Exchange Accounts page with the add account button highlighted.

Select Exchange account.

HaasOnline TradeServer Select Account Type modal with Exchange account highlighted.

In Connect an exchange account, click Gemini (or type it in the search box). It has one market, so the setup form opens next.

Connect an exchange account list with Gemini among the supported exchanges.

Gemini account setup form with the IP whitelist, account name, public key and private key fields.

Enter an Account name.

From the Gemini API Management page, copy the API Key. Navigate back to the HaasOnline TradeServer window and, in the Public Key field, type "account-1" (without the quotes) and then paste the API Key. Ensure there are no spaces between "account-" and the pasted API Key.

Copy the API Secret and paste it into the Private Key field. No special text is required for this field.

Info

Check for spaces at the start and end of each key after you paste it. Stray spaces are a common cause of a failed key test.

Click Test keys. When the test passes, click Save account to add the account to the platform.