Documentation

Everything you need to connect accounts and execute trades through the WireMT REST API.

Student API

Give your students MT5 connection and trade execution with only their Student ID. You do not need a VPS, ports or MT5 code. Your server sends two headers and WireMT does the rest.

What you need
  1. A WireMT developer account and its API key (wmt_live_...).
  2. A small piece of server code. Never put the key in browser code.
  3. Each student signs up on WireMT, pays, and copies their Student ID (stu_...) into your app.
Headers

Every request carries both headers.

HTTP
x-api-key: wmt_live_... (your developer key) x-student-uuid: stu_... (the student's ID)
Check a student
GET
GET /v1/student/verify GET /v1/student/verify?email=student@example.com

The ?email=student@example.com query is optional and adds email_match. The email itself is never returned.

Response 200
{ "valid": true, "student_id": "stu_...", "status": "active", "paid": true, "paid_until": "2026-12-05T10:00:00.000Z", "days_left": 30, "accounts": 1, "email_match": true }

status is "active", "expired" or "unpaid". An unknown ID returns 404.

Connect and trade

Connect and trade with just the two headers — no account id, no session.

HTTP
POST /v1/connect { "login": 123456, "password": "...", "server": "Broker-Server" } POST /v1/trade { "symbol": "XAUUSD", "side": "buy", "volume": 0.01 } POST /v1/close, /v1/modify, /v1/close-all, /v1/disconnect GET /v1/positions, /v1/account, /v1/candles