FxSocket is a trading API platform aimed at developers, allowing users to operate MT4 and MT5 accounts through code rather than the MetaTrader terminal interface. Its core idea is to run the MetaTrader terminal in the cloud, so users only need to connect their own broker account to execute trades, obtain market data, and perform account management through the REST API or WebSocket.
Purpose
FxSocket is mainly aimed at developers who want to trade forex, stocks, commodities, and futures programmatically. It replaces the traditional approach that requires a local VPS, Windows server, or writing MQL code, allowing developers to interact directly with MT4/MT5 using the language they are familiar with (such as Python, JavaScript, Go, Rust, Java, C#, or any language that supports HTTP).
Main capabilities
- Cloud-hosted terminals: FxSocket runs MetaTrader terminals in the cloud, so users do not need their own VPS or local installation, and the terminals remain online and connected.
- REST API: Provides simple, predictable endpoints for account management, order execution, and trade history queries, returning clean JSON on each call.
- WebSocket streaming: Real-time push of bid/ask quotes, order updates, and tick data, with sub-millisecond latency.
- Security mechanisms: Supports full-permission trading keys, and can also generate read-only keys limited to specific accounts; connections are encrypted end to end.
- Language agnostic: Say goodbye to MQL, and choose Python, JavaScript, Go, Rust, Java, C#, etc.; input and output are pure JSON. Official Python and Node.js SDKs are provided.
- Historical data: Pull candlestick history (OHLC bars, including tick volume and the spread of each bar) through a single endpoint, which can be used for backtesting; real-time ticks can also be streamed via WebSocket.
- Platform support: Supports cloud-hosted MT4 and MT5 terminals. MT5 supports multi-asset trading such as forex, stocks, commodities, and futures, as well as netting and hedging modes.
How to use
According to the official description, "you can be up and running in 3 minutes." The basic process is:
- Add a broker account: enter the broker credentials, and FxSocket will start a cloud-hosted MetaTrader for the user. terminal, without a VPS, installation, or maintenance.
- Get an API key: generate a key in the dashboard, choosing either a full-permission trading key or a read-only key limited to selected accounts.
- Use REST or WebSocket: execute trades in any language, stream data, and automate.
Use cases
- 24/7 strategy operation: deploy automated trading strategies, connect Python or Node.js bots, and no need to stare at the terminal.
- Cross-account mirror trading: build a copy-trading platform, detect trades in the master account via WebSocket, and instantly copy them to follower accounts via the REST API.
- Pre-trade testing: pull years of candlestick data (including the spread on each bar) through a single endpoint and feed it into a backtesting engine, with no screen scraping, CSV downloads, or MQL.
- Custom trading interfaces: build dashboards and mobile apps on top of FxSocket to get real-time P&L, position management, and account monitoring.
- Risk-control automation: programmatically set drawdown limits to automatically close positions, set maximum lot sizes, or pause trading when volatility spikes.
- Scale trading infrastructure: manage hundreds of funded accounts from a single integration, provision terminals on demand, monitor trader performance, and enforce firm-level risk policies.
Pricing
FxSocket offers shared and dedicated plans. Officially, every plan includes full API access. Specific pricing information mentioned in the materials includes:
- Dedicated server Private Hosting starts at €17/month, billed separately, and is suitable for proprietary trading firms that need a fixed IP or dedicated server.
- Higher plans include 60 or 110 trading accounts, with additional accounts billed at €9 or €8 respectively, and offer higher API rate limits, priority support, and more. More detailed per-plan pricing and feature comparisons need to be checked on the official purchase page.
Limitations and notes
- FxSocket states that it never touches user funds; funds are held by the broker the user connects to, and it cannot withdraw, deposit, or transfer funds.
- The service depends on broker terminals. The specific range of supported brokers, account types, and regional restrictions is not provided in the materials.
- The historical depth of backtesting data, the specific values of API rate limits, and other details are not fully explained in the materials and are subject to the official website.
- The official website provides an FAQ page for more answers to common questions.