API Reference
Scenixa MT5 REST API
Powered by the open-source open-api-mt5 FastAPI service. Explore every endpoint below, view schemas and try requests directly against your own MT5 bridge.
What open-api-mt5 gives you
A starter FastAPI service (v0.1.0) that wraps the MetaTrader 5 terminal in a clean REST API — health, account, symbols, market depth, orders and positions. Scenixa builds on top of it with an enterprise layer for monitoring, logging and dashboards.
Health
Liveness check for the bridge service.
- GET /health
Account
Connect a MetaTrader 5 login and inspect account state.
- GET /account
- POST /account/connect
- POST /account/disconnect
Symbols & Market Data
Discover instruments and read L1/L2 depth.
- GET /symbols
- GET /symbols/{name}
- GET /market-depth/{symbol}
Orders
Place, list and close orders — including scheduled news-close jobs.
- GET /orders
- GET /orders/pending
- POST /orders/close
- GET /orders/news-close/jobs
Positions
Inspect and manage open positions on the current account.
- GET /positions/open
- GET /positions/{ticket}/details
- POST /positions/modify
- POST /positions/adjust-by-money