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
24/7
Always-On Terminals
0
VPS
MQL
Windows
Terminal
Installs Required
Supported Broker Servers
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

A full-access key for trading, read-only keys scoped to the accounts you choose, and encrypted connections throughout.

Language Agnostic

Stop writing MQL. Use Python, JavaScript, Go, Rust, Java, C# or anything that speaks HTTP. Plain JSON in, plain JSON out.

Historical Data

Pull candlestick history (OHLC bars with tick volume and per-bar spread) for backtesting, and stream live ticks over WebSocket.

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: a full-access key for trading, or read-only keys limited to the accounts you pick.

3

Start Building

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

Use Your Favorite Language

Plain HTTP and JSON, callable from Python, JavaScript, Go, or any language, plus official Python and Node.js SDKs.

example.py
1import requests
2
3# Read your live account balance & equity
4r = requests.get(
5 "https://api.fxsocket.com/mt5/ACCOUNT/AccountSummary",
6 headers={"X-API-Key": "fxs_live_xxx"},
7)
8
9acct = r.json()
10print(acct["balance"], acct["equity"])

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 data (OHLC bars with per-bar spread) 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
€12 / 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 data with per-bar spread
  • ✓ Works with Python, Node, Go, and any language
  • ✓ Your own dedicated terminal per account
Start Building
Premium
€949 / mo

Top limits, a dedicated support channel, and first access to new features.

  • ✓ 110 trading accounts included
  • ✓ €8 per additional account
  • ✓ Highest API rate limits
  • ✓ Dedicated support channel
  • ✓ Early access to new features
Subscribe

Need a fixed IP or a dedicated server for a prop firm? Explore Private Hosting, a dedicated MT4/MT5 server from €17/mo, billed separately from your plan.

★★★★★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 and WebSocket work with any language that can make HTTP requests, Python, JavaScript/Node.js, Go, Rust, and more. No MQL required. There are official Python and Node SDKs, and every account serves its own OpenAPI 3 spec, so you can generate a typed client for any other language.
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?+
All connections are encrypted with TLS. Trading needs your full-access key; for dashboards and monitoring you can create read-only keys, each limited to the accounts you choose. Your broker credentials are encrypted at rest.
Can I manage multiple accounts at once?+
Yes. Connect multiple MT4 and MT5 accounts under one API key, and address each one by its account_id. 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?+
Open positions stay with your broker regardless of our server status, so an outage on our side does not close or change your trades. If you need a contractual uptime SLA, it is available on request.
What’s the difference between Starter and Pro?+
Only the account allowance and the rate limits. Starter bills €12 per account per month; Pro is a flat €549 that includes 60 accounts, adds further ones at €9, raises the rate limits across the API, and adds same-day priority support. Every API feature is on both.
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?+
Starter is €12 per account per month. Pro is €549 a month and includes 60 accounts with higher rate limits, plus €9 for each account beyond that. Premium is €949, includes 110 accounts at the highest limits, and adds further accounts at €8. No hidden fees and no feature gates.

See all frequently asked questions →

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.