Exness API
Use the Exness API to connect external systems to account data, market data, and trading workflows.
Connect your integration to Exness accounts, trading, and market data.
Start with credentials, resolve the access point for the account, then send signed REST requests or subscribe to WebSocket streams.
GET /v1/configuration/accounts/{account_id}/account
EXN-API-KEY: <EXN_API_KEY>
EXN-IDEMPOTENCY-KEY:
EXN-TIMESTAMP: <unix_ms>
EXN-SIGN-VERSION: 1
EXN-DATA: <base64url_payload>
EXN-SIGN: <base64url_signature>Get started in 3 steps
Prepare Credentials
Gather your Account ID, API Key, and Secret Key. Keep your Secret Key secure locally-never hardcode it or commit it to Git.
2Resolve Access Point
Send a signed request to GET /v1/trading/access-point?account_id={id} using EXN-* headers and an Ed25519 signature. Use the returned access_point host for all subsequent requests.
Execute Trades & Streams
Send signed trading requests like POST /v1/trading/accounts/{id}/orders directly to your resolved host using a unique EXN-IDEMPOTENCY-KEY. Connect to WebSockets using the same signed headers to track asynchronous order execution and stream live market data.
Prerequisites
Exness account
You need an Exness platform-based account.
Full KYC
You need to provide proof of identity and proof of address (where applicable) before API access can be enabled.
Minimum deposit
You need to meet the minimum deposit requirement for your account type.
Account ID, API Key, and Secret Key
After eligibility is met, create credentials in Key Management and keep the Secret Key secure locally.
Expected result
After the quick start, you should have a signed request working, a confirmed account response, and a clear next path: trading operations or market data subscriptions.
What you can build
Trading bot
Open, modify, and close exposure through signed REST operations.
Market data integration
Stream ticks and load candle history for charts, analytics, or strategy logic.
Account monitoring
Track balance, equity, used margin, open positions, and orders.
Automated SLTP management
Attach or modify Stop Loss and Take Profit through order workflows.
Custom trading dashboard
Combine account state, orders, positions, deals, and market data in one interface.
Core concepts preview
Accounts
Account settings, trading status, leverage, margin call, and stop out.
TradingOrders
Trading instructions, pending orders, and SLTP objects.
ExposurePositions
Open market exposure created by executed operations.
ExecutionDeals
Execution results and balance-affecting events.
RealtimeMarket Data
Ticks, candles, instrument updates, and account state events.
RiskMargin & HMR
Margin, leverage, and High Margin Requirement periods.
Main paths
Authentication
Required signed request headers and signature rules.
HostAccess Point / Host Discovery
How to use the DNS widget host or host discovery before account-scoped requests.
ExamplesCode Examples
cURL, Python, and WebSocket examples.
Fix issuesTroubleshooting
HTTP statuses, public API errors, retry guidance, and checklists.