{"info":{"_postman_id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","name":"Mirror REST API","description":"<html><head></head><body><p>Revision 1</p>\n<p>The Mirror REST API provides a simple and powerful interface that allows developers to integrate their own applications with the Mirror Trading Manager software.</p>\n<p>Using standard HTTP requests and JSON data, developers can access live trading data, manage accounts, execute operations, and automate trading workflows directly from their systems.</p>\n<p>The API is designed to be lightweight, secure, and easy to use, enabling seamless communication between Mirror Trading Manager and third-party applications, scripts, or services.</p>\n<p>Key Features</p>\n<ul>\n<li><p>Account Integration — Access and manage Mirror accounts programmatically.</p>\n</li>\n<li><p>Data Retrieval — Fetch logs and positions.</p>\n</li>\n<li><p>Trading Operations — Send and receive real-time trading commands (future).</p>\n</li>\n<li><p>Secure Access — Built with authentication and permission controls.</p>\n</li>\n</ul>\n<p>~</p>\n<p>There are no limits or rate restrictions on requests between your external application or backend and your server. You can send requests freely without being throttled.</p>\n<p>~</p>\n<p>Requirement:</p>\n<p><strong>Token (Bearer)</strong></p>\n<p><code>request.Headers[\"Authorization\"]</code></p>\n<p>~</p>\n<p><strong>Mirror Trading Manager Version 5.3.1.9+</strong></p>\n<p>You can download Pro Edition from <a href=\"https://www.antonnel.net/mirror/\">https://www.antonnel.net/mirror/</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"6922605","collectionId":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","publishedId":"2sB2ixjDf7","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-05-08T12:58:30.000Z"},"item":[{"name":"login","id":"a2b78910-eb71-4431-9d4b-8059ea0d6c55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"Username\":\"Anton\", \"Password\":\"123\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:17191/login","description":"<p>To log in to the Mirror Trading Manager system and obtain a token key.</p>\n","urlObject":{"host":["http://localhost:17191/login"],"query":[],"variable":[]}},"response":[{"id":"16261b9a-2737-46cf-9523-e15d2f8b4ee8","name":"New Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"Username\":\"Greg\", \"Password\":\"12345\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:17191/login"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Length","value":"82"},{"key":"Server","value":"Microsoft-HTTPAPI/2.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Date","value":"Sun, 12 Oct 2025 10:50:57 GMT"}],"cookie":[],"responseTime":null,"body":"{\"Token\":\"4860973EBB397988\",\"Method\":\"Login\",\"Rev\":1,\"Message\":\"OK\",\"ErrorCode\":0}"}],"_postman_id":"a2b78910-eb71-4431-9d4b-8059ea0d6c55"},{"name":"logout","id":"62aee5e1-8636-424d-9933-0293327c2d46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:17191/logout","description":"<p>To log out of the Mirror Trading Manager system and revoke the token key.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","name":"Mirror REST API","type":"collection"}},"urlObject":{"host":["http://localhost:17191/logout"],"query":[],"variable":[]}},"response":[{"id":"900414f5-7cba-4dc3-900b-dffa2bac3fc4","name":"New Request","originalRequest":{"method":"POST","header":[],"url":"http://localhost:17191/logout"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Length","value":"83"},{"key":"Server","value":"Microsoft-HTTPAPI/2.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Date","value":"Sun, 12 Oct 2025 10:52:18 GMT"}],"cookie":[],"responseTime":null,"body":"{\"Token\":\"4860973EBB397988\",\"Method\":\"Logout\",\"Rev\":1,\"Message\":\"OK\",\"ErrorCode\":0}"}],"_postman_id":"62aee5e1-8636-424d-9933-0293327c2d46"},{"name":"time","id":"9ed1f22b-0ec3-4115-8cfe-4a4a3562f9ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:17191//time","description":"<p>Retrieves time from Mirror Server.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","name":"Mirror REST API","type":"collection"}},"urlObject":{"path":["time"],"host":["http://localhost:17191/"],"query":[],"variable":[]}},"response":[{"id":"c5088b6d-a11e-451a-bb71-a7a0c1fca0f0","name":"time","originalRequest":{"method":"GET","header":[],"url":"http://localhost:17191/time"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Length","value":"120"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Microsoft-HTTPAPI/2.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Date","value":"Mon, 13 Oct 2025 07:57:26 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"Local\": \"2025-10-13 09:57:26:925\",\n    \"UTC\": \"2025-10-13 07:57:26:926\",\n    \"Method\": \"Time\",\n    \"Rev\": 1,\n    \"Message\": \"OK\",\n    \"ErrorCode\": 0\n}"}],"_postman_id":"9ed1f22b-0ec3-4115-8cfe-4a4a3562f9ef"},{"name":"about","id":"c0af384e-6941-4016-877c-2d6395045cd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:17191/about","description":"<p>Retrieves basic information about the Mirror Trading Manager software.<br />This endpoint allows developers to check the current software version, build information, and other metadata about the running instance.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","name":"Mirror REST API","type":"collection"}},"urlObject":{"host":["http://localhost:17191/about"],"query":[],"variable":[]}},"response":[{"id":"20485346-344e-445c-8e96-958e7646a354","name":"about","originalRequest":{"method":"GET","header":[],"url":"http://localhost:17191/about"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 16 Oct 2025 07:20:41 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"ProductName\": \"Mirror Trading Manager [1]\",\n    \"Version\": \"5.2.8.7\",\n    \"Author\": \"Anton Nel\",\n    \"Email\": \"anton.nel.be@gmail.com\",\n    \"Telegram\": \"@antonnel\",\n    \"Uptime\": \"2m 54s\",\n    \"Method\": \"About\",\n    \"Rev\": 1,\n    \"Message\": \"OK\",\n    \"ErrorCode\": 0\n}"}],"_postman_id":"c0af384e-6941-4016-877c-2d6395045cd8"},{"name":"autodetectip","id":"a6558981-ec53-40c5-848a-b4bc5e1a4d74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\"Connector\":\"MT5\",\"FindBrokerServer\":\"Darwinex-Live\"}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:17191/autodetectip","description":"<p>To retrieve a list of all server IP addresses.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","name":"Mirror REST API","type":"collection"}},"urlObject":{"host":["http://localhost:17191/autodetectip"],"query":[],"variable":[]}},"response":[{"id":"f6921cb5-4cc4-4f1e-add2-4673d515bbed","name":"autodetectip","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\"Connector\":\"MT5\",\"FindBrokerServer\":\"Darwinex-Live\"}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:17191/autodetectip"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Length","value":"683"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Microsoft-HTTPAPI/2.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Date","value":"Mon, 13 Oct 2025 16:26:25 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"Connector\": \"MT5\",\n    \"Servers\": [\n        {\n            \"Name\": \"Tradeslide Trading Tech Limited\",\n            \"Server\": \"Darwinex-Live\",\n            \"IP\": \"185.97.161.224:443\"\n        },\n        {\n            \"Name\": \"Tradeslide Trading Tech Limited\",\n            \"Server\": \"Darwinex-Live\",\n            \"IP\": \"185.97.161.224:1950\"\n        },\n        {\n            \"Name\": \"Tradeslide Trading Tech Limited\",\n            \"Server\": \"Darwinex-Live\",\n            \"IP\": \"162.255.145.133:443\"\n        },\n        {\n            \"Name\": \"Tradeslide Trading Tech Limited\",\n            \"Server\": \"Darwinex-Live\",\n            \"IP\": \"162.255.145.133:1950\"\n        },\n        {\n            \"Name\": \"Tradeslide Trading Tech Limited\",\n            \"Server\": \"Darwinex-Live\",\n            \"IP\": \"158.179.218.113:443\"\n        },\n        {\n            \"Name\": \"Tradeslide Trading Tech Limited\",\n            \"Server\": \"Darwinex-Live\",\n            \"IP\": \"149.130.169.33:443\"\n        }\n    ],\n    \"TotalFoundRecords\": 6,\n    \"Method\": \"AutoDetectIP\",\n    \"Rev\": 1,\n    \"Message\": \"OK\",\n    \"ErrorCode\": 0\n}"},{"id":"ab2ca75e-9d53-496c-bec6-c9eee8cbd89b","name":"autodetectip with username and password","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\"Connector\":\"MT4\",\"FindBrokerServer\":\"Tickmill-Demo\",\"Username\":\"JohnWayne\",\"Password\":\"123\"}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:17191/autodetectip"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 16 Oct 2025 08:22:47 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"Connector\": \"MT4\",\n    \"Servers\": [\n        {\n            \"Name\": \"Tickmill Ltd\",\n            \"Server\": \"Tickmill-Demo\",\n            \"IP\": \"demo01.mt4tickmill.com:443\",\n            \"Ping\": 10.55,\n            \"LoginStatus\": \"Passed\"\n        }\n    ],\n    \"TotalFoundRecords\": 1,\n    \"Method\": \"AutoDetectIP\",\n    \"Rev\": 1,\n    \"Message\": \"OK\",\n    \"ErrorCode\": 0\n}"}],"_postman_id":"a6558981-ec53-40c5-848a-b4bc5e1a4d74"},{"name":"addaccount","id":"cb360475-1f39-4e83-bae1-31dd695a085b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"Type\":\"M\", \"TraderId\":\"JohnWayne\",\"Connector\":\"MT5\",\"BrokerAbbr\":\"DARWINEX\",\"BrokerName\":\"Darwinex-Live\",\"Username\":\"411\",\"Pwd\":\"12345\",\"Server\":\"liveUK-mt5.darwinex.com:443\",\"Enable\":true}","options":{"raw":{"language":"json"}}},"url":"http://localhost:17191/addaccount","description":"<p>Creates a new trading account in the Mirror Trading Manager system.</p>\n<p>All fields listed below are <strong>required</strong> when creating a new account.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td>✅</td>\n<td><strong>M</strong> or <strong>F</strong>  <br />M stands for Master  <br />F stands for Follower</td>\n</tr>\n<tr>\n<td><code>traderId</code></td>\n<td>string</td>\n<td>✅</td>\n<td>Unique trader name as identifier.</td>\n</tr>\n<tr>\n<td><code>connector</code></td>\n<td>string</td>\n<td>✅</td>\n<td>Platform connector type: <strong>MT4</strong> or <strong>MT5</strong></td>\n</tr>\n<tr>\n<td><code>brokerAbbr</code></td>\n<td>string</td>\n<td></td>\n<td>Broker abbreviation, used for short reference.</td>\n</tr>\n<tr>\n<td><code>brokerName</code></td>\n<td>string</td>\n<td>✅</td>\n<td>Full broker name.</td>\n</tr>\n<tr>\n<td><code>username</code></td>\n<td>string</td>\n<td>✅</td>\n<td>Account login username.</td>\n</tr>\n<tr>\n<td><code>pwd</code></td>\n<td>string</td>\n<td>✅</td>\n<td>Account password (used to connect).</td>\n</tr>\n<tr>\n<td><code>server</code></td>\n<td>string</td>\n<td>✅</td>\n<td>Broker server ip address</td>\n</tr>\n<tr>\n<td><code>enable</code></td>\n<td>boolean</td>\n<td>✅</td>\n<td>Whether the account is enabled (true/false).</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","name":"Mirror REST API","type":"collection"}},"urlObject":{"host":["http://localhost:17191/addaccount"],"query":[],"variable":[]}},"response":[{"id":"32f2a18b-6a83-401f-9f2a-8f4cb87b39e8","name":"addaccount","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"Type\":\"M\", \"TraderId\":\"JohnWayne\",\"Connector\":\"MT5\",\"BrokerAbbr\":\"DARWINEX\",\"BrokerName\":\"Darwinex-Live\",\"Username\":\"411\",\"Pwd\":\"12345\",\"Server\":\"liveUK-mt5.darwinex.com:443\",\"Enable\":true}","options":{"raw":{"language":"json"}}},"url":"http://localhost:17191/addaccount"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Length","value":"128"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Microsoft-HTTPAPI/2.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Date","value":"Mon, 13 Oct 2025 12:55:14 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"Key\": \"0e1c59db-842a-43fa-b7b0-f5be8f2922c7\",\n    \"TraderId\": \"JohnWayne\",\n    \"Method\": \"AddAccount\",\n    \"Rev\": 1,\n    \"Message\": \"OK\",\n    \"ErrorCode\": 0\n}"}],"_postman_id":"cb360475-1f39-4e83-bae1-31dd695a085b"},{"name":"editaccount","id":"e0b3f4a6-59c5-4f1c-9bba-81b1735977c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:17191/editaccount","description":"<p>⚠️ Under development...</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","name":"Mirror REST API","type":"collection"}},"urlObject":{"host":["http://localhost:17191/editaccount"],"query":[],"variable":[]}},"response":[],"_postman_id":"e0b3f4a6-59c5-4f1c-9bba-81b1735977c2"},{"name":"deleteaccount","id":"180d76cd-8253-4d76-a3eb-1f0cebf64c64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\"TraderId\":\"JohnWayne\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:17191/deleteaccount","description":"<p>Deletes a new trading account in the Mirror Trading Manager system.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","name":"Mirror REST API","type":"collection"}},"urlObject":{"host":["http://localhost:17191/deleteaccount"],"query":[],"variable":[]}},"response":[{"id":"34fabd23-3268-4a82-b2ba-0fe7fe05b9a0","name":"New Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"TraderId\":\"JohnWayne\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:17191/deleteaccount"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Length","value":"131"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Microsoft-HTTPAPI/2.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Date","value":"Mon, 13 Oct 2025 08:06:49 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"Key\": \"71b6bb99-2ae4-43db-9224-4786f83f677c\",\n    \"TraderId\": \"JohnWayne\",\n    \"Method\": \"DeleteAccount\",\n    \"Rev\": 1,\n    \"Message\": \"OK\",\n    \"ErrorCode\": 0\n}"}],"_postman_id":"180d76cd-8253-4d76-a3eb-1f0cebf64c64"},{"name":"loginaccount","id":"d446353e-b075-4ebd-87f5-453bd5f2f304","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\"TraderId\":\"JohnWayne\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:17191/loginaccount","description":"<p>Logs in a trading account to the Mirror Trading Manager system.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","name":"Mirror REST API","type":"collection"}},"urlObject":{"host":["http://localhost:17191/loginaccount"],"query":[],"variable":[]}},"response":[{"id":"ed348304-f5e7-4bd1-8135-599d1779653b","name":"loginaccount","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"TraderId\":\"Paul\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:17191/loginaccount"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Length","value":"125"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Microsoft-HTTPAPI/2.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Date","value":"Mon, 13 Oct 2025 08:12:39 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"Key\": \"e0ef88eb-3ea4-4455-a74e-6f087b7d6d48\",\n    \"TraderId\": \"Paul\",\n    \"Method\": \"LoginAccount\",\n    \"Rev\": 1,\n    \"Message\": \"OK\",\n    \"ErrorCode\": 0\n}"}],"_postman_id":"d446353e-b075-4ebd-87f5-453bd5f2f304"},{"name":"logoutaccount","id":"979c5ee9-af0b-4716-ab66-b3e438be1b83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\"TraderId\":\"JohnWayne\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:17191/logoutaccount","description":"<p>Logs out a trading account from the Mirror Trading Manager system.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","name":"Mirror REST API","type":"collection"}},"urlObject":{"host":["http://localhost:17191/logoutaccount"],"query":[],"variable":[]}},"response":[{"id":"80b41fd9-15e3-4692-be54-681901e438a1","name":"logoutaccount","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\"TraderId\":\"JohnWayne\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:17191/logoutaccount"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Length","value":"131"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Microsoft-HTTPAPI/2.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Date","value":"Mon, 13 Oct 2025 12:57:12 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"Key\": \"0e1c59db-842a-43fa-b7b0-f5be8f2922c7\",\n    \"TraderId\": \"JohnWayne\",\n    \"Method\": \"LogoutAccount\",\n    \"Rev\": 1,\n    \"Message\": \"OK\",\n    \"ErrorCode\": 0\n}"}],"_postman_id":"979c5ee9-af0b-4716-ab66-b3e438be1b83"},{"name":"brokers","id":"c453716a-a0f2-443f-a0d1-208ac90a980d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:17191/brokers","description":"<p>Retrieves the list of all active brokers in Mirror.<br />Each broker entry includes its name and server IP address.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","name":"Mirror REST API","type":"collection"}},"urlObject":{"host":["http://localhost:17191/brokers"],"query":[],"variable":[]}},"response":[{"id":"29f3d0bc-6f9d-4103-9faa-8fb31c11a7be","name":"brokers","originalRequest":{"method":"GET","header":[],"url":"http://localhost:17191/brokers"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Length","value":"613"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Microsoft-HTTPAPI/2.0"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Date","value":"Mon, 13 Oct 2025 12:58:04 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"Brokers\": [\n        {\n            \"Abbr\": \"\",\n            \"Name\": \"CTRADER\",\n            \"Connector\": \"CTRADER\",\n            \"Server\": \"demo.ctraderapi.com:5035\",\n            \"Ping\": \"7.10\"\n        },\n        {\n            \"Abbr\": \"DARWINEX\",\n            \"Name\": \"Darwinex-Live\",\n            \"Connector\": \"MT5\",\n            \"Server\": \"liveUK-mt5.darwinex.com:443\",\n            \"Ping\": \"\"\n        },\n        {\n            \"Abbr\": \"TICKMILL\",\n            \"Name\": \"Tickmill-Demo\",\n            \"Connector\": \"MT4\",\n            \"Server\": \"london05.mt4tickmill.com:447\",\n            \"Ping\": \"15.77\"\n        },\n        {\n            \"Abbr\": \"\",\n            \"Name\": \"tradingview\",\n            \"Connector\": \"WEBHOOK\",\n            \"Server\": \"\",\n            \"Ping\": \"0.00\"\n        },\n        {\n            \"Abbr\": \"XMGLOBAL-MT5\",\n            \"Name\": \"XMGlobal-MT5\",\n            \"Connector\": \"MT5\",\n            \"Server\": \"dc-r50-02.mt4servers.com:443\",\n            \"Ping\": \"53.00\"\n        }\n    ],\n    \"TotalBrokers\": 5,\n    \"Method\": \"Brokers\",\n    \"Rev\": 1,\n    \"Message\": \"OK\",\n    \"ErrorCode\": 0\n}"}],"_postman_id":"c453716a-a0f2-443f-a0d1-208ac90a980d"},{"name":"balances","id":"45ee8a1c-110b-4849-9c72-64b5ec5f7a14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\"TraderId\":\"Paul\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:17191/balances","description":"<p>Retrieves account information for one or all traders connected to the Mirror Trading Manager.<br />The response includes the balance, equity, and live P/L for each trader.<br />You can request data for a specific trader by providing their traderId, or for all traders by using traderId=all.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","name":"Mirror REST API","type":"collection"}},"urlObject":{"host":["http://localhost:17191/balances"],"query":[],"variable":[]}},"response":[{"id":"e329f62c-55f0-4c83-871b-f92af75256ef","name":"balances","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\"TraderId\":\"Paul\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:17191/balances"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 14 Nov 2025 10:17:37 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"TraderId\": \"Paul\",\n    \"Balances\": [\n        {\n            \"Type\": \"Follower\",\n            \"TraderId\": \"Paul\",\n            \"Connector\": \"MT5\",\n            \"BrokerAbbr\": \"XMGLOBAL-MT5\",\n            \"BrokerName\": \"XMGlobal-MT5\",\n            \"Username\": \"27353510\",\n            \"BrokerIp\": \"dc-r50-02.mt4servers.com:443\",\n            \"Ping\": 15.42,\n            \"PosBuy\": 0,\n            \"QtyBuy\": 0,\n            \"PosSell\": 10,\n            \"QtySell\": 0.23,\n            \"YesterdayBal\": 10765.96,\n            \"Bal\": 10765.96,\n            \"Equity\": 8625.46,\n            \"LivePL\": -2140.5,\n            \"ConnectionStatus\": \"Connected\",\n            \"MM_Mode\": \"SAME_LOT_AS_MASTER\",\n            \"MM_RiskType\": \"\",\n            \"MM_Value\": 1,\n            \"MM_CalContractSize\": false\n        }\n    ],\n    \"TotalTraders\": 1,\n    \"Method\": \"Balances\",\n    \"Rev\": 1,\n    \"Message\": \"OK\",\n    \"ErrorCode\": 0\n}"}],"_postman_id":"45ee8a1c-110b-4849-9c72-64b5ec5f7a14"},{"name":"tradeshistory","id":"8f5fc0b2-8ed0-497d-a523-8bbad9b489d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\"TraderId\":\"Master-111\", \"DateFrom\":\"6 Oct 2025 00:00\", \"DateTo\":\"10 Oct 2025 00:00\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:17191/tradeshistory","description":"<p>Downloads the trade records from the history table within a specified date range.<br />You must provide both a start date and an end date as query parameters.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","id":"19aa7d94-cf5a-4ed6-b9e3-54e6194f7263","name":"Mirror REST API","type":"collection"}},"urlObject":{"host":["http://localhost:17191/tradeshistory"],"query":[],"variable":[]}},"response":[{"id":"9e02bf19-e43a-4b3d-92b3-ca6a73d1a19f","name":"tradeshistory","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\"TraderId\":\"Master-111\", \"DateFrom\":\"6 Oct 2025 00:00\", \"DateTo\":\"10 Oct 2025 00:00\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:17191/tradeshistory"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 16 Oct 2025 08:03:32 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"TraderId\": \"Master-111\",\n    \"TradeHistorys\": [\n        {\n            \"TraderId\": \"MASTER-111\",\n            \"Type\": \"Master\",\n            \"Connector\": \"MT4\",\n            \"BrokerAbbr\": \"TICKMILL\",\n            \"BrokerName\": \"Tickmill-Demo\",\n            \"Username\": \"20108964\",\n            \"DateFrom\": \"2025-10-06 00:00:00.000\",\n            \"DateTo\": \"2025-10-10 00:00:00.000\",\n            \"SymbolCode\": \"XAUUSD\",\n            \"OpenTime\": \"2025-10-06 10:17:00.000\",\n            \"CloseTime\": \"2025-10-06 10:17:57.000\",\n            \"Ticket\": 216340389,\n            \"Operation\": \"Buy\",\n            \"Lots\": 0.01,\n            \"OpenPrice\": 3935.28,\n            \"ClosePrice\": 3935,\n            \"StopLoss\": 0,\n            \"TakeProfit\": 0,\n            \"Swap\": 0,\n            \"Commission\": 0,\n            \"GrossProfit\": 0,\n            \"NetProfit\": -0.28,\n            \"RunningTotalPL\": -0.28\n        },\n        {\n            \"TraderId\": \"MASTER-111\",\n            \"Type\": \"Master\",\n            \"Connector\": \"MT4\",\n            \"BrokerAbbr\": \"TICKMILL\",\n            \"BrokerName\": \"Tickmill-Demo\",\n            \"Username\": \"20108964\",\n            \"DateFrom\": \"2025-10-06 00:00:00.000\",\n            \"DateTo\": \"2025-10-10 00:00:00.000\",\n            \"SymbolCode\": \"XAUUSD\",\n            \"OpenTime\": \"2025-10-06 10:26:45.000\",\n            \"CloseTime\": \"2025-10-06 10:28:37.000\",\n            \"Ticket\": 216340782,\n            \"Operation\": \"Buy\",\n            \"Lots\": 0.01,\n            \"OpenPrice\": 3931.31,\n            \"ClosePrice\": 3932.33,\n            \"StopLoss\": 0,\n            \"TakeProfit\": 0,\n            \"Swap\": 0,\n            \"Commission\": 0,\n            \"GrossProfit\": 0,\n            \"NetProfit\": 1.02,\n            \"RunningTotalPL\": 0.74\n        },\n        {\n            \"TraderId\": \"MASTER-111\",\n            \"Type\": \"Master\",\n            \"Connector\": \"MT4\",\n            \"BrokerAbbr\": \"TICKMILL\",\n            \"BrokerName\": \"Tickmill-Demo\",\n            \"Username\": \"20108964\",\n            \"DateFrom\": \"2025-10-06 00:00:00.000\",\n            \"DateTo\": \"2025-10-10 00:00:00.000\",\n            \"SymbolCode\": \"XAUUSD\",\n            \"OpenTime\": \"2025-10-06 10:31:30.000\",\n            \"CloseTime\": \"2025-10-06 10:33:59.000\",\n            \"Ticket\": 216340895,\n            \"Operation\": \"Buy\",\n            \"Lots\": 0.01,\n            \"OpenPrice\": 3931.72,\n            \"ClosePrice\": 3933.73,\n            \"StopLoss\": 0,\n            \"TakeProfit\": 0,\n            \"Swap\": 0,\n            \"Commission\": 0,\n            \"GrossProfit\": 0,\n            \"NetProfit\": 2.01,\n            \"RunningTotalPL\": 2.75\n        },\n        {\n            \"TraderId\": \"MASTER-111\",\n            \"Type\": \"Master\",\n            \"Connector\": \"MT4\",\n            \"BrokerAbbr\": \"TICKMILL\",\n            \"BrokerName\": \"Tickmill-Demo\",\n            \"Username\": \"20108964\",\n            \"DateFrom\": \"2025-10-06 00:00:00.000\",\n            \"DateTo\": \"2025-10-10 00:00:00.000\",\n            \"SymbolCode\": \"XAUUSD\",\n            \"OpenTime\": \"2025-10-06 10:32:07.000\",\n            \"CloseTime\": \"2025-10-06 10:34:13.000\",\n            \"Ticket\": 216340925,\n            \"Operation\": \"Buy\",\n            \"Lots\": 0.01,\n            \"OpenPrice\": 3933.31,\n            \"ClosePrice\": 3933.6,\n            \"StopLoss\": 0,\n            \"TakeProfit\": 0,\n            \"Swap\": 0,\n            \"Commission\": 0,\n            \"GrossProfit\": 0,\n            \"NetProfit\": 0.29,\n            \"RunningTotalPL\": 3.04\n        },\n        {\n            \"TraderId\": \"MASTER-111\",\n            \"Type\": \"Master\",\n            \"Connector\": \"MT4\",\n            \"BrokerAbbr\": \"TICKMILL\",\n            \"BrokerName\": \"Tickmill-Demo\",\n            \"Username\": \"20108964\",\n            \"DateFrom\": \"2025-10-06 00:00:00.000\",\n            \"DateTo\": \"2025-10-10 00:00:00.000\",\n            \"SymbolCode\": \"XAUUSD\",\n            \"OpenTime\": \"2025-10-06 10:41:15.000\",\n            \"CloseTime\": \"2025-10-06 10:41:45.000\",\n            \"Ticket\": 216341379,\n            \"Operation\": \"Buy\",\n            \"Lots\": 0.01,\n            \"OpenPrice\": 3933.45,\n            \"ClosePrice\": 3935.8,\n            \"StopLoss\": 0,\n            \"TakeProfit\": 0,\n            \"Swap\": 0,\n            \"Commission\": 0,\n            \"GrossProfit\": 0,\n            \"NetProfit\": 2.35,\n            \"RunningTotalPL\": 5.39\n        }\n    ],\n    \"TotalTrades\": 5,\n    \"Method\": \"TradesHistory\",\n    \"Rev\": 1,\n    \"Message\": \"OK\",\n    \"ErrorCode\": 0\n}"}],"_postman_id":"8f5fc0b2-8ed0-497d-a523-8bbad9b489d1"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"3de47787-47ba-44ba-89b4-21ec04a9c47d","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"b2b8c30b-cc59-42a1-8a73-72fb7c454e2f","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"URL","value":"http://localhost:17191/"}]}