eToro · Schema

ClientPortfolio

Social TradingCopy TradingInvestingMarket DataPortfolio-ManagementFintechTradingStocksCryptocurrencyETFs

Properties

Name Type Description
positions array List of currently open trading positions
credit number Available trading balance in USD, representing funds available for new actions
mirrors array Copy trading configurations and positions
orders array List of pending orders
ordersForOpen array Active orders to open positions
ordersForClose array Active orders to close positions
ordersForCloseMultiple array Active orders to close multiple positions
bonusCredit number Bonus credit amount in USD in the account
unrealizedPnL number Total unrealized profit and loss across all open positions in the portfolio
accountCurrencyId integer Currency ID of the account (1 = USD)
stockOrders array Stock-specific pending orders
entryOrders array Entry orders awaiting execution
exitOrders array Exit orders awaiting execution
View JSON Schema on GitHub

JSON Schema

ClientPortfolio.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/etoro/refs/heads/main/json-schema/ClientPortfolio.json",
  "title": "ClientPortfolio",
  "type": "object",
  "properties": {
    "positions": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Position"
      },
      "description": "List of currently open trading positions"
    },
    "credit": {
      "type": "number",
      "format": "float",
      "description": "Available trading balance in USD, representing funds available for new actions"
    },
    "mirrors": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Mirror"
      },
      "description": "Copy trading configurations and positions"
    },
    "orders": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Order"
      },
      "description": "List of pending orders"
    },
    "ordersForOpen": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/OrderForOpen"
      },
      "description": "Active orders to open positions"
    },
    "ordersForClose": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/OrderForClose"
      },
      "description": "Active orders to close positions"
    },
    "ordersForCloseMultiple": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/OrderForCloseMultiple"
      },
      "description": "Active orders to close multiple positions"
    },
    "bonusCredit": {
      "type": "number",
      "format": "float",
      "description": "Bonus credit amount in USD in the account"
    },
    "unrealizedPnL": {
      "type": "number",
      "format": "float",
      "description": "Total unrealized profit and loss across all open positions in the portfolio"
    },
    "accountCurrencyId": {
      "type": "integer",
      "description": "Currency ID of the account (1 = USD)"
    },
    "stockOrders": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Stock-specific pending orders"
    },
    "entryOrders": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Entry orders awaiting execution"
    },
    "exitOrders": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Exit orders awaiting execution"
    }
  }
}

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/ClientPortfolio"
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.