

/api/v1/journal/tradesYour own journal trades, flattened across your accounts. Owner-scoped: only the key owner's trades are ever returned. profit is the source value as-is (already net of fees on broker-synced accounts); do not re-add commission or swap.
| Name | In | Type | Req. | Description |
|---|---|---|---|---|
| account_id | query | integer | no | Restrict to a single journal account id. |
| page | query | integer | no | Page number (default 1). |
| limit | query | integer | no | Rows per page (default 100, max 500). |
curl -H "Authorization: Bearer afx_live_xxx" \
"https://www.analytics-fx.com/api/v1/journal/trades?account_id=5012345"{
"apiVersion": "v1",
"data": [
{ "accountId": 12, "mtId": "5012345", "platform": "mt5", "server": "ICMarkets-Demo",
"ticket": "998877", "symbol": "EURUSD", "type": "buy", "volume": 0.5,
"openPrice": 1.0821, "closePrice": 1.0860, "openTime": "2026-06-10T08:00:00Z",
"closeTime": "2026-06-10T13:20:00Z", "profit": 195.0, "commission": -3.5, "swap": -0.8 }
],
"meta": { "requestId": "req_ef56",
"credits": { "cost": 2, "remaining": 991 },
"pagination": { "page": 1, "limit": 50, "total": 240, "hasMore": true } }
}GET /api/v1/journal/trades?account_id=12&page=1&limit=100Create a key at /dashboard/api. The key stays in your browser.