Skip to main content

GET /balance-history

Your recorded account equity over time (the portfolio chart).

GEThttps://arc-testnet-api.realtime.exchange/balance-history

API key required (API-KEY + API-SECRET headers)

Authorization

API-KEYstringrequired
Your API key. Create one →
API-SECRETstringrequired
The secret shown once when the key was created.

Query parameters

start_timeintegerrequired
Unix time (s, ms or ns).
end_timeintegeroptional
Default now.
resolutionintegeroptional
Seconds 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_time after end_time returns 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).