Skip to main content
GET
Get asset allocation history

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:

"1bcd6f33-aafd-455c-b2ed-1215e61e7451"

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

username
string
required

Query Parameters

period
enum<string>

Predefined rolling window. Mutually exclusive with minDate/maxDate.

Available options:
CurrMonth,
OneMonthAgo,
TwoMonthsAgo,
CurrQuarter,
ThreeMonthsAgo,
SixMonthsAgo,
CurrYear,
OneYearAgo,
LastYear,
LastTwoYears
minDate
string<date>

Start date inclusive (YYYY-MM-DD). Mutually exclusive with period. Required together with maxDate when period is omitted.

maxDate
string<date>

End date inclusive (YYYY-MM-DD). Mutually exclusive with period. Required together with minDate when period is omitted.

count
integer

Downsample time axis to at most N buckets. Omit or pass 0 for no downsampling.

Required range: x >= 0

Response

Successful response

userName
string
required

Echoes the requested username.

results
object[]
required