Skip to main content
QFEX provides a unified interface for trading, market data, and account operations via:
  • REST API: Account data, account management, and programmatic deposits and withdrawals.
  • 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

Private account and trading requests require authentication. Use API keys for long-running server integrations, or wallet authentication to create a user session by signing an Ethereum SIWE message.

REST API versions

Requests to api.qfex.com use the latest contract unless you send an api_version query parameter. Pin a published date for a stable request and response format. See API versioning for supported versions, examples, and how to use the version selector in this reference.

Account execution history

For settled funding payments, fee rebates, referral rewards, and the timestamp formats used by GET /executions, see Account execution history.