Documentation
API reference, SDK guides, and integration patterns for connecting algo trading bots to Alfax challenges.
OpenAPI Specification
The complete Alfax API is documented in an OpenAPI 3.1 spec. All paths are byte-compatible with Binance Futures USDT-M.
Python SDK Quickstart
Install the first-party alfax package from PyPI for a typed, ergonomic client with challenge-aware helpers.
ccxt / python-binance / Freqtrade
Any library that supports Binance Futures works with a single base_url override. No code changes required.
HMAC-SHA256 Authentication
Private endpoints require an X-MBX-APIKEY header and a signature query parameter — identical to Binance Futures auth.
Alfax Challenge Extensions
Two non-Binance endpoints provide challenge-specific data: GET /fapi/v1/challenge and GET /fapi/v1/challenge/rules. The user-data WebSocket stream also emits challengeUpdate events.
The Alfax API is under active development. For questions, open an issue on the GitHub repository. Contract gaps or spec discrepancies should be flagged there, not worked around.