> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qfex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

QFEX provides a unified interface for trading, market data, and account operations via:

* **REST API**: Account data, account management, and [programmatic deposits and withdrawals](https://docs.qfex.com/api-reference/programmatic-funding.md).
* **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](https://docs.qfex.com/api-reference/cli.md).

## Authentication

Private account and trading requests require authentication. Use [API keys](https://docs.qfex.com/api-reference/api-keys.md) for long-running server integrations, or [wallet authentication](https://docs.qfex.com/api-reference/wallet-authentication.md) 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](https://docs.qfex.com/api-reference/versioning.md) for supported
versions, examples, and how to use the version selector in this reference.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.