eToro · Schema

CreateAgentPortfolioResponse

Social TradingCopy TradingInvestingMarket DataPortfolio-ManagementFintechTradingStocksCryptocurrencyETFs

Properties

Name Type Description
agentPortfolioId string The unique identifier of the newly created agent-portfolio.
agentPortfolioName string The display name assigned to the agent-portfolio.
agentPortfolioGcid integer The GCID associated with the agent-portfolio.
agentPortfolioVirtualBalance number The fixed virtual balance (in USD) that the agent-portfolio was funded with. The investmentAmountInUsd used to copy is proportional to this balance.
mirrorId integer The Trading API mirror ID for this agent-portfolio's copy trade.
userTokens array The user tokens generated during agent-portfolio creation.
View JSON Schema on GitHub

JSON Schema

CreateAgentPortfolioResponse.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/etoro/refs/heads/main/json-schema/CreateAgentPortfolioResponse.json",
  "title": "CreateAgentPortfolioResponse",
  "type": "object",
  "properties": {
    "agentPortfolioId": {
      "type": "string",
      "format": "uuid",
      "description": "The unique identifier of the newly created agent-portfolio.",
      "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
    },
    "agentPortfolioName": {
      "type": "string",
      "description": "The display name assigned to the agent-portfolio.",
      "example": "MyPort1"
    },
    "agentPortfolioGcid": {
      "type": "integer",
      "description": "The GCID associated with the agent-portfolio.",
      "example": 12345678
    },
    "agentPortfolioVirtualBalance": {
      "type": "number",
      "description": "The fixed virtual balance (in USD) that the agent-portfolio was funded with. The investmentAmountInUsd used to copy is proportional to this balance.",
      "example": 10000
    },
    "mirrorId": {
      "type": "integer",
      "description": "The Trading API mirror ID for this agent-portfolio's copy trade.",
      "example": 12345
    },
    "userTokens": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CreateAgentPortfolioUserTokenItem"
      },
      "description": "The user tokens generated during agent-portfolio creation."
    }
  }
}

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