Skip to content

Gleec

Obtaining the API Key

Danger

WARNING: Do NOT use the same API key that you have created for other services.

To get the API keys for your Gleec account, click on the settings icon on the top right of the Gleec main page and then Select API Keys fromthe menu.

![Cryptocurrency trading platform interface with gear, question mark, and loading icons.](/assets/image-814.png)

Once inside, click the New API Key button as indicated below.

![The Gleec API provides access to market data and trading operations, with a "New API key" button highlighted.](/assets/image-815.png)

The screenshots below will show you how the settings should look like before you click on I Understand.

API key and secret key QR codes displayed for successful API key creation on HaasOnline cryptocurrency trading platform.

Add a name for the API and check the checkboxes as indicated below.

HaasOnline API key management interface with access rights for order book, trading history, and payment information.

Now Click the IP Whitelist edit button.

HaasOnline API Key configuration panel with Edit button highlighted.

Input the IP addresses based on your installation requirements before clicking Add followed by Save once completed as indicated below.

Danger

If you are running an Enterprise license, please use the IP address of your machine/server instead of the ones written in the platform.

Edit IP Whitelist dialog with API Key and IP Whitelist entry fields, Clear all and Add buttons.

Complete the Authentication process.

Two-factor authentication code input dialog with 'Confirm' button on HaasOnline cryptocurrency trading platform.

Adding the API to HaasOnline TradeServer

Log in to TradeServer.

Click on the <img src="/assets/image-481.png" alt="" data-size="line" icon and select Exchange Accounts

Cryptocurrency exchange accounts management interface with Exchange Accounts panel and Connect status indicator

  1. Click on the <img src="/assets/image-419.png" alt="" data-size="line" icon.
  2. Select Exchange Account.

HaasOnline exchange account management interface with 'Exchange Account' and 'Simulated Account' options.

From the list of exchanges that we support, click on Gleec.

Cryptocurrency exchange selection menu on HaasOnline platform, highlighting Gleec option.

Info

Repeat the steps to add the API for Leverage if you first chose Spot.

Enter the Account name.

From the Gleec API Management page earlier, click on Copy under API Key and paste it in the TradeServer window under Public Key. Repeat the same for API Secret but paste it under Private Key.

HaasOnline API key creation screen showing generated API and Secret keys along with Gleec exchange account setup form.

Info

Though it might not be necessary, it might be best if you make sure to check for spaces at the start and at the end of the API/Private Key after you paste them.

Once that is done, the TEST KEYS button should be active for you to press. Click on it.

Should the test pass, you will be able to click on Submit to add the API key to the platform.