Skip to content

API Keys โ€‹

API keys allow you to securely interact with the exchange and its smart contracts, automate trading, and connect third-party tools.

Key Features โ€‹

  • Up to 10 API Keys:

    • Each user can have a maximum of 10 active API keys at any time.
  • Expiry Policy:

    • You can have up to 9 API keys without expiry (permanent keys).
    • The frontend typically creates API keys that are valid for one day (24 hours) for added security.
  • Required for Smart Contracts:

    • An API key is required to interact with the exchange's smart contracts, including trading, transfers, and automation.
  • Automatic Rotation:

    • If you already have 10 API keys and create a new one, the oldest key will be automatically deleted (rotated out) to make room for the new key.

How to Use API Keys โ€‹

  1. Create an API Key:
    • Generate a new key from your account dashboard or via the API.
    • Choose whether the key should expire (e.g., 1 day) or be permanent.
  2. Store Securely:
    • Copy and store your API key securely. You will not be able to view it again.
  3. Use for Automation:
    • Use your API key to authenticate requests to the exchange, automate trading, or connect to third-party tools.
  4. Manage & Rotate:
    • View, revoke, or rotate your keys at any time from your dashboard.
    • If you reach the 10-key limit, creating a new key will remove the oldest one.

Best Practices โ€‹

  • Use short-lived keys for automation and integrations whenever possible.
  • Revoke unused keys to keep your account secure.
  • Never share your API keys with untrusted parties.

Summary โ€‹

  • Up to 10 API keys per user
  • 9 permanent keys max; frontend usually creates 1-day keys
  • API key required for all smart contract interactions
  • Oldest key is rotated out if you exceed the limit