How to connect HTX to Winrate

Create an HTX API key for Winrate: API Management, Read-only and Trade permissions, IP binding and fixes for common errors.

Restrict your API key to the Winrate IP

45.159.172.223

HTX connects with an Access Key and a Secret Key. In Winrate, paste the Access Key into the API key field.

Winrate shows your HTX spot balance. Futures and other accounts are not counted.

Before you start

  • Use the HTX website on a computer. HTX's API docs say to create keys on the website.
  • Turn on 2FA. HTX may ask for SMS, email and Google Authenticator codes.

Create the key

Menu names on HTX can change. If your screen looks different, pick the closest option.

  1. Log in to HTX. Open your profile menu and choose API Management (htx.com/apikey).
  2. Click to create a new key.
  3. Enter a note (name), for example "Winrate".
  4. Permissions:
    • Read to track your balance.
    • Trade too, if you want to buy and sell from Winrate. Trading in Winrate needs Premium.
    • Keep Withdraw off.
  5. IP binding: enable IP restriction (trusted IPs) for the key and add the Winrate IP: 45.159.172.223.
    • This is optional on HTX, but a key without IP binding expires after 90 days.
  6. Confirm with your verification codes.
  7. Copy the Access Key and Secret Key. HTX shows the Secret Key only once.

Good to know: an HTX key without IP binding expires after 90 days. Bind the Winrate IP 45.159.172.223 to avoid this.

Add the key to Winrate

On the web

  1. Sign in at winrate.tech. In the sidebar, open Connections. You see Exchange connections.
  2. Click Add. The New exchange connection form opens.
  3. Under Choose an exchange, pick HTX.
  4. Under Connection details, fill in Connection name, API key, Secret key. The connection name is just for you, for example "HTX main".
  5. Click Add connection. Your balance appears within a few minutes.

In the iPhone app

  1. Open the Trade tab and tap Connect an exchange. If you already have a connection, open the exchange menu and tap Add connection.
  2. On Select exchange, pick HTX.
  3. On Connect exchange, fill in Connection name, API key, Secret.
  4. Tap Connect.

Your first connection is free. A second connection needs Winrate Premium. Buying and selling from Winrate also needs Premium.

Common errors

Many fixes below need a new key. Winrate can't swap the key on a connection: delete the old connection on the web (on its page) and add a new one. This removes that connection's order history, balances and charts. See Replace or rotate a key.

What you seeWhat to do
"Invalid API key or secret"Paste the Access Key into the API key field and the Secret Key into the secret field, with no spaces.
Connection stopped after about 3 monthsKeys without IP binding expire after 90 days. Create a new key and bind the Winrate IP 45.159.172.223.
Balance shows, but orders failTurn on Trade permission for the key.
Lost the Secret KeyHTX shows it only once. Delete the key and create a new one.

FAQ

What is the HTX Access Key?

It is HTX's name for the API key. Paste it into the API key field in Winrate.

Which HTX permissions does Winrate need?

Read to track your balance. Trade if you want to buy and sell from Winrate. Never Withdraw.

Why did my HTX key stop working?

Keys without IP binding expire after 90 days. Create a new key and bind the Winrate IP 45.159.172.223 to it.

Does one HTX key cover spot and futures?

HTX keys are shared across its products, but Winrate shows only your spot balance. Trading in Winrate is spot only too.

Can I connect more than one HTX account?

Yes. Each one keeps its own balance and history. Your first connection is free; a second one needs Premium.

Still need a hand?

Email us what happened and where you saw it. Never send your password, API secret, passphrase, recovery phrase or full card number.

Email support

winrate.help@outlook.com