# FxSocket documentation > FxSocket is a cloud API for MetaTrader 4 and MetaTrader 5: every connected broker account gets its own MT4 or MT5 terminal, controlled through a REST API and a WebSocket stream. Every page of https://fxsocket.com/docs, linked as Markdown. All of them in one file: https://fxsocket.com/llms-full.txt. Product facts, pricing and the rest of the site: https://fxsocket.com/llms.txt. ## Start here - [FxSocket API Documentation](https://fxsocket.com/docs.md) - [MetaTrader MCP server](https://fxsocket.com/docs/mcp.md) - [Docs for AI coding agents](https://fxsocket.com/docs/ai-agents.md) ## MetaTrader 5 API - [MetaTrader 5 REST & WebSocket API](https://fxsocket.com/docs/mt5.md) - [MetaTrader 5 API Authentication](https://fxsocket.com/docs/mt5/authentication.md) - [MT5 Account Management API](https://fxsocket.com/docs/mt5/accounts.md) - [MetaTrader 5 Account Data & Status API](https://fxsocket.com/docs/mt5/account-data.md) - [MetaTrader 5 Market Data API](https://fxsocket.com/docs/mt5/market-data.md) - [MetaTrader 5 Trading API](https://fxsocket.com/docs/mt5/trading.md) - [MetaTrader 5 WebSocket API](https://fxsocket.com/docs/mt5/websocket.md) - [MetaTrader 5 API Errors & Rate Limits](https://fxsocket.com/docs/mt5/errors.md) ## MetaTrader 4 API - [MetaTrader 4 REST & WebSocket API](https://fxsocket.com/docs/mt4.md) - [MetaTrader 4 API Authentication](https://fxsocket.com/docs/mt4/authentication.md) - [MT4 Account Management API](https://fxsocket.com/docs/mt4/accounts.md) - [MetaTrader 4 Account Data & Status API](https://fxsocket.com/docs/mt4/account-data.md) - [MetaTrader 4 Market Data API](https://fxsocket.com/docs/mt4/market-data.md) - [MetaTrader 4 Trading API](https://fxsocket.com/docs/mt4/trading.md) - [MetaTrader 4 WebSocket API](https://fxsocket.com/docs/mt4/websocket.md) - [MetaTrader 4 API Errors & Rate Limits](https://fxsocket.com/docs/mt4/errors.md) ## Platform API (/v1) - [The /v1 platform API](https://fxsocket.com/docs/api.md) - [Multi-account execution](https://fxsocket.com/docs/api/batch-orders.md) - [Balance and top-ups](https://fxsocket.com/docs/api/wallet.md) ## For AI coding agents - [Rules file for AGENTS.md](https://fxsocket.com/docs/ai-agents/rules.md) - [All docs in one file](https://fxsocket.com/llms-full.txt)