Skip to main content
QFEX provides a unified interface for trading and market data via:
  • CLI: JSON-only command-line access for human operators and AI agents.
  • WebSocket: Low latency, real-time market data and order entry.
If you want to integrate QFEX into an agentic trading workflow without managing WebSocket connections directly, use the QFEX CLI.

Authentication & API Keys

All API calls must be authenticated with an API Key. You can create and manage your keys from your QFEX dashboard:
  1. Sign in at qfex.com and select your profile in the bottom right corner.
  2. Navigate to Developer Settings via the carousel.
  3. Click Generate public and secret API Keys.
  4. Ensure you have 2FA Enabled.
  5. Provide a descriptive name, and confirm.
  6. Copy the generated key and store it securely — it will only be shown once.