API reference
Get account analysis
GET
https://api.tradesync.com/analyses/{account_id}Returns analysis for an individual account. The account must have connected.
Last updated
Path parameters
- account_idType: integer
- Tradesync account ID belonging to the authenticated user
Response example
{
"result": "success",
"status": 200,
"data": {
"id": 1242495,
"created_at": "2025-04-25T14:16:32Z",
"updated_at": "2025-04-25T14:16:32Z",
"started_at": null,
"profit_loss": 0,
"growth": 0,
"total_deposits": 0,
"total_withdrawals": 0,
"total_lots": 0,
"total_commission": 0,
"total_swap": 0,
"total_trades": 0,
"total_longs": 0,
"total_shorts": 0,
"total_trades_won": 0,
"total_trades_lost": 0,
"average_win": 0,
"average_loss": 0,
"best_trade": 0,
"best_trade_date": null,
"worst_trade": 0,
"worst_trade_date": null,
"longs_won": 0,
"shorts_won": 0
}
}
Response fields
The following date fields can be null. Numeric statistics are returned as numbers.
| Field | Type | Description |
|---|---|---|
| started_at | string or null | Analysis start timestamp in UTC; null when unavailable |
| best_trade_date | string or null | Date of the best recorded trade (YYYY-MM-DD); null when unavailable |
| worst_trade_date | string or null | Date of the worst recorded trade (YYYY-MM-DD); null when unavailable |