Now supporting MT5. Full Feature Parity

Trade MT4 & MT5
From Your Code
No Terminal Required

We host MetaTrader terminals in the cloud so you don't have to. Control everything through REST APIs and WebSockets, from Python, Go, JavaScript, or any language you want.

Global
Infrastructure
0%
Uptime SLA
0
VPS
MQL
Windows
Terminal
Installs Required
0K+
Trades / Day
Quant FundedMyTradesConnectFX ReplayFortress FXEA Strike
Your Code
your language of choice
await client.orders.create({
symbol: "EURUSD",
type: "BUY",
volume: 0.1
})
REST / WS
FxSocket API
Cloud-hosted bridge
200 OK
<30ms
MT Protocol
MT4 / MT5
Your broker, our terminal
EURUSD1.0834/1.0836
XAUUSD2341.50/2341.80

Everything You Need to
Trade Programmatically

A complete API toolkit built for speed, reliability, and developer experience.

Cloud-Hosted Terminals

No VPS, no local MetaTrader, no Windows server. We run your MT4/MT5 terminals in the cloud, always on, always connected.

REST API

Simple, predictable endpoints for account management, order execution, and trade history. Every call returns clean JSON.

WebSocket Streams

Real-time bid/ask quotes, order updates, and tick data pushed to your app with sub-millisecond latency.

Secure by Default

API keys with granular permissions, IP whitelisting, and encrypted connections throughout.

Language Agnostic

Stop writing MQL. Use Python, JavaScript, Go, Rust, Java, C# or anything that speaks HTTP. Official SDKs included.

Historical Data

Access candlestick (OHLCV) and tick history for backtesting. Download data in CSV or stream it live.

Up and Running in 3 Minutes

No complex setup. No EA installs. Just plug in and start trading.

1

Add Your Broker Account

Enter your broker credentials. We spin up a cloud-hosted MetaTrader terminal for you, no VPS, no installs, nothing to maintain.

2

Get Your API Keys

Generate keys from the dashboard. Set permissions, IP rules, and rate limits.

3

Start Building

Use REST or WebSocket from any language. Execute trades, stream data, automate everything.

Use Your Favorite Language

Clean, intuitive SDKs that feel native to your stack.

example.py
1import fxsocket
2
3client = fxsocket.Client("sk_live_xxx")
4
5# Subscribe to real-time price stream
6def on_quote(quote):
7 print(f"{quote.symbol} Bid:{quote.bid} Ask:{quote.ask}")
8
9client.subscribe("EURUSD", callback=on_quote)
10client.run_forever()

Supports MT4 & MT5

Cloud-hosted MT4 and MT5 terminals. We run them, you just call the API.

MetaTrader 4

MetaTrader 4

The world's most popular retail forex platform, fully managed in the cloud. Connect your broker and start trading via API.

MetaTrader 5

MetaTrader 5

Multi-asset trading across forex, stocks, commodities, and futures. Full netting and hedging support via one API.

Coming Soon
cTrader

cTrader

Advanced charting and Level II pricing. Same clean API, new platform.

Built for How
Traders Actually Work

Whether you're a solo algo trader or running a prop firm with hundreds of accounts. FxSocket fits your workflow.

Algo Trading

Run Strategies 24/7

Deploy automated trading strategies that execute around the clock without babysitting a terminal. Connect your Python or Node.js bot to our API and let it trade while you sleep.

Learn more
Copy Trading

Mirror Trades Across Accounts

Build your own copy trading platform. Detect trades on a master account via WebSocket and replicate them to follower accounts instantly through the REST API.

Learn more
MASTERFOLLOWERBUY EURUSDBUY EURUSDSELL XAUUSDSELL XAUUSDBUY GBPJPYBUY GBPJPY
Backtesting

Test Before You Trade

Pull years of candlestick and tick data through a single endpoint. Feed it into your backtesting engine. No screen scraping, no CSV downloads, no MQL.

Learn more
JanMarMayJulSepNov+187%
Dashboards

Build Custom Trading UIs

Create bespoke dashboards and mobile apps on top of FxSocket. Real-time P&L, position management, and account monitoring. All through clean JSON APIs.

P&L+$2,340POSITIONS7 OpenOrdersHistoryAlerts
Risk Management

Automate Your Risk Rules

Set up programmatic guardrails, auto-close positions at drawdown limits, enforce lot size caps, or halt trading when volatility spikes. Your rules, your code.

Max DD: 5%SAFEHALT
Prop Firms

Scale Your Trading Infra

Manage hundreds of funded accounts from one integration. Provision terminals on demand, monitor performance across traders, and enforce firm-wide risk policies via API.

Learn more
20 / 32 accounts active

Simple, Transparent Pricing

Shared or dedicated. Pick what fits, get full API access on every plan.

Starter
€11 / account / mo

Everything you need to trade programmatically. Built for solo traders, indie devs, and startups.

  • Full REST API + WebSocket access
  • Live and demo accounts
  • Real-time price streams
  • Order execution under 30ms
  • Historical candlestick and tick data
  • Official SDKs for Python, Node, Go, and more
  • No rate limits on WebSocket connections
Start Building
Pro Dual
€860 / mo

Run MT4 and MT5 side by side on dedicated infrastructure. Built for firms trading across both platforms.

  • Everything in Pro
  • MT4 + MT5
  • Dedicated cloud server
  • Dedicated account manager
  • Cross-platform account management
  • Unified API access for both platforms
Subscribe
★★★★★Rated 5/5 on Trustpilot

FxSocket never has access to your funds. We connect to your broker's terminal. We can't withdraw, deposit, or move money. Your broker holds your funds.

Frequently Asked Questions

Do I need to run my own MetaTrader terminal?+
No. We host fully managed MT4 and MT5 terminals in the cloud. Just enter your broker credentials and we handle the rest. No VPS, no local install, no Windows server required.
Which programming languages are supported?+
All of them. Our REST API works with any language that can make HTTP requests. No MQL required. We also provide official SDKs for Python, JavaScript/Node.js, Go and Rust.
What’s the typical latency for order execution?+
Our cloud terminals are co-located near major broker infrastructure. Average API-to-broker latency is under 30ms. WebSocket price streams deliver tick data in real-time with sub-millisecond processing.
Is it safe to connect my live trading account?+
Absolutely. All connections use TLS 1.3 encryption. API keys never leave your environment. We support IP whitelisting, and granular permissions (read-only, trade, full access). Your credentials are encrypted at rest.
Can I manage multiple accounts at once?+
Yes! Connect multiple MT4 and MT5 accounts under one API key. Switch between them using the id parameter in your requests. Perfect for prop firms managing many traders or running multiple strategies.
Which brokers are supported?+
Any broker that supports MT4 or MT5. You connect your existing broker account. We don’t act as a broker or touch your funds. If your broker gives you MT4/MT5 login credentials, it works with FxSocket.
What happens if your servers go down?+
Our infrastructure runs across multiple availability zones with automatic failover. We maintain a 99.99% uptime SLA. Open positions stay with your broker regardless of our server status. Your trades are never at risk if we have an outage.
What’s the difference between Starter and Pro?+
Starter gives you full API access on shared infrastructure at €11 per account per month. Pro plans add a dedicated cloud server, a dedicated account manager, and custom server region selection. Ideal for teams and firms that need guaranteed performance.
How do I get started?+
Create an account, add your broker credentials, and grab your API key. You can make your first API call in under five minutes. No approval process, no setup calls required.
How does pricing work?+
Our Starter plan is €11 per account per month with full API access. Pro plans include dedicated infrastructure and a dedicated account manager. No hidden fees, no feature gates.

Your first API call is five minutes away.

Connect your broker, grab your API key, and start trading from your own code. No VPS, no MQL, no installs.