Помощь
Руководство
Зона безопасности

Gate User API Key Security Guide: Authorize Carefully to Protect Your Account Assets | Gate

30-11-2026 10:54 (UTC)
21 Прочли
0

As the cryptocurrency trading ecosystem continues to evolve, more users are connecting their trading accounts to third-party quantitative platforms and automated trading tools through API Key to improve trading efficiency.

However, while API authorization offers convenience, it may also increase account security risks. If an API Key or API Secret is exposed, attackers may use the granted permissions to perform unauthorized actions, resulting in account losses.

On November 5, after third-party trading platform SignalPlus reported a security incident, an exchange promptly revoked all API Keys associated with SignalPlus and reminded affected users to check their account positions and open orders.

SignalPlus later disclosed that the incident involved the compromise of a Telegram account belonging to a third-party vendor contact. Attackers used fraudulent Microsoft Teams meeting invitations to compromise employee devices and gain access to the internal network. Notably, SignalPlus also acknowledged that it had not previously made IP whitelisting a mandatory requirement for exchange API integrations and stated that it would strengthen related security measures. This incident again reminds users that API authorization management should be taken seriously, even when using well-known platforms.

I. Choose Third-Party Platforms Carefully

Before connecting an API Key, thoroughly assess the reliability and security capabilities of the third-party platform.

  • Evaluate the platform's market reputation and security measures, but do not lower your guard simply because the platform is well known.

  • Avoid providing your API Key to unfamiliar websites or software from unknown sources.

  • Carefully understand how the third-party platform manages data and review its privacy policy.

  • If you use the same third-party platform across multiple exchanges, and a security risk arises on one of them, you should also check API authorizations on the other exchanges and promptly delete any related API Keys that may be at risk.

A platform's popularity does not mean it is completely secure. Users should minimize unnecessary third-party API authorizations and avoid entrusting API credentials to third-party platforms for extended periods.

II. Enable IP Whitelisting

IP whitelisting can restrict the sources of API requests and reduce the risk of an API Key being used by other unauthorized IP addresses.

We recommend that you:

  • Enable IP whitelisting when creating an API Key.

  • Only add trusted server or device outbound IP addresses.

  • Regularly review and remove IP addresses that are no longer in use.

Please note that IP whitelisting does not provide absolute security. If a third-party platform's server or an authorized device is compromised, attackers may still use the existing authorized environment to access the API.

III. Follow the Principle of Least Privilege

When creating an API Key, grant permissions based on actual business needs and avoid granting unnecessary operational permissions.

  • Read-Only Permission: Suitable for viewing account assets and trading data. However, it may still involve sensitive account information, so grant this permission with caution.

  • Trading Permission: Enable the relevant permissions only when automated trading is needed. You can set limits such as trading limits and withdrawal limits in Security Center to further protect your account assets.

image.png
image.png
  • Withdrawal Permission: Not recommended unless it is genuinely required for business purposes.

Even if an API Key does not have withdrawal permission, attackers may still use enabled trading permissions to place abnormal orders, resulting in actual losses.

IV. Safeguard API Credentials

Both API Key and API Secret are sensitive information. Never share or store them publicly.

  • Do not send API credentials through insecure channels such as chat apps or email.

  • Avoid storing API Secret in public code repositories, shared documents, cloud storage, or email cloud drives.

  • Create separate API Keys for different third-party applications whenever possible.

  • Regularly review API authorizations and promptly revoke API Keys that have been idle for a long time or are no longer in use.

V. Take Immediate Action if You Detect Abnormal Activity

If you suspect that your API Key has been exposed or discover unauthorized trading activity in your account, immediately:

  1. Revoke suspicious authorizations: Log in to the exchange's official platform and delete suspicious API Keys.

  2. Check your account: Review your account positions, open orders, and recent trading history.

  3. Handle abnormal orders: Verify unauthorized orders and related positions, and promptly take necessary action. If open positions or unconfirmed abnormal activity are involved, contact the exchange's official customer support for assistance.

  4. Contact official customer support: If you detect abnormal asset movements, immediately contact the exchange's official customer support for assistance.

  5. Check account security: If your login password or other login credentials may also have been exposed, promptly update the relevant security verification settings. We recommend enabling passkeys and facial verification.

  6. Check other connected platforms: If you have authorized the relevant API Key for other third-party platforms, also review those authorizations and promptly revoke API Keys that are no longer needed or may be at risk.

Special reminder: After revoking an API Key, existing open orders may not be canceled automatically. Log in to the exchange to check your account and handle them promptly.

Conclusion

API technology can improve trading efficiency, but account security should always come first.

Carefully selecting third-party platforms, enabling IP whitelisting, configuring permissions appropriately, safeguarding API credentials, and regularly reviewing authorizations are security practices every user should develop.

Authorize carefully, manage API Keys appropriately, and help protect your account assets.

Disclaimer

The content provided herein is for reference and educational purposes only and does not constitute any financial, investment, trading, or legal advice, nor does it constitute an offer or solicitation to buy or sell any digital assets. Gate makes no express or implied representations or warranties regarding the accuracy, completeness, or timeliness of the information contained herein. Product features, interfaces, rules, and fee structures may be updated or adjusted at any time. Please refer to the latest announcements and the actual information displayed on the Gate platform for the most accurate details.
Digital asset investments involve significant risk, and prices may fluctuate substantially. You may lose the entire amount of your investment. Please make decisions cautiously based on your own financial situation and risk tolerance after fully understanding the associated risks. If necessary, you are advised to consult an independent professional financial or legal advisor.
For more information about potential risks, please refer to Gate's Risk Disclosure and User Agreement.

Зарегистрируйтесь сейчас и получите шанс выиграть до $10,000!
signup-tips