Skip to main content
GET
Get investor gain time-series

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:

"bd5e1d93-4e82-44f5-8378-aa11212aad64"

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
granularity
enum<string>
required
Available options:
daily,
monthly,
yearly

Query Parameters

minDate
string<date>
maxDate
string<date>
count
integer
Required range: 1 <= x <= 1000

Response

Successful response

username
string
required
granularity
enum<string>
required
Available options:
daily,
monthly,
yearly
gains
object[]
required
totalGain
number | null

Compound gain over the returned series as a decimal fraction. Null when gains is empty.