get_balance_history
Retrieve daily balance snapshots for eToro accounts over a date range, providing cash, invested amount, PnL, and total balance in your chosen currency.
Instructions
Get daily balance snapshots over a date range.
Calls GET /api/v1/balances/history (or the {accountType} / {accountType}/{accountId} variant when narrowed). Dates are YYYY-MM-DD; the default range is the last 30 days, history covers at most the last 12 months, and a single range spans at most 365 days — the API answers 404 when no data exists for the range. Each snapshot carries total cash, invested amount, PnL, and balance, both in native currencies and converted into display_currency. Rate limit: 60 requests per 60 seconds (default shared quota).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_date | No | Period end, YYYY-MM-DD. Defaults to today (UTC). | |
| from_date | No | Period start, YYYY-MM-DD. Defaults to 30 days before to_date. | |
| account_id | No | Limit history to one account; requires account_type. | |
| account_type | No | Limit history to one account type; omit for all accounts. | |
| display_currency | No | ISO 4217 currency code the display* amounts are converted into. | USD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||