GET /balance-history
Your recorded account equity over time (the portfolio chart).
API key required (API-KEY + API-SECRET headers)
Authorization
API-KEYstringrequiredYour API key. Create one →
API-SECRETstringrequiredThe secret shown once when the key was created.
Query parameters
start_timeintegerrequiredUnix time (s, ms or ns).
end_timeintegeroptionalDefault now.
resolutionintegeroptionalSeconds per point, default 3600. Clamped to 60–604800, then coarsened so the response has at most 2000 points (operator-configurable).
Response
200
{history: [[unix_seconds, equity], ...]}, oldest first.start_timeafterend_timereturns 400.- Requires a real API key — the account header alone is rejected.
- History starts when the server began recording snapshots for your account. Snapshots are taken only while the account has a live API key or an open private WebSocket.
- Points older than 8 days are thinned to hourly; points older than 400 days are deleted (server defaults).