Fetching Account Reports: A Step-by-Step Guide
apireportsmt5how-to
The account report endpoint returns a full snapshot of an MT5 account’s performance and history. This guide walks you through calling it and using the data.
Endpoint and authentication
Request:
GET /api/v1/accounts/:accountNumber
Authorization: Bearer YOUR_API_KEYThe account must already be subscribed in your Meta Fiver dashboard. Only accounts linked to your account can be queried.
Response structure
The response is JSON with success, data.report, and the report object. Key areas:
- summary – gain, activity, deposit/withdrawal totals
- summaryIndicators – Sharpe ratio, profit factor, drawdown, etc.
- balance – balance, equity, period chart, and period table
- growth – growth and drawdown over time
- profitTotal / profitMoney / profitDeals – P&L breakdown
- tradeHistory – deals list and summary (win rate, net profit, etc.)
All timestamps are Unix seconds; currency and digits come from the account.
Using the data
Use the report for dashboards, prop firm checks, or risk metrics. Cache responses if you don’t need real-time data—reports are updated after each sync. For subscription and sync status, use the accounts list endpoint.
Need to get set up first? See how to get started with the Meta Fiver API.