Integration Overview
REST Base URL:
https://api.6mm.com
WebSocket URL:wss://6mm.com/ws
This documentation is intended for external systems integrating with the 6MM API service. It covers login, JWT authentication, API Key management, API Key HMAC signing, account queries, orders, positions, market data, and WebSocket streams.
Account provisioning and funding preparation are handled through platform-side processes. This documentation only describes externally callable API service endpoints.
Service Endpoints
Integration Flow
Recommended integration sequence:
- Log in with the account provided by the platform and obtain an
accessToken. - For server-side programmatic access, create an API Key with JWT first, and securely store the one-time returned
apiSecret. - Private queries, order endpoints, and position endpoints can be called with either
Authorization: Bearer <accessToken>or API Key signing. - For private WebSocket streams, create a
listenKeyfirst, then connect towss://6mm.com/ws?listenKey=.... - Market data REST endpoints and public WebSocket channels do not require authentication.
Authentication Choice
Documentation Scope
This documentation covers login, JWT authentication, API Key management, API Key HMAC signing, account queries, orders, positions, market data, and WebSocket streams.