eToro Identity API
The Identity API from eToro — 1 operation(s) for identity.
The Identity API from eToro — 1 operation(s) for identity.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/etoro-identity-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Deprecated eToro Public API operations Agent Portfolios Identity API
version: v1.158.0
description: Snapshot of API operations that existed in the previous docs OpenAPI file and are no longer present in the current upstream Swagger.
servers:
- url: https://public-api.etoro.com/api/v1
description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Identity
paths:
/api/v1/me:
get:
tags:
- Identity
summary: Get authenticated user profile
description: Returns the profile of the currently authenticated user, including account identifiers (GCID, real and demo CIDs), profile fields from Scope Data API (username, name, player level, gender, language, date of birth, LEI), and the OAuth scopes granted to the current access token.
parameters:
- name: x-request-id
in: header
required: true
schema:
type: string
format: uuid
example: 01e83330-c9f5-4a63-8489-1d3116a93c32
description: A unique request identifier.
- name: x-api-key
in: header
required: true
schema:
type: string
format: password
example: lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663
description: API key for authentication.
- name: x-user-key
in: header
required: true
schema:
type: string
format: password
example: eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_
description: User-specific authentication key.
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/meResponse'
examples:
example:
summary: User Profile Response
value:
gcid: 123456
realCid: 789012
demoCid: 345678
username: johndoe
firstName: John
middleName: Q
lastName: Doe
playerLevel: 3
gender: 1
language: 1
dateOfBirth: '1990-01-01'
lei: 5493001KJTIIGC8Y1R12
scopes:
- etoro-public:real:read
- etoro-public:user-info:read
'401':
description: Unauthorized - Missing or invalid authentication credentials
'403':
description: Forbidden - Insufficient permissions
operationId: getAuthenticatedUserProfile
components:
schemas:
meResponse:
type: object
description: Profile of the authenticated user across eToro account types, including granted OAuth scopes.
required:
- gcid
- realCid
- demoCid
- username
- playerLevel
- gender
- language
- dateOfBirth
- scopes
properties:
gcid:
type: integer
description: Global Customer ID - the unique identifier for the user across all eToro systems.
realCid:
type: integer
description: Real account Customer ID - the identifier for the user's real trading account.
demoCid:
type: integer
description: Demo account Customer ID - the identifier for the user's virtual/demo trading account.
username:
type: string
description: The user's unique username.
firstName:
type:
- string
- 'null'
description: The user's first name.
middleName:
type:
- string
- 'null'
description: The user's middle name.
lastName:
type:
- string
- 'null'
description: The user's last name.
playerLevel:
type: integer
description: 'Player level. Possible values: 1 (Bronze), 2 (Platinum), 3 (Gold), 4 (Internal), 5 (Silver), 6 (PlatinumPlus), 7 (Diamond).'
gender:
type: integer
description: 'Gender. Possible values: 0 (Unknown), 1 (Male), 2 (Female).'
language:
type: integer
description: Language ID (e.g. 1 = English, 2 = German).
dateOfBirth:
type: string
description: Date of birth.
lei:
type:
- string
- 'null'
description: Legal Entity Identifier (LEI), when applicable.
scopes:
type: array
description: OAuth scopes granted to the authenticated token.
items:
type: string