eToro · Schema

HistoricalAccountData

Individual account balance within a historical daily snapshot.

Social TradingCopy TradingInvestingMarket DataPortfolio-ManagementFintechTradingStocksCryptocurrencyETFs

Properties

Name Type Description
accountId string Unique identifier of the account.
accountType object
currency string The account's native currency (ISO 4217).
cash number Cash balance in the account's native currency.
investedAmount number Invested amount in the account's native currency.
pnl number Profit and loss in the account's native currency.
total number Total balance in the account's native currency.
usdRate number Exchange rate to USD.
displayCash number Cash balance converted to the requested display currency.
displayInvestedAmount number Invested amount converted to the requested display currency.
displayPnl number Profit and loss converted to the requested display currency.
displayTotal number Total balance converted to the requested display currency.
exchangeRate number Exchange rate applied to convert to displayCurrency.
View JSON Schema on GitHub

JSON Schema

HistoricalAccountData.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/etoro/refs/heads/main/json-schema/HistoricalAccountData.json",
  "title": "HistoricalAccountData",
  "type": "object",
  "description": "Individual account balance within a historical daily snapshot.",
  "properties": {
    "accountId": {
      "type": "string",
      "nullable": true,
      "description": "Unique identifier of the account."
    },
    "accountType": {
      "$ref": "#/components/schemas/AccountType"
    },
    "currency": {
      "type": "string",
      "nullable": true,
      "description": "The account's native currency (ISO 4217)."
    },
    "cash": {
      "type": "number",
      "format": "double",
      "description": "Cash balance in the account's native currency."
    },
    "investedAmount": {
      "type": "number",
      "format": "double",
      "description": "Invested amount in the account's native currency."
    },
    "pnl": {
      "type": "number",
      "format": "double",
      "description": "Profit and loss in the account's native currency."
    },
    "total": {
      "type": "number",
      "format": "double",
      "description": "Total balance in the account's native currency."
    },
    "usdRate": {
      "type": "number",
      "format": "double",
      "description": "Exchange rate to USD."
    },
    "displayCash": {
      "type": "number",
      "format": "double",
      "description": "Cash balance converted to the requested display currency."
    },
    "displayInvestedAmount": {
      "type": "number",
      "format": "double",
      "description": "Invested amount converted to the requested display currency."
    },
    "displayPnl": {
      "type": "number",
      "format": "double",
      "description": "Profit and loss converted to the requested display currency."
    },
    "displayTotal": {
      "type": "number",
      "format": "double",
      "description": "Total balance converted to the requested display currency."
    },
    "exchangeRate": {
      "type": "number",
      "format": "double",
      "description": "Exchange rate applied to convert to displayCurrency."
    }
  },
  "additionalProperties": false
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/HistoricalAccountData"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

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.