MetaKit
beta
API Reference

Base URL: https://api.metakit.cloud

Analyses

GET

/v1/accounts/{id}/analyses

Get analyses

Aggregated performance computed from the account deal history (cached ~60s).

Example request
curl https://api.metakit.cloud/v1/accounts/123/analyses \
  -H "Authorization: Bearer stk_live_..."
Example response
{
  "profit_loss": 8420,
  "growth": 8.42,
  "total_deposits": 100000,
  "total_withdrawals": 0,
  "total_lots": 480.65,
  "total_commission": -320.5,
  "total_swap": -85.2,
  "total_trades": 621,
  "total_longs": 422,
  "total_shorts": 199,
  "total_trades_won": 422,
  "total_trades_lost": 199,
  "average_win": 45.5,
  "average_loss": -127.8,
  "best_trade": 1877.87,
  "best_trade_date": "2026-01-21T14:18:24.000Z",
  "worst_trade": -3932.3,
  "worst_trade_date": "2026-01-20T08:06:28.000Z"
}