Skip to main content
GET
Get historical balances by account type

Authorizations

Authorization
string
header
required

eToro OAuth2. Each operation lists the scopes that grant access as separate security requirements (OpenAPI OR semantics): the caller's token only needs ONE of them — you do NOT need all of them. The same scopes back the x-api-key/x-user-key credential pair.

Headers

x-request-id
string<uuid>
required

A unique request identifier.

Example:

"9e54565b-6978-4d1b-99f1-b57fca6fb070"

x-api-key
string<password>
required

API key for authentication.

Example:

"lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663"

x-user-key
string<password>
required

User-specific authentication key.

Example:

"eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_"

Path Parameters

accountType
enum<string>
required

The account type to retrieve historical balances for. The type of eToro account.

Available options:
Trading,
Cash,
Options,
Crypto,
MoneyFarm,
Spaceship

Query Parameters

displayCurrency
string
default:USD

ISO 4217 currency code for totals and conversions. Defaults to USD.

fromDate
string<date>

Start of the date range (inclusive). Format: YYYY-MM-DD (ISO 8601). Defaults to toDate minus 30 days. Must be within the last 12 months. Maximum range with toDate: 365 days.

toDate
string<date>

End of the date range (inclusive). Format: YYYY-MM-DD (ISO 8601). Defaults to today (UTC). Maximum range with fromDate: 365 days.

accountIds
string

Optional comma-separated list of account IDs to include.

Response

Historical balance snapshots for the specified account type retrieved successfully.

Historical end-of-day balance snapshots for the authenticated user.

gcid
integer<int64>

The user's global customer ID.

displayCurrency
string | null

ISO 4217 currency code used for display values.

fromDate
string<date>

Start of the returned date range (inclusive, ISO 8601).

toDate
string<date>

End of the returned date range (inclusive, ISO 8601).

snapshots
object[] | null

End-of-day balance snapshots, one entry per day in the requested range.