Skip to main content
GET
/
api
/
v1
/
me
Get authenticated user identity
curl --request GET \
  --url https://public-api.etoro.com/api/v1/me \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-request-id: <x-request-id>' \
  --header 'x-user-key: <x-user-key>'
{
  "gcid": 123456,
  "realCid": 789012,
  "demoCid": 345678
}

Headers

x-request-id
string<uuid>
required

A unique request identifier.

Example:

"cecaba60-7991-4ac7-9dff-d35efb3ecf7a"

x-api-key
string<password>
required

API key for authentication.

Example:

"lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663"

x-user-key
string<password>
required

User-specific authentication key.

Example:

"eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_"

Response

OK

gcid
integer

Global Customer ID - the unique identifier for the user across all eToro systems.

realCid
integer

Real account Customer ID - the identifier for the user's real trading account.

demoCid
integer

Demo account Customer ID - the identifier for the user's virtual/demo trading account.