Rate limit: 60 requests per 60 seconds. This is the default shared quota — it is shared with every other endpoint that has no dedicated limit, so requests across those endpoints all draw from the same budget.
Creates a new agent-portfolio using scope names. Scopes are specified by name (scopeNames); scope ids are not supported in v2. IMPORTANT: investmentAmountInUsd is the amount deducted from YOUR (the caller’s) account balance to copy-trade this agent-portfolio — it is NOT the agent-portfolio’s own balance. Positions are mirrored proportionally: e.g. if you invest 2,000andagentPortfolioVirtualBalanceis10,000, each position is copied at 20% of its size into your account.
API key of the application. Only valid together with the x-user-key header — the pair is an alternative to OAuth bearer authentication, never sent alongside it. The pair is granted the same permissions the operation's OAuth scopes describe.
Demo credential for trying the API from these docs: lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663
User-specific authentication key. Only valid together with the x-api-key header — the pair is an alternative to OAuth bearer authentication, never sent alongside it.
Demo credential for trying the API from these docs: eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_
The amount in USD deducted from the CALLER's account balance to copy-trade this agent-portfolio. This is NOT the agent-portfolio's own balance — the agent-portfolio receives a separate fixed virtual balance (returned as agentPortfolioVirtualBalance). Positions are mirrored proportionally: e.g. $2,000 with a $10,000 virtual balance = 20% position sizing.
The set of permission scope names to grant to the provisioned user token. Available scopes: etoro-public:trade.real:read, etoro-public:trade.real:write, etoro-public:trade.demo:read, etoro-public:trade.demo:write.
The user tokens generated during agent-portfolio creation.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"etoro API Docs","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/etoro-6fc30280/KKUNTvuhL1tWIl3G/images/logo.svg?fit=max\u0026auto=format\u0026n=KKUNTvuhL1tWIl3G\u0026q=85\u0026s=7bbb280a3f86decc927b143516fd5b80","dark":"https://mintcdn.com/etoro-6fc30280/KKUNTvuhL1tWIl3G/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=KKUNTvuhL1tWIl3G\u0026q=85\u0026s=a861cfdb3d024e2cb3df41653159c91a"},"favicon":"https://mintcdn.com/etoro-6fc30280/MTKJaixgHfhPDkFN/favicon.svg?fit=max\u0026auto=format\u0026n=MTKJaixgHfhPDkFN\u0026q=85\u0026s=0e51b4752d27e2e71dd3f05670b4d9e1","api":{"playground":{"display":"interactive"},"examples":{"prefill":true}},"navbar":{"primary":{"type":"button","label":"Get API Keys","href":"https://www.etoro.com/settings/trade"}},"footer":{"socials":{"x":"https://x.com/etoro","linkedin":"https://linkedin.com/company/etoro"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"etoro-6fc30280","hasAudioNarration":false,"actualSubdomain":"etoro-6fc30280","customDomains":["api-portal.etoro.com"],"gitSource":{"type":"github","owner":"etoro-ai-foundry","repo":"etoro-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aec746b853e3bed8b01922e","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Core API","count":330},{"language":"default","tag":"Partners API","count":133},{"language":"default","tag":"Create the user","count":31},{"language":"default","tag":"KYC","count":23},{"language":"default","tag":"Trading - Demo","count":23},{"language":"default","tag":"Trading - Real","count":23},{"language":"default","tag":"Watchlists","count":18},{"language":"default","tag":"Deprecated","count":15},{"language":"default","tag":"Money","count":15},{"language":"default","tag":"Operations","count":15}]},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"apisupport@etoro.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html:not([data-preview])[data-current-path^=\"/core/websocket/notifications\"] [data-testid=\"try-it-button\"],html:not([data-preview])[data-current-path^=\"/core/websocket/notifications\"] .tryit-button,html:not([data-preview])[data-current-path^=\"/core/websocket/notifications\"] #api-playground,html:not([data-preview])[data-current-path^=\"/core/websocket/notifications\"] [data-testid=\"playground\"],html:not([data-preview])[data-current-path^=\"/core/websocket/notifications\"] [class*=\"playground-button\"],html:not([data-preview])[data-current-path^=\"/core/websocket/notifications\"] button[aria-label=\"Try it\"],html:not([data-preview])[data-current-path^=\"/core/websocket/notifications\"] button[aria-label=\"Connect\"]{display:none!important}html:not([data-preview])[data-current-path^=\"/core/websocket/notifications\"] #endpoints-menu-trigger,html:not([data-preview])[data-current-path^=\"/core/websocket/notifications\"] [aria-labelledby=\"endpoints-menu-trigger\"],html:not([data-preview])[data-current-path^=\"/core/websocket/notifications\"] [id^=\"endpoints-menu-trigger\"]{display:none!important}html:not([data-preview]) [role=\"menu\"] a[href^=\"/core/websocket/notifications\"],html:not([data-preview]) [data-testid=\"playground\"] a[href^=\"/core/websocket/notifications\"]{display:none!important}a:focus-visible,button:focus-visible,summary:focus-visible,[role=\"button\"]:focus-visible,[role=\"menuitem\"]:focus-visible,[tabindex]:not([tabindex=\"-1\"]):focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:4px}@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms;animation-iteration-count:1;transition-duration:0.01ms}}button[aria-label]:not([aria-label=\"\"]){min-width:24px;min-height:24px}main h2{margin-top:2.25em;margin-bottom:0.6em}main h3{margin-top:1.75em;margin-bottom:0.5em}main>h2:first-child,main>h3:first-child{margin-top:0}main p,main>ul,main>ol{max-width:78ch}main :not(pre)>code{padding:0.12em 0.36em;border-radius:5px;font-size:0.9em;background:color-mix(in srgb, currentColor 7%, transparent);letter-spacing:-0.01em}main table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}main tbody tr:nth-child(even){background:color-mix(in srgb, currentColor 3%, transparent)}[data-component-part=\"field-name\"]{font-weight:600;font-variant-numeric:tabular-nums}[data-component-part=\"field-required-pill\"]{font-weight:650;letter-spacing:0.01em;color:#B45309}.dark [data-component-part=\"field-required-pill\"]{color:#FCD34D}[data-component-part=\"code-block-root\"]{border-radius:10px;border:1px solid color-mix(in srgb, currentColor 12%, transparent)}[data-testid=\"copy-code-button\"]:focus-visible{opacity:1}[data-current-path^=\"/core/websocket\"] [data-component-part=\"field-name\"]{scroll-margin-top:6rem}main :is(h1,h2,h3,h4){scroll-margin-top:6rem}nav a[aria-current=\"page\"]{font-weight:650}.nav-tag-pill{flex-shrink:0}.nav-tag-pill-text{white-space:nowrap}@media print{nav,aside,[data-component-part=\"pagination-prev\"],[data-component-part=\"pagination-next\"]{display:none}main a[href^=\"http\"]::after{content:\" (\" attr(href) \")\";font-size:0.85em;word-break:break-all}}"}],"page":{"pagePath":"api-reference/agent-portfolios/create-agent-portfolio-v2","slug":"/api-reference/agent-portfolios/create-agent-portfolio-v2","pageMetadata":{"title":"Create Agent Portfolio (v2)","description":"**Rate limit:** 60 requests per 60 seconds. This is the **default shared quota** — it is shared with every other endpoint that has no dedicated limit, so requests across those endpoints all draw from the same budget.\n\n---\n\nCreates a new agent-portfolio using scope names. Scopes are specified by name (scopeNames); scope ids are not supported in v2. IMPORTANT: investmentAmountInUsd is the amount deducted from YOUR (the caller's) account balance to copy-trade this agent-portfolio — it is NOT the agent-portfolio's own balance. Positions are mirrored proportionally: e.g. if you invest $2,000 and agentPortfolioVirtualBalance is $10,000, each position is copied at 20% of its size into your account.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/agent-portfolios","href":"/api-reference/agent-portfolios/create-agent-portfolio-v2","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n annotation: \"annotation\",\n hr: \"hr\",\n math: \"math\",\n mi: \"mi\",\n mn: \"mn\",\n mo: \"mo\",\n mrow: \"mrow\",\n p: \"p\",\n semantics: \"semantics\",\n span: \"span\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Rate limit:\"\n }), \" 60 requests per 60 seconds. This is the \", _jsx(_components.strong, {\n children: \"default shared quota\"\n }), \" — it is shared with every other endpoint that has no dedicated limit, so requests across those endpoints all draw from the same budget.\"]\n }), \"\\n\", _jsx(_components.hr, {}), \"\\n\", _jsxs(_components.p, {\n children: [\"Creates a new agent-portfolio using scope names. Scopes are specified by name (scopeNames); scope ids are not supported in v2. IMPORTANT: investmentAmountInUsd is the amount deducted from YOUR (the caller’s) account balance to copy-trade this agent-portfolio — it is NOT the agent-portfolio’s own balance. Positions are mirrored proportionally: e.g. if you invest \", _jsxs(_components.span, {\n className: \"katex\",\n children: [_jsx(_components.span, {\n className: \"katex-mathml\",\n children: _jsx(_components.math, {\n xmlns: \"http://www.w3.org/1998/Math/MathML\",\n children: _jsxs(_components.semantics, {\n children: [_jsxs(_components.mrow, {\n children: [_jsx(_components.mn, {\n children: \"2\"\n }), _jsx(_components.mo, {\n separator: \"true\",\n children: \",\"\n }), _jsx(_components.mn, {\n children: \"000\"\n }), _jsx(_components.mi, {\n children: \"a\"\n }), _jsx(_components.mi, {\n children: \"n\"\n }), _jsx(_components.mi, {\n children: \"d\"\n }), _jsx(_components.mi, {\n children: \"a\"\n }), _jsx(_components.mi, {\n children: \"g\"\n }), _jsx(_components.mi, {\n children: \"e\"\n }), _jsx(_components.mi, {\n children: \"n\"\n }), _jsx(_components.mi, {\n children: \"t\"\n }), _jsx(_components.mi, {\n children: \"P\"\n }), _jsx(_components.mi, {\n children: \"o\"\n }), _jsx(_components.mi, {\n children: \"r\"\n }), _jsx(_components.mi, {\n children: \"t\"\n }), _jsx(_components.mi, {\n children: \"f\"\n }), _jsx(_components.mi, {\n children: \"o\"\n }), _jsx(_components.mi, {\n children: \"l\"\n }), _jsx(_components.mi, {\n children: \"i\"\n }), _jsx(_components.mi, {\n children: \"o\"\n }), _jsx(_components.mi, {\n children: \"V\"\n }), _jsx(_components.mi, {\n children: \"i\"\n }), _jsx(_components.mi, {\n children: \"r\"\n }), _jsx(_components.mi, {\n children: \"t\"\n }), _jsx(_components.mi, {\n children: \"u\"\n }), _jsx(_components.mi, {\n children: \"a\"\n }), _jsx(_components.mi, {\n children: \"l\"\n }), _jsx(_components.mi, {\n children: \"B\"\n }), _jsx(_components.mi, {\n children: \"a\"\n }), _jsx(_components.mi, {\n children: \"l\"\n }), _jsx(_components.mi, {\n children: \"a\"\n }), _jsx(_components.mi, {\n children: \"n\"\n }), _jsx(_components.mi, {\n children: \"c\"\n }), _jsx(_components.mi, {\n children: \"e\"\n }), _jsx(_components.mi, {\n children: \"i\"\n }), _jsx(_components.mi, {\n children: \"s\"\n })]\n }), _jsx(_components.annotation, {\n encoding: \"application/x-tex\",\n children: \"2,000 and agentPortfolioVirtualBalance is \"\n })]\n })\n })\n }), _jsx(_components.span, {\n className: \"katex-html\",\n \"aria-hidden\": \"true\",\n children: _jsxs(_components.span, {\n className: \"base\",\n children: [_jsx(_components.span, {\n className: \"strut\",\n style: {\n height: \"0.8889em\",\n verticalAlign: \"-0.1944em\"\n }\n }), _jsx(_components.span, {\n className: \"mord\",\n children: \"2\"\n }), _jsx(_components.span, {\n className: \"mpunct\",\n children: \",\"\n }), _jsx(_components.span, {\n className: \"mspace\",\n style: {\n marginRight: \"0.1667em\"\n }\n }), _jsx(_components.span, {\n className: \"mord\",\n children: \"000\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n children: \"an\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n children: \"d\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n children: \"a\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n style: {\n marginRight: \"0.0359em\"\n },\n children: \"g\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n children: \"e\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n children: \"n\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n style: {\n marginRight: \"0.1389em\"\n },\n children: \"tP\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n style: {\n marginRight: \"0.0278em\"\n },\n children: \"or\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n children: \"t\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n style: {\n marginRight: \"0.1076em\"\n },\n children: \"f\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n children: \"o\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n style: {\n marginRight: \"0.0197em\"\n },\n children: \"l\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n children: \"i\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n children: \"o\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n style: {\n marginRight: \"0.2222em\"\n },\n children: \"V\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n children: \"i\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n style: {\n marginRight: \"0.0278em\"\n },\n children: \"r\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n children: \"t\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n children: \"u\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n children: \"a\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n style: {\n marginRight: \"0.0197em\"\n },\n children: \"l\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n style: {\n marginRight: \"0.0502em\"\n },\n children: \"B\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n children: \"a\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n style: {\n marginRight: \"0.0197em\"\n },\n children: \"l\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n children: \"an\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n children: \"ce\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n children: \"i\"\n }), _jsx(_components.span, {\n className: \"mord mathnormal\",\n children: \"s\"\n })]\n })\n })]\n }), \"10,000, each position is copied at 20% of its size into your account.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Agent Portfolio (v2)","description":"**Rate limit:** 60 requests per 60 seconds. This is the **default shared quota** — it is shared with every other endpoint that has no dedicated limit, so requests across those endpoints all draw from the same budget.\n\n---\n\nCreates a new agent-portfolio using scope names. Scopes are specified by name (scopeNames); scope ids are not supported in v2. IMPORTANT: investmentAmountInUsd is the amount deducted from YOUR (the caller's) account balance to copy-trade this agent-portfolio — it is NOT the agent-portfolio's own balance. Positions are mirrored proportionally: e.g. if you invest $2,000 and agentPortfolioVirtualBalance is $10,000, each position is copied at 20% of its size into your account.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/agent-portfolios","href":"/api-reference/agent-portfolios/create-agent-portfolio-v2","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/etoro-6fc30280/29aee0c87554e32b/js/placeholders.js","/_mintlify/custom/etoro-6fc30280/b73b20726f405fff/js/preview-flag.js","/_mintlify/custom/etoro-6fc30280/a63041172e718d03/js/websocket-url.js","/_mintlify/custom/etoro-6fc30280/265471ec7516abfe/js/request-id.js","/_mintlify/custom/etoro-6fc30280/d4932eb5fd7799f1/js/beta-messages.js","/_mintlify/custom/etoro-6fc30280/c79b596fa5eb3800/js/beta-nav.js","/_mintlify/custom/etoro-6fc30280/b7b2ce3b4d7b5b66/js/oauth-scopes.js","/_mintlify/custom/etoro-6fc30280/07a9d44829efc6df/js/beta-tooltip.js","/_mintlify/custom/etoro-6fc30280/a7cd0fbb6bb0e6e6/js/websocket-fields.js"],"openApiReferenceData":{"operation":{"tags":["Agent Portfolios"],"summary":"Create Agent Portfolio (v2)","description":"**Rate limit:** 60 requests per 60 seconds. This is the **default shared quota** — it is shared with every other endpoint that has no dedicated limit, so requests across those endpoints all draw from the same budget.\n\n---\n\nCreates a new agent-portfolio using scope names. Scopes are specified by name (scopeNames); scope ids are not supported in v2. IMPORTANT: investmentAmountInUsd is the amount deducted from YOUR (the caller's) account balance to copy-trade this agent-portfolio — it is NOT the agent-portfolio's own balance. Positions are mirrored proportionally: e.g. if you invest $2,000 and agentPortfolioVirtualBalance is $10,000, each position is copied at 20% of its size into your account.","operationId":"createAgentPortfoliosV2","requestBody":"0b3ad326-d4b4-4908-be79-088f4dcffdfc","responses":{"201":"9c00fde9-78a6-4123-b66b-e47f7ccb04a0","207":"f34d6631-3d92-4785-ad19-4dfe87ff3ad3","400":"2e9e2f62-eaa4-4f4d-af69-dbe080b0f2d2","401":"ea32abe9-cd29-42d8-b386-67d7518e15c7","429":"e171a562-b119-4a7b-99c6-f8eaff2cdb99","500":"bd4c104d-38f5-4e8f-b785-a4fc01d3d77f"},"security":["1c4fce9e-013b-4cd0-a267-a5cb538a6b6e","6305c0d3-d4b1-4632-87ab-34121e473d92"],"x-ratelimit":{"limit":60,"window":60,"shared":true,"defaultPool":true},"parameters":["c0a9abe3-7ce3-4cc8-a39d-e447d32bca4b"],"method":"post","type":"path","servers":["bedf3e7a-290e-4fda-a8dc-4a37f486419d"],"path":"/api/v2/agent-portfolios","baseUrlOptions":["https://public-api.etoro.com"],"title":"Create Agent Portfolio (v2)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.investmentAmountInUsd":2000,"body.agentPortfolioName":"MyPort1","body.userTokenName":"my-trading-token","body.scopeNames.items.0":"etoro-public:trade.real:read","body.scopeNames.items.1":"etoro-public:trade.real:write","body.agentPortfolioDescription":"My trading portfolio","body.ipsWhitelist.items.0":"192.168.1.1","body.expiresAt":"2026-12-31T23:59:59Z"}]},"dependencies":{"parameters":{"c0a9abe3-7ce3-4cc8-a39d-e447d32bca4b":{"name":"x-request-id","in":"header","required":true,"schema":{"type":"string","format":"uuid","example":"6445ba50-e9ac-49c8-97eb-346d2db4d237","isRequired":true,"description":"A unique request identifier.","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"A unique request identifier.","example":"6445ba50-e9ac-49c8-97eb-346d2db4d237"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"investmentAmountInUsd":{"type":"number","description":"The amount in USD deducted from the CALLER's account balance to copy-trade this agent-portfolio. This is NOT the agent-portfolio's own balance — the agent-portfolio receives a separate fixed virtual balance (returned as agentPortfolioVirtualBalance). Positions are mirrored proportionally: e.g. $2,000 with a $10,000 virtual balance = 20% position sizing.","example":2000,"isRequired":true,"uniqueKey":"investmentAmountInUsd","typeLabel":"number"},"agentPortfolioName":{"type":"string","description":"A unique display name for the agent-portfolio (6-10 characters).","example":"MyPort1","isRequired":true,"uniqueKey":"agentPortfolioName","typeLabel":"string"},"userTokenName":{"type":"string","description":"A human-readable name for the user token provisioned with the agent-portfolio.","example":"my-trading-token","isRequired":true,"uniqueKey":"userTokenName","typeLabel":"string"},"scopeNames":{"type":"array","items":{"type":"string","uniqueKey":"scopeNames.items.[INDEX]","typeLabel":"string"},"description":"The set of permission scope names to grant to the provisioned user token. Available scopes: etoro-public:trade.real:read, etoro-public:trade.real:write, etoro-public:trade.demo:read, etoro-public:trade.demo:write.","example":["etoro-public:trade.real:read","etoro-public:trade.real:write"],"isRequired":true,"uniqueKey":"scopeNames","typeLabel":"string[]"},"agentPortfolioDescription":{"type":"string","description":"An optional description of the agent-portfolio's purpose or strategy.","example":"My trading portfolio","uniqueKey":"agentPortfolioDescription","typeLabel":"string"},"ipsWhitelist":{"type":"array","items":{"type":"string","uniqueKey":"ipsWhitelist.items.[INDEX]","typeLabel":"string"},"description":"An optional set of IPv4 addresses allowed to use the provisioned user token.","example":["192.168.1.1"],"uniqueKey":"ipsWhitelist","typeLabel":"string[]"},"expiresAt":{"type":"string","format":"date-time","description":"An optional expiration date and time (UTC) for the provisioned user token.","example":"2026-12-31T23:59:59Z","uniqueKey":"expiresAt","typeLabel":"string\u003cdate-time>"}},"required":["investmentAmountInUsd","agentPortfolioName","userTokenName","scopeNames"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"investmentAmountInUsd":2000,"agentPortfolioName":"MyPort1","userTokenName":"my-trading-token","scopeNames":["etoro-public:trade.real:read","etoro-public:trade.real:write"],"agentPortfolioDescription":"My trading portfolio","ipsWhitelist":["192.168.1.1"],"expiresAt":"2026-12-31T23:59:59Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"9c00fde9-78a6-4123-b66b-e47f7ccb04a0":{"description":"Agent-portfolio and user token created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"agentPortfolioId":{"type":"string","format":"uuid","description":"The unique identifier of the newly created agent-portfolio.","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","uniqueKey":"agentPortfolioId","typeLabel":"string\u003cuuid>"},"agentPortfolioName":{"type":"string","description":"The display name assigned to the agent-portfolio.","example":"MyPort1","uniqueKey":"agentPortfolioName","typeLabel":"string"},"agentPortfolioGcid":{"type":"integer","description":"The GCID associated with the agent-portfolio.","example":12345678,"uniqueKey":"agentPortfolioGcid","typeLabel":"integer"},"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,"uniqueKey":"agentPortfolioVirtualBalance","typeLabel":"number"},"mirrorId":{"type":"integer","description":"The Trading API mirror ID for this agent-portfolio's copy trade.","example":12345,"uniqueKey":"mirrorId","typeLabel":"integer"},"userTokens":{"type":"array","items":{"type":"object","properties":{"userTokenId":{"type":"string","format":"uuid","description":"The unique identifier of the newly created user token.","example":"f9e8d7c6-b5a4-3210-fedc-ba9876543210","uniqueKey":"userTokens.items.[INDEX].userTokenId","typeLabel":"string\u003cuuid>"},"userToken":{"type":"string","description":"The generated user token secret. Only available at creation time.","example":"sk_live_a1b2c3d4e5f6...","uniqueKey":"userTokens.items.[INDEX].userToken","typeLabel":"string"},"userTokenName":{"type":"string","description":"The user-defined name for the user token.","example":"my-trading-token","uniqueKey":"userTokens.items.[INDEX].userTokenName","typeLabel":"string"},"clientId":{"type":"string","format":"uuid","description":"The OAuth client identifier associated with the user token.","example":"c1d2e3f4-a5b6-7890-cdef-123456789abc","uniqueKey":"userTokens.items.[INDEX].clientId","typeLabel":"string\u003cuuid>"},"ipsWhitelist":{"type":"array","items":{"type":"string","uniqueKey":"userTokens.items.[INDEX].ipsWhitelist.items.[INDEX]","typeLabel":"string"},"description":"The set of whitelisted IP addresses authorized to use this token.","example":["192.168.1.1"],"uniqueKey":"userTokens.items.[INDEX].ipsWhitelist","typeLabel":"string[]"},"scopes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The permission scope name.","example":"etoro-public:trade.real:read","uniqueKey":"userTokens.items.[INDEX].scopes.items.[INDEX].name","typeLabel":"string"}},"uniqueKey":"userTokens.items.[INDEX].scopes.items.[INDEX]","typeLabel":"object"},"description":"The permission scopes (by name) granted to this token.","example":[{"name":"etoro-public:trade.real:read"}],"uniqueKey":"userTokens.items.[INDEX].scopes","typeLabel":"object[]"},"expiresAt":{"type":"string","format":"date-time","description":"The expiration date and time of the user token in UTC.","example":"2026-12-31T23:59:59Z","uniqueKey":"userTokens.items.[INDEX].expiresAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"userTokens.items.[INDEX]","typeLabel":"object"},"description":"The user tokens generated during agent-portfolio creation.","uniqueKey":"userTokens","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"agentPortfolioId":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","agentPortfolioName":"MyPort1","agentPortfolioGcid":12345678,"agentPortfolioVirtualBalance":10000,"mirrorId":12345,"userTokens":[{"userTokenId":"f9e8d7c6-b5a4-3210-fedc-ba9876543210","userToken":"sk_live_a1b2c3d4e5f6...","userTokenName":"my-trading-token","clientId":"c1d2e3f4-a5b6-7890-cdef-123456789abc","ipsWhitelist":["192.168.1.1"],"scopes":[{"name":"etoro-public:trade.real:read"}],"expiresAt":"2026-12-31T23:59:59Z"}]}}},"exampleType":"generated"}},"headers":{"RateLimit-Limit":{"description":"Maximum number of requests allowed per window. This is the default shared pool used by every endpoint without a dedicated limit, so it is NOT per-endpoint — requests across those endpoints all draw from this one budget.","schema":{"type":"integer"},"example":60},"RateLimit-Remaining":{"description":"Requests remaining in the current window for this quota.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}},"RateLimit-Policy":{"description":"Quota policy in the form `\u003climit>;w=\u003cwindow-seconds>`.","schema":{"type":"string"},"example":"60;w=60"}},"exampleType":"generated"},"f34d6631-3d92-4785-ad19-4dfe87ff3ad3":{"description":"Agent-portfolio created but user token provisioning failed","content":{"application/json":{"schema":{"type":"object","properties":{"agentPortfolioId":{"type":"string","format":"uuid","description":"The unique identifier of the newly created agent-portfolio.","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","uniqueKey":"agentPortfolioId","typeLabel":"string\u003cuuid>"},"agentPortfolioName":{"type":"string","description":"The display name assigned to the agent-portfolio.","example":"MyPort1","uniqueKey":"agentPortfolioName","typeLabel":"string"},"agentPortfolioGcid":{"type":"integer","description":"The GCID associated with the agent-portfolio.","example":12345678,"uniqueKey":"agentPortfolioGcid","typeLabel":"integer"},"agentPortfolioVirtualBalance":{"type":"integer","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,"uniqueKey":"agentPortfolioVirtualBalance","typeLabel":"integer"},"mirrorId":{"type":"integer","description":"The Trading API mirror ID for this agent-portfolio's copy trade.","example":12345,"uniqueKey":"mirrorId","typeLabel":"integer"},"userTokenCreated":{"type":"boolean","description":"Always false — indicates that the user token was not created.","example":false,"uniqueKey":"userTokenCreated","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"agentPortfolioId":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","agentPortfolioName":"MyPort1","agentPortfolioGcid":12345678,"agentPortfolioVirtualBalance":10000,"mirrorId":12345,"userTokenCreated":false}}},"exampleType":"generated"}},"headers":{"RateLimit-Limit":{"description":"Maximum number of requests allowed per window. This is the default shared pool used by every endpoint without a dedicated limit, so it is NOT per-endpoint — requests across those endpoints all draw from this one budget.","schema":{"type":"integer"},"example":60},"RateLimit-Remaining":{"description":"Requests remaining in the current window for this quota.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}},"RateLimit-Policy":{"description":"Quota policy in the form `\u003climit>;w=\u003cwindow-seconds>`.","schema":{"type":"string"},"example":"60;w=60"}},"exampleType":"generated"},"2e9e2f62-eaa4-4f4d-af69-dbe080b0f2d2":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"errorCode":{"type":"string","uniqueKey":"errorCode","typeLabel":"string"},"errorMessage":{"type":"string","uniqueKey":"errorMessage","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"ScopeNameNotAllowed":{"title":"ScopeNameNotAllowed","value":{"errorCode":"ScopeNameNotAllowed","errorMessage":"Scope name not allowed"}},"NameTooShort":{"title":"NameTooShort","value":{"errorCode":"ValidationFailed","errorMessage":"Agent-portfolio name must be between 6 and 10 characters"}}},"exampleType":"examples"}},"exampleType":"examples"},"ea32abe9-cd29-42d8-b386-67d7518e15c7":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"errorCode":{"type":"string","uniqueKey":"errorCode","typeLabel":"string"},"errorMessage":{"type":"string","uniqueKey":"errorMessage","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"errorCode":"Unauthorized","errorMessage":"Unauthorized"},"examples":{"Example":{"title":"Example","value":{"errorCode":"Unauthorized","errorMessage":"Unauthorized"}}},"exampleType":"examples"}},"exampleType":"examples"},"e171a562-b119-4a7b-99c6-f8eaff2cdb99":{"description":"Too Many Requests","content":{"application/json":{"schema":{"type":"object","properties":{"errorCode":{"type":"string","uniqueKey":"errorCode","typeLabel":"string"},"errorMessage":{"type":"string","uniqueKey":"errorMessage","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"errorCode":"TooManyRequests","errorMessage":"Too many requests"},"examples":{"Example":{"title":"Example","value":{"errorCode":"TooManyRequests","errorMessage":"Too many requests"}}},"exampleType":"examples"}},"headers":{"RateLimit-Limit":{"description":"Maximum number of requests allowed per window. This is the default shared pool used by every endpoint without a dedicated limit, so it is NOT per-endpoint — requests across those endpoints all draw from this one budget.","schema":{"type":"integer"},"example":60},"RateLimit-Remaining":{"description":"Requests remaining in the current window for this quota.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}},"RateLimit-Policy":{"description":"Quota policy in the form `\u003climit>;w=\u003cwindow-seconds>`.","schema":{"type":"string"},"example":"60;w=60"},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"},"example":60}},"exampleType":"examples"},"bd4c104d-38f5-4e8f-b785-a4fc01d3d77f":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"errorCode":{"type":"string","uniqueKey":"errorCode","typeLabel":"string"},"errorMessage":{"type":"string","uniqueKey":"errorMessage","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"errorCode":"UnhandledException","errorMessage":"Global Error"},"examples":{"Example":{"title":"Example","value":{"errorCode":"UnhandledException","errorMessage":"Global Error"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"1c4fce9e-013b-4cd0-a267-a5cb538a6b6e":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key of the application. Only valid together with the x-user-key header — the pair is an alternative to OAuth bearer authentication, never sent alongside it. The pair is granted the same permissions the operation's OAuth scopes describe.\n\nDemo credential for trying the API from these docs: `lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663`","scopes":[],"schemeName":"apiKeyAuth"},"userKeyAuth":{"type":"apiKey","in":"header","name":"x-user-key","description":"User-specific authentication key. Only valid together with the x-api-key header — the pair is an alternative to OAuth bearer authentication, never sent alongside it.\n\nDemo credential for trying the API from these docs: `eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_`","scopes":[],"schemeName":"userKeyAuth"}},"6305c0d3-d4b1-4632-87ab-34121e473d92":{"oauth2":{"type":"oauth2","description":"etoro OAuth2 — send the access token as `Authorization: Bearer \u003ctoken>`. Each operation lists the scopes that grant access as separate `security` requirements (OpenAPI OR semantics): the caller's token only needs ONE of them — you do NOT need all of them. Mutually exclusive with the x-api-key/x-user-key credential pair: never send both.","flows":{"authorizationCode":{"authorizationUrl":"https://www.etoro.com/sso","tokenUrl":"https://www.etoro.com/api/sso/v1/token","scopes":{"etoro-public:agent-portfolio:read":"Grants access to the 'etoro-public:agent-portfolio:read' scope.","etoro-public:agent-portfolio:write":"Grants access to the 'etoro-public:agent-portfolio:write' scope.","etoro-public:club:read":"Grants access to the 'etoro-public:club:read' scope.","etoro-public:demo:read":"Grants access to the 'etoro-public:demo:read' scope.","etoro-public:demo:write":"Grants access to the 'etoro-public:demo:write' scope.","etoro-public:feed:read":"Grants access to the 'etoro-public:feed:read' scope.","etoro-public:market-data:read":"Grants access to the 'etoro-public:market-data:read' scope.","etoro-public:money.balance:read":"Grants access to the 'etoro-public:money.balance:read' scope.","etoro-public:money.cash-transactions:read":"Grants access to the 'etoro-public:money.cash-transactions:read' scope.","etoro-public:money.transfer:read":"Grants access to the 'etoro-public:money.transfer:read' scope.","etoro-public:money.transfer:write":"Grants access to the 'etoro-public:money.transfer:write' scope.","etoro-public:money:transfer":"Grants access to the 'etoro-public:money:transfer' scope.","etoro-public:notifications:read":"Grants access to the 'etoro-public:notifications:read' scope.","etoro-public:notifications:write":"Grants access to the 'etoro-public:notifications:write' scope.","etoro-public:pi-data:read":"Grants access to the 'etoro-public:pi-data:read' scope.","etoro-public:price-alerts:read":"Grants access to the 'etoro-public:price-alerts:read' scope.","etoro-public:price-alerts:write":"Grants access to the 'etoro-public:price-alerts:write' scope.","etoro-public:real:read":"Grants access to the 'etoro-public:real:read' scope.","etoro-public:real:write":"Grants access to the 'etoro-public:real:write' scope.","etoro-public:sso-applications:read":"Grants access to the 'etoro-public:sso-applications:read' scope.","etoro-public:sso-applications:write":"Grants access to the 'etoro-public:sso-applications:write' scope.","etoro-public:sso-scopes:read":"Grants access to the 'etoro-public:sso-scopes:read' scope.","etoro-public:sso-scopes:write":"Grants access to the 'etoro-public:sso-scopes:write' scope.","etoro-public:sub-accounts:read":"Grants access to the 'etoro-public:sub-accounts:read' scope.","etoro-public:sub-accounts:write":"Grants access to the 'etoro-public:sub-accounts:write' scope.","etoro-public:trade.demo:read":"Grants access to the 'etoro-public:trade.demo:read' scope.","etoro-public:trade.demo:write":"Grants access to the 'etoro-public:trade.demo:write' scope.","etoro-public:trade.real:read":"Grants access to the 'etoro-public:trade.real:read' scope.","etoro-public:trade.real:write":"Grants access to the 'etoro-public:trade.real:write' scope.","etoro-public:user-info:read":"Grants access to the 'etoro-public:user-info:read' scope.","etoro-public:watchlist:read":"Grants access to the 'etoro-public:watchlist:read' scope.","etoro-public:watchlist:write":"Grants access to the 'etoro-public:watchlist:write' scope."}}},"scopes":["etoro-public:agent-portfolio:write"],"schemeName":"oauth2"}}},"servers":{"bedf3e7a-290e-4fda-a8dc-4a37f486419d":{"url":"https://public-api.etoro.com","description":"etoro Public API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key of the application. Only valid together with the x-user-key header — the pair is an alternative to OAuth bearer authentication, never sent alongside it. The pair is granted the same permissions the operation's OAuth scopes describe.\n\nDemo credential for trying the API from these docs: `lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663`","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"API key of the application. Only valid together with the x-user-key header — the pair is an alternative to OAuth bearer authentication, never sent alongside it. The pair is granted the same permissions the operation's OAuth scopes describe.\n\nDemo credential for trying the API from these docs: `lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663`","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"x-api-key"},{"scheme":{"type":"apiKey","in":"header","name":"x-user-key","description":"User-specific authentication key. Only valid together with the x-api-key header — the pair is an alternative to OAuth bearer authentication, never sent alongside it.\n\nDemo credential for trying the API from these docs: `eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_`","scopes":[],"schemeName":"userKeyAuth"},"schema":{"title":"x-user-key","type":"string","description":"User-specific authentication key. Only valid together with the x-api-key header — the pair is an alternative to OAuth bearer authentication, never sent alongside it.\n\nDemo credential for trying the API from these docs: `eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_`","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"userKeyAuth","name":"x-user-key"}],"title":"apiKeyAuth \u0026 userKeyAuth"},{"schemes":[{"scheme":{"type":"oauth2","description":"etoro OAuth2 — send the access token as `Authorization: Bearer \u003ctoken>`. Each operation lists the scopes that grant access as separate `security` requirements (OpenAPI OR semantics): the caller's token only needs ONE of them — you do NOT need all of them. Mutually exclusive with the x-api-key/x-user-key credential pair: never send both.","flows":{"authorizationCode":{"authorizationUrl":"https://www.etoro.com/sso","tokenUrl":"https://www.etoro.com/api/sso/v1/token","scopes":{"etoro-public:agent-portfolio:read":"Grants access to the 'etoro-public:agent-portfolio:read' scope.","etoro-public:agent-portfolio:write":"Grants access to the 'etoro-public:agent-portfolio:write' scope.","etoro-public:club:read":"Grants access to the 'etoro-public:club:read' scope.","etoro-public:demo:read":"Grants access to the 'etoro-public:demo:read' scope.","etoro-public:demo:write":"Grants access to the 'etoro-public:demo:write' scope.","etoro-public:feed:read":"Grants access to the 'etoro-public:feed:read' scope.","etoro-public:market-data:read":"Grants access to the 'etoro-public:market-data:read' scope.","etoro-public:money.balance:read":"Grants access to the 'etoro-public:money.balance:read' scope.","etoro-public:money.cash-transactions:read":"Grants access to the 'etoro-public:money.cash-transactions:read' scope.","etoro-public:money.transfer:read":"Grants access to the 'etoro-public:money.transfer:read' scope.","etoro-public:money.transfer:write":"Grants access to the 'etoro-public:money.transfer:write' scope.","etoro-public:money:transfer":"Grants access to the 'etoro-public:money:transfer' scope.","etoro-public:notifications:read":"Grants access to the 'etoro-public:notifications:read' scope.","etoro-public:notifications:write":"Grants access to the 'etoro-public:notifications:write' scope.","etoro-public:pi-data:read":"Grants access to the 'etoro-public:pi-data:read' scope.","etoro-public:price-alerts:read":"Grants access to the 'etoro-public:price-alerts:read' scope.","etoro-public:price-alerts:write":"Grants access to the 'etoro-public:price-alerts:write' scope.","etoro-public:real:read":"Grants access to the 'etoro-public:real:read' scope.","etoro-public:real:write":"Grants access to the 'etoro-public:real:write' scope.","etoro-public:sso-applications:read":"Grants access to the 'etoro-public:sso-applications:read' scope.","etoro-public:sso-applications:write":"Grants access to the 'etoro-public:sso-applications:write' scope.","etoro-public:sso-scopes:read":"Grants access to the 'etoro-public:sso-scopes:read' scope.","etoro-public:sso-scopes:write":"Grants access to the 'etoro-public:sso-scopes:write' scope.","etoro-public:sub-accounts:read":"Grants access to the 'etoro-public:sub-accounts:read' scope.","etoro-public:sub-accounts:write":"Grants access to the 'etoro-public:sub-accounts:write' scope.","etoro-public:trade.demo:read":"Grants access to the 'etoro-public:trade.demo:read' scope.","etoro-public:trade.demo:write":"Grants access to the 'etoro-public:trade.demo:write' scope.","etoro-public:trade.real:read":"Grants access to the 'etoro-public:trade.real:read' scope.","etoro-public:trade.real:write":"Grants access to the 'etoro-public:trade.real:write' scope.","etoro-public:user-info:read":"Grants access to the 'etoro-public:user-info:read' scope.","etoro-public:watchlist:read":"Grants access to the 'etoro-public:watchlist:read' scope.","etoro-public:watchlist:write":"Grants access to the 'etoro-public:watchlist:write' scope."}}},"scopes":["etoro-public:agent-portfolio:write"],"schemeName":"oauth2"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"etoro OAuth2 — send the access token as `Authorization: Bearer \u003ctoken>`. Each operation lists the scopes that grant access as separate `security` requirements (OpenAPI OR semantics): the caller's token only needs ONE of them — you do NOT need all of them. Mutually exclusive with the x-api-key/x-user-key credential pair: never send both.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"oauth2","name":"Authorization"}],"title":"oauth2"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"etoro-6fc30280","siteName":"etoro API Docs","title":"Create Agent Portfolio (v2) - etoro API Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T12:20:12.363Z","originalFileLocation":"api-reference/agent-portfolios/create-agent-portfolio-v2.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Rate limit: 60 requests per 60 seconds. This is the default shared quota — it is shared with every other endpoint that has no dedicated limit, so requests across those endpoints all draw from the same budget. --- Creates a new agent-portfolio using scope names. Scopes are specified by name (scopeNames); scope ids are not supported in v2. IMPORTANT: investmentAmountInUsd is the amount deducted from YOUR (the caller\u0026#x27;s) account balance to copy-trade this agent-portfolio — it is NOT the agent-portfolio\u0026#x27;s own balance. Positions are mirrored proportionally: e.g. if you invest $2,000 and agentPortfolioVirtualBalance is $10,000, each position is copied at 20% of its size into your account.\">\u003cmeta data-mint-head name=\"application-name\" content=\"etoro API Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/etoro-6fc30280/sCsBGcUYX-CTk40V/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/etoro-6fc30280/sCsBGcUYX-CTk40V/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/etoro-6fc30280/sCsBGcUYX-CTk40V/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/etoro-6fc30280/sCsBGcUYX-CTk40V/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/etoro-6fc30280/sCsBGcUYX-CTk40V/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/etoro-6fc30280/sCsBGcUYX-CTk40V/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/etoro-6fc30280/sCsBGcUYX-CTk40V/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/etoro-6fc30280/sCsBGcUYX-CTk40V/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/etoro-6fc30280/sCsBGcUYX-CTk40V/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Agent Portfolio (v2) - etoro API Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Rate limit: 60 requests per 60 seconds. This is the default shared quota — it is shared with every other endpoint that has no dedicated limit, so requests across those endpoints all draw from the same budget. --- Creates a new agent-portfolio using scope names. Scopes are specified by name (scopeNames); scope ids are not supported in v2. IMPORTANT: investmentAmountInUsd is the amount deducted from YOUR (the caller\u0026#x27;s) account balance to copy-trade this agent-portfolio — it is NOT the agent-portfolio\u0026#x27;s own balance. Positions are mirrored proportionally: e.g. if you invest $2,000 and agentPortfolioVirtualBalance is $10,000, each position is copied at 20% of its size into your account.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"etoro API Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api-portal.etoro.com/api-reference/agent-portfolios/create-agent-portfolio-v2\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://etoro-6fc30280.mintlify.site/_mintlify/api/og/v2?division=Agent+Portfolios\u0026amp;title=Create+Agent+Portfolio+%28v2%29\u0026amp;description=**Rate+limit%3A**+60+requests+per+60+seconds.+This+is+the+**default+shared+quota**+%E2%80%94+it+is+shared+with+every+other+endpoint+that+has+no+dedicated+limit%2C+so+reques\u0026amp;theme=846b12a90f6ef610305b3580\u0026amp;signature=c326918391e7750d35270c8c9b4cade73fc8d3931d64da2ab9d600970aa4cad2\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Agent Portfolio (v2) - etoro API Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Rate limit: 60 requests per 60 seconds. This is the default shared quota — it is shared with every other endpoint that has no dedicated limit, so requests across those endpoints all draw from the same budget. --- Creates a new agent-portfolio using scope names. Scopes are specified by name (scopeNames); scope ids are not supported in v2. IMPORTANT: investmentAmountInUsd is the amount deducted from YOUR (the caller\u0026#x27;s) account balance to copy-trade this agent-portfolio — it is NOT the agent-portfolio\u0026#x27;s own balance. Positions are mirrored proportionally: e.g. if you invest $2,000 and agentPortfolioVirtualBalance is $10,000, each position is copied at 20% of its size into your account.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://etoro-6fc30280.mintlify.site/_mintlify/api/og/v2?division=Agent+Portfolios\u0026amp;title=Create+Agent+Portfolio+%28v2%29\u0026amp;description=**Rate+limit%3A**+60+requests+per+60+seconds.+This+is+the+**default+shared+quota**+%E2%80%94+it+is+shared+with+every+other+endpoint+that+has+no+dedicated+limit%2C+so+reques\u0026amp;theme=846b12a90f6ef610305b3580\u0026amp;signature=c326918391e7750d35270c8c9b4cade73fc8d3931d64da2ab9d600970aa4cad2\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/etoro-6fc30280/sCsBGcUYX-CTk40V/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"etoro API Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://api-portal.etoro.com/api-reference/agent-portfolios/create-agent-portfolio-v2\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/agent-portfolios/create-agent-portfolio-v2.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://api-portal.etoro.com/#organization\",\"name\":\"etoro API Docs\",\"url\":\"https://api-portal.etoro.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/etoro-6fc30280/KKUNTvuhL1tWIl3G/images/logo.svg?fit=max\u0026auto=format\u0026n=KKUNTvuhL1tWIl3G\u0026q=85\u0026s=7bbb280a3f86decc927b143516fd5b80\"}},{\"@type\":\"WebSite\",\"@id\":\"https://api-portal.etoro.com#website\",\"name\":\"etoro API Docs\",\"url\":\"https://api-portal.etoro.com\",\"publisher\":{\"@id\":\"https://api-portal.etoro.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://api-portal.etoro.com/api-reference/agent-portfolios/create-agent-portfolio-v2#webpage\",\"url\":\"https://api-portal.etoro.com/api-reference/agent-portfolios/create-agent-portfolio-v2\",\"name\":\"Create Agent Portfolio (v2)\",\"description\":\"Rate limit: 60 requests per 60 seconds. This is the default shared quota — it is shared with every other endpoint that has no dedicated limit, so requests across those endpoints all draw from the same budget. --- Creates a new agent-portfolio using scope names. Scopes are specified by name (scopeNames); scope ids are not supported in v2. IMPORTANT: investmentAmountInUsd is the amount deducted from YOUR (the caller's) account balance to copy-trade this agent-portfolio — it is NOT the agent-portfolio's own balance. Positions are mirrored proportionally: e.g. if you invest $2,000 and agentPortfolioVirtualBalance is $10,000, each position is copied at 20% of its size into your account.\",\"dateModified\":\"2026-11-05T12:20:12.363Z\",\"isPartOf\":{\"@id\":\"https://api-portal.etoro.com#website\"},\"breadcrumb\":{\"@id\":\"https://api-portal.etoro.com/api-reference/agent-portfolios/create-agent-portfolio-v2#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api-portal.etoro.com/api-reference/agent-portfolios/create-agent-portfolio-v2#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Core API\",\"item\":\"https://api-portal.etoro.com/api-reference/agent-portfolios/get-agent-portfolios\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agent Portfolios\",\"item\":\"https://api-portal.etoro.com/api-reference/agent-portfolios/get-agent-portfolios\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Agent Portfolio (v2)\",\"item\":\"https://api-portal.etoro.com/api-reference/agent-portfolios/create-agent-portfolio-v2\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://api-portal.etoro.com/api-reference/agent-portfolios/create-agent-portfolio-v2#apireference\",\"headline\":\"Create Agent Portfolio (v2)\",\"name\":\"Create Agent Portfolio (v2)\",\"description\":\"Rate limit: 60 requests per 60 seconds. This is the default shared quota — it is shared with every other endpoint that has no dedicated limit, so requests across those endpoints all draw from the same budget. --- Creates a new agent-portfolio using scope names. Scopes are specified by name (scopeNames); scope ids are not supported in v2. IMPORTANT: investmentAmountInUsd is the amount deducted from YOUR (the caller's) account balance to copy-trade this agent-portfolio — it is NOT the agent-portfolio's own balance. Positions are mirrored proportionally: e.g. if you invest $2,000 and agentPortfolioVirtualBalance is $10,000, each position is copied at 20% of its size into your account.\",\"url\":\"https://api-portal.etoro.com/api-reference/agent-portfolios/create-agent-portfolio-v2\",\"mainEntityOfPage\":{\"@id\":\"https://api-portal.etoro.com/api-reference/agent-portfolios/create-agent-portfolio-v2#webpage\"},\"dateModified\":\"2026-11-05T12:20:12.363Z\",\"publisher\":{\"@id\":\"https://api-portal.etoro.com/#organization\"},\"isPartOf\":{\"@id\":\"https://api-portal.etoro.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"etoro API Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"etoro API Docs","nav":{"global":null,"tabs":[{"tab":"Core API","groups":[{"group":"Getting started","pages":[{"title":"Introduction","href":""},{"title":"Authentication","href":"/core/getting-started/authentication"},{"title":"SSO with OAuth 2.0","href":"/core/getting-started/sso-oauth"},{"title":"Rate Limits","href":"/core/getting-started/rate-limits"}]},{"group":"Guides","pages":[{"title":"Find Instrument ID","href":"/core/guides/get-instrument-id"},{"title":"Open and close market orders","href":"/core/guides/market-orders"},{"title":"Calculate Available Cash","href":"/core/guides/calculate-available-cash"},{"title":"Calculate Total Invested","href":"/core/guides/calculate-total-invested"},{"title":"Calculate Profit/Loss","href":"/core/guides/calculate-profit-loss"},{"title":"Calculate Equity","href":"/core/guides/calculate-equity"},{"title":"Manage your Watchlists","href":"/core/guides/watchlists"},{"title":"Transfer money between your accounts","href":"/core/guides/internal-transfers"}]},{"group":"Core API","pages":[{"group":"Agent Portfolios","pages":[{"title":"Get Agent Portfolios","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/agent-portfolios","href":"/api-reference/agent-portfolios/get-agent-portfolios"},{"title":"Delete Agent Portfolio","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/agent-portfolios/{agentPortfolioId}","href":"/api-reference/agent-portfolios/delete-agent-portfolio"},{"title":"Delete User Token","description":"**Rate limit:** 60 requests per 60 seconds. This is the **default shared quota** — it is shared with every other endpoint that has no dedicated limit, so requests across those endpoints all draw from the same budget.\n\n---\n\nPermanently revokes the specified user token from a agent-portfolio.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/agent-portfolios/{agentPortfolioId}/user-tokens/{userTokenId}","href":"/api-reference/agent-portfolios/delete-user-token"},{"title":"Create Agent Portfolio (v2)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/agent-portfolios","href":"/api-reference/agent-portfolios/create-agent-portfolio-v2"},{"title":"Get Allowed Scopes (v2)","description":"**Rate limit:** 60 requests per 60 seconds. This is the **default shared quota** — it is shared with every other endpoint that has no dedicated limit, so requests across those endpoints all draw from the same budget.\n\n---\n\nReturns the permission scope names that may be assigned to agent-portfolio user tokens.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/agent-portfolios/user-tokens/scopes","href":"/api-reference/agent-portfolios/get-allowed-scopes-v2"},{"title":"Create User Token (v2)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/agent-portfolios/{agentPortfolioId}/user-tokens","href":"/api-reference/agent-portfolios/create-user-token-v2"},{"title":"Update User Token (v2)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v2/agent-portfolios/{agentPortfolioId}/user-tokens/{userTokenId}","href":"/api-reference/agent-portfolios/update-user-token-v2"}]},{"group":"Balances","pages":[{"title":"Get aggregated balances","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/balances","href":"/api-reference/balances/get-aggregated-balances"},{"title":"Get historical balance snapshots","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/balances/history","href":"/api-reference/balances/get-historical-balance-snapshots"},{"title":"Get balances by account type","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/balances/{accountType}","href":"/api-reference/balances/get-balances-by-account-type"},{"title":"Get historical balances by account type","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/balances/{accountType}/history","href":"/api-reference/balances/get-historical-balances-by-account-type"},{"title":"Get balance for a specific account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/balances/{accountType}/{accountId}","href":"/api-reference/balances/get-balance-for-a-specific-account"},{"title":"Get account balance history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/balances/{accountType}/{accountId}/history","href":"/api-reference/balances/get-account-balance-history"}]},{"group":"Clubs","pages":[{"title":"Get club dashboard data","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/clubs","href":"/api-reference/clubs/get-club-dashboard-data"}]},{"group":"Watchlists","pages":[{"title":"Get curated lists","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/curated-lists","href":"/api-reference/watchlists/get-curated-lists"},{"title":"Get market recommendations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/market-recommendations/{itemsCount}","href":"/api-reference/watchlists/get-market-recommendations"},{"title":"Get user watchlists","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/watchlists","href":"/api-reference/watchlists/get-user-watchlists"},{"title":"Create a new watchlist","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/watchlists","href":"/api-reference/watchlists/create-a-new-watchlist"},{"title":"Create default watchlist with selected items","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/watchlists/default-watchlist/selected-items","href":"/api-reference/watchlists/create-default-watchlist-with-selected-items"},{"title":"Get default watchlist items","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/watchlists/default-watchlists/items","href":"/api-reference/watchlists/get-default-watchlist-items"},{"title":"Create watchlist and set as default","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/watchlists/newasdefault-watchlist","href":"/api-reference/watchlists/create-watchlist-and-set-as-default"},{"title":"Get user's public watchlists","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/watchlists/public/{userId}","href":"/api-reference/watchlists/get-users-public-watchlists"},{"title":"Get single public watchlist","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/watchlists/public/{userId}/{watchlistId}","href":"/api-reference/watchlists/get-single-public-watchlist"},{"title":"Change watchlist rank","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/watchlists/rank/{watchlistId}","href":"/api-reference/watchlists/change-watchlist-rank"},{"title":"Set watchlist as default","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/watchlists/setUserSelectedUserDefault/{watchlistId}","href":"/api-reference/watchlists/set-watchlist-as-default"},{"title":"Get single watchlist","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/watchlists/{watchlistId}","href":"/api-reference/watchlists/get-single-watchlist"},{"title":"Rename watchlist","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/watchlists/{watchlistId}","href":"/api-reference/watchlists/rename-watchlist"},{"title":"Delete watchlist","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/watchlists/{watchlistId}","href":"/api-reference/watchlists/delete-watchlist"},{"title":"Update items in watchlist","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/watchlists/{watchlistId}/items","href":"/api-reference/watchlists/update-items-in-watchlist"},{"title":"Add items to watchlist","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/watchlists/{watchlistId}/items","href":"/api-reference/watchlists/add-items-to-watchlist"},{"title":"Remove items from watchlist","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/watchlists/{watchlistId}/items","href":"/api-reference/watchlists/remove-items-from-watchlist"},{"title":"Get user watchlists (BFF V2)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/watchlists","href":"/api-reference/watchlists/get-user-watchlists-bff-v2"}]},{"group":"Data","pages":[{"title":"Get price candles for an instrument","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/data/instruments/{instrumentId}/candles","href":"/api-reference/data/get-price-candles-for-an-instrument"},{"title":"Get where price candles exist for an instrument","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/data/instruments/{instrumentId}/candles/coverage","href":"/api-reference/data/get-where-price-candles-exist-for-an-instrument"},{"title":"Get the caller's closed position event history counts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/data/positions/closed-events/history","href":"/api-reference/data/get-the-callers-closed-position-event-history-counts"},{"title":"Get Stockback Payments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/data/stockback/payments","href":"/api-reference/data/get-stockback-payments"},{"title":"Get the caller's StockBack/Cashback promo status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/data/stockback/promo-status","href":"/api-reference/data/get-the-callers-stockbackcashback-promo-status"},{"title":"List published strategy prompts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/data/strategy-prompts","href":"/api-reference/data/list-published-strategy-prompts"},{"title":"Get one published strategy prompt","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/data/strategy-prompts/{id}","href":"/api-reference/data/get-one-published-strategy-prompt"}]},{"group":"Top Assets","pages":[{"title":"Get top assets for a user","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/impressions/topassets/user/{gcid}","href":"/api-reference/top-assets/get-top-assets-for-a-user"}]},{"group":"App Data","pages":[{"title":"Get application key data","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/keydata/{application}","href":"/api-reference/app-data/get-application-key-data"}]},{"group":"Market Data","pages":[{"title":"List supported exchanges","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/market-data/exchanges","href":"/api-reference/market-data/list-supported-exchanges"},{"title":"List instrument types","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/market-data/instrument-types","href":"/api-reference/market-data/list-instrument-types"},{"title":"Get instrument display data","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/market-data/instruments","href":"/api-reference/market-data/get-instrument-display-data"},{"title":"Get historical closing prices","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/market-data/instruments/history/closing-price","href":"/api-reference/market-data/get-historical-closing-prices"},{"title":"Get instrument market rates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/market-data/instruments/rates","href":"/api-reference/market-data/get-instrument-market-rates"},{"title":"Get instrument candle history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/market-data/instruments/{instrumentId}/history/candles/{direction}/{interval}/{candlesCount}","href":"/api-reference/market-data/get-instrument-candle-history"},{"title":"Search for Instruments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/market-data/search","href":"/api-reference/market-data/search-for-instruments"},{"title":"Get stocks industries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/market-data/stocks-industries","href":"/api-reference/market-data/get-stocks-industries"},{"title":"Search for securities (instruments) by ID or symbol","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/market-data/instruments","href":"/api-reference/market-data/search-for-securities-instruments-by-id-or-symbol"},{"title":"Search instruments by free-text query","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/market-data/instruments/search","href":"/api-reference/market-data/search-instruments-by-free-text-query"},{"title":"Retrieve bid/ask rates for one or more instruments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/market-data/rates","href":"/api-reference/market-data/retrieve-bidask-rates-for-one-or-more-instruments"}]},{"group":"Identity","pages":[{"title":"Get authenticated user profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/me","href":"/api-reference/identity/get-authenticated-user-profile"}]},{"group":"Cash Accounts","pages":[{"title":"List cash account transactions (paginated)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/money/accounts/cash/{accountId}/transactions","href":"/api-reference/cash-accounts/list-cash-account-transactions-paginated"}]},{"group":"Transfer","pages":[{"title":"Transfer eligibility (source and destination accounts)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/money/transfer-eligibility","href":"/api-reference/transfer/transfer-eligibility-source-and-destination-accounts"},{"title":"List transfer fees","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/money/transfer-fee-configurations","href":"/api-reference/transfer/list-transfer-fees"},{"title":"List transfer limits","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/money/transfer-limits","href":"/api-reference/transfer/list-transfer-limits"},{"title":"Get max transferable amount","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/money/transferable-balance","href":"/api-reference/transfer/get-max-transferable-amount"},{"title":"Execute an internal account-to-account transfer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/money/transfers","href":"/api-reference/transfer/execute-an-internal-account-to-account-transfer"},{"title":"Get transfer by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/money/transfers/{transferId}","href":"/api-reference/transfer/get-transfer-by-id"},{"title":"List transfers by reference ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/money/transfers:lookup","href":"/api-reference/transfer/list-transfers-by-reference-id"}]},{"group":"Notifications","pages":[{"title":"Get in-app notifications","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/notifications/messages","href":"/api-reference/notifications/get-in-app-notifications"},{"title":"Mark all notifications as read","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/notifications/messages","href":"/api-reference/notifications/mark-all-notifications-as-read"}]},{"group":"PI Data","pages":[{"title":"Get copiers public info","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/pi-data/copiers","href":"/api-reference/pi-data/get-copiers-public-info"}]},{"group":"PortfolioSearch","pages":[{"title":"Search for trader portfolios or Smart Portfolios by free-text query","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/portfolios/search","href":"/api-reference/portfoliosearch/search-for-trader-portfolios-or-smart-portfolios-by-free-text-query"}]},{"group":"Price Alerts","pages":[{"title":"Get price alerts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/price-alerts","href":"/api-reference/price-alerts/get-price-alerts"},{"title":"Create a price alert","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/price-alerts","href":"/api-reference/price-alerts/create-a-price-alert"},{"title":"Delete a price alert","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/price-alerts/{alertId}","href":"/api-reference/price-alerts/delete-a-price-alert"},{"title":"Update a price alert","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/price-alerts/{alertId}","href":"/api-reference/price-alerts/update-a-price-alert"}]},{"group":"SSO - Applications","pages":[{"title":"List my OAuth applications","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/sso/applications","href":"/api-reference/sso--applications/list-my-oauth-applications"},{"title":"Register OAuth application","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/sso/applications","href":"/api-reference/sso--applications/register-oauth-application"},{"title":"Update OAuth application","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/sso/applications/{clientId}","href":"/api-reference/sso--applications/update-oauth-application"},{"title":"Delete OAuth application","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/sso/applications/{clientId}","href":"/api-reference/sso--applications/delete-oauth-application"},{"title":"Replace OAuth client secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/sso/applications/{clientId}/client-secret","href":"/api-reference/sso--applications/replace-oauth-client-secret"}]},{"group":"SSO - Scopes","pages":[{"title":"List available OAuth scopes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/sso/scopes","href":"/api-reference/sso--scopes/list-available-oauth-scopes"}]},{"group":"Sub-Accounts - eToro Trading","pages":[{"title":"Create Sub-Account Money Transfer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/sub-accounts/etoro-trading/money-transfers","href":"/api-reference/sub-accounts--etoro-trading/create-sub-account-money-transfer"},{"title":"List Sub-Account User Tokens","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/sub-accounts/etoro-trading/user-tokens","href":"/api-reference/sub-accounts--etoro-trading/list-sub-account-user-tokens"},{"title":"Create Sub-Account User Token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/sub-accounts/etoro-trading/user-tokens","href":"/api-reference/sub-accounts--etoro-trading/create-sub-account-user-token"},{"title":"Get Allowed Sub-Account Token Scopes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/sub-accounts/etoro-trading/user-tokens/scopes","href":"/api-reference/sub-accounts--etoro-trading/get-allowed-sub-account-token-scopes"},{"title":"Revoke Sub-Account User Token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/sub-accounts/etoro-trading/user-tokens/{userTokenId}","href":"/api-reference/sub-accounts--etoro-trading/revoke-sub-account-user-token"},{"title":"Update Sub-Account User Token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/sub-accounts/etoro-trading/user-tokens/{userTokenId}","href":"/api-reference/sub-accounts--etoro-trading/update-sub-account-user-token"}]},{"group":"Sub-Accounts","pages":[{"title":"Get My Sub-Accounts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/sub-accounts/me/accounts","href":"/api-reference/sub-accounts/get-my-sub-accounts"},{"title":"Create My Sub-Account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/sub-accounts/me/accounts","href":"/api-reference/sub-accounts/create-my-sub-account"}]},{"group":"Trading - Demo","pages":[{"title":"Close demo position by units","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/trading/execution/demo/market-close-orders/positions/{positionId}","href":"/api-reference/trading--demo/close-demo-position-by-units"},{"title":"Cancel pending demo close order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/trading/execution/demo/market-close-orders/{orderId}","href":"/api-reference/trading--demo/cancel-pending-demo-close-order"},{"title":"Get aggregated portfolio snapshot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/trading/info/demo/aggregate-portfolio","href":"/api-reference/trading--demo/get-aggregated-portfolio-snapshot"},{"title":"Get a filtered aggregated portfolio snapshot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/trading/info/demo/aggregate-portfolio","href":"/api-reference/trading--demo/get-a-filtered-aggregated-portfolio-snapshot"},{"title":"Get close order information and closed position details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/trading/info/demo/close-orders/{orderId}","href":"/api-reference/trading--demo/get-close-order-information-and-closed-position-details"},{"title":"Get account PnL and portfolio details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/trading/info/demo/pnl","href":"/api-reference/trading--demo/get-account-pnl-and-portfolio-details"},{"title":"Get demo portfolio breakdown","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/trading/info/demo/portfolio","href":"/api-reference/trading--demo/get-demo-portfolio-breakdown"},{"title":"List trading history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/trading/info/trade/demo/history","href":"/api-reference/trading--demo/list-trading-history"},{"title":"Modify stop-loss and take-profit settings on an open position","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v2/trading/demo/positions/{positionId}","href":"/api-reference/trading--demo/modify-stop-loss-and-take-profit-settings-on-an-open-position"},{"title":"Create an order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/trading/execution/demo/orders","href":"/api-reference/trading--demo/create-an-order"},{"title":"Cancels an order before it is executed","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v2/trading/execution/demo/orders/{orderId}","href":"/api-reference/trading--demo/cancels-an-order-before-it-is-executed"},{"title":"Get what-if trading cost breakdown","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/trading/info/demo/costs","href":"/api-reference/trading--demo/get-what-if-trading-cost-breakdown"},{"title":"Check instrument trading eligibility","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/trading/info/demo/eligibility","href":"/api-reference/trading--demo/check-instrument-trading-eligibility"},{"title":"Get instrument breakdown (demo)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/trading/info/demo/instrument-breakdown","href":"/api-reference/trading--demo/get-instrument-breakdown-demo"},{"title":"Get order information and position details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/trading/info/demo/orders:lookup","href":"/api-reference/trading--demo/get-order-information-and-position-details"},{"title":"Submit an order for asynchronous processing","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v3/trading/execution/demo/orders","href":"/api-reference/trading--demo/submit-an-order-for-asynchronous-processing"},{"title":"Request cancellation of a pending order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v3/trading/execution/demo/orders/{orderId}","href":"/api-reference/trading--demo/request-cancellation-of-a-pending-order"}]},{"group":"Trading - Real","pages":[{"title":"Close position by units","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/trading/execution/market-close-orders/positions/{positionId}","href":"/api-reference/trading--real/close-position-by-units"},{"title":"Cancel pending close order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/trading/execution/market-close-orders/{orderId}","href":"/api-reference/trading--real/cancel-pending-close-order"},{"title":"Get aggregated portfolio snapshot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/trading/info/aggregate-portfolio","href":"/api-reference/trading--real/get-aggregated-portfolio-snapshot"},{"title":"Get a filtered aggregated portfolio snapshot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/trading/info/aggregate-portfolio","href":"/api-reference/trading--real/get-a-filtered-aggregated-portfolio-snapshot"},{"title":"Get portfolio breakdown","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/trading/info/portfolio","href":"/api-reference/trading--real/get-portfolio-breakdown"},{"title":"Get close order information and closed position details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/trading/info/real/close-orders/{orderId}","href":"/api-reference/trading--real/get-close-order-information-and-closed-position-details"},{"title":"Get account PnL and portfolio details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/trading/info/real/pnl","href":"/api-reference/trading--real/get-account-pnl-and-portfolio-details"},{"title":"List trading history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/trading/info/trade/history","href":"/api-reference/trading--real/list-trading-history"},{"title":"Create an order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/trading/execution/orders","href":"/api-reference/trading--real/create-an-order"},{"title":"Cancels an order before it is executed","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v2/trading/execution/orders/{orderId}","href":"/api-reference/trading--real/cancels-an-order-before-it-is-executed"},{"title":"Get what-if trading cost breakdown","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/trading/info/costs","href":"/api-reference/trading--real/get-what-if-trading-cost-breakdown"},{"title":"Check instrument trading eligibility","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/trading/info/eligibility","href":"/api-reference/trading--real/check-instrument-trading-eligibility"},{"title":"Get instrument breakdown","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/trading/info/instrument-breakdown","href":"/api-reference/trading--real/get-instrument-breakdown"},{"title":"Get order information and position details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/trading/info/orders:lookup","href":"/api-reference/trading--real/get-order-information-and-position-details"},{"title":"Modify stop-loss and take-profit settings on an open position","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v2/trading/positions/{positionId}","href":"/api-reference/trading--real/modify-stop-loss-and-take-profit-settings-on-an-open-position"},{"title":"Submit an order for asynchronous processing","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v3/trading/execution/orders","href":"/api-reference/trading--real/submit-an-order-for-asynchronous-processing"},{"title":"Request cancellation of a pending order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v3/trading/execution/orders/{orderId}","href":"/api-reference/trading--real/request-cancellation-of-a-pending-order"}]},{"group":"Users Info","pages":[{"title":"Get user profile and account summary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user-info/people","href":"/api-reference/users-info/get-user-profile-and-account-summary"},{"title":"Search users","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user-info/people/search","href":"/api-reference/users-info/search-users"},{"title":"Get user daily performance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user-info/people/{username}/daily-gain","href":"/api-reference/users-info/get-user-daily-performance"},{"title":"Get user performance history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user-info/people/{username}/gain","href":"/api-reference/users-info/get-user-performance-history"},{"title":"Get user live portfolio","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user-info/people/{username}/portfolio/live","href":"/api-reference/users-info/get-user-live-portfolio"},{"title":"Get user trade info","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user-info/people/{username}/tradeinfo","href":"/api-reference/users-info/get-user-trade-info"}]},{"group":"Rankings","pages":[{"title":"Get paginated investor rankings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/portfolios/rankings","href":"/api-reference/rankings/get-paginated-investor-rankings"},{"title":"Bulk-fetch ranking rows","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/portfolios/rankings/multiple","href":"/api-reference/rankings/bulk-fetch-ranking-rows"},{"title":"List available ranking presets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/portfolios/rankings/presets","href":"/api-reference/rankings/list-available-ranking-presets"},{"title":"Get rankings by named preset","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/portfolios/rankings/presets/{type}","href":"/api-reference/rankings/get-rankings-by-named-preset"},{"title":"Get ranking universe aggregated by sector or industry","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/portfolios/rankings/summary","href":"/api-reference/rankings/get-ranking-universe-aggregated-by-sector-or-industry"},{"title":"List all ranking tags","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/portfolios/rankings/tags","href":"/api-reference/rankings/list-all-ranking-tags"},{"title":"Get ranking row for a single investor","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/portfolios/{username}/rankings","href":"/api-reference/rankings/get-ranking-row-for-a-single-investor"}]},{"group":"User Stats","pages":[{"title":"Get asset allocation history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/portfolios/{username}/assets/history","href":"/api-reference/user-stats/get-asset-allocation-history"},{"title":"Get portfolio copier stats","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/portfolios/{username}/copiers","href":"/api-reference/user-stats/get-portfolio-copier-stats"},{"title":"Get market exposure history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/portfolios/{username}/exposure/history","href":"/api-reference/user-stats/get-market-exposure-history"},{"title":"Get investor gain time-series","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/portfolios/{username}/gain/{granularity}","href":"/api-reference/user-stats/get-investor-gain-time-series"}]},{"group":"Copy Trading","pages":[{"title":"Start copying an investor, or adjust an existing copy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/trading/copy","href":"/api-reference/copy-trading/start-copying-an-investor-or-adjust-an-existing-copy"},{"title":"Close or detach a copy relationship","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v2/trading/copy","href":"/api-reference/copy-trading/close-or-detach-a-copy-relationship"},{"title":"Close or detach a copy relationship (JSON body)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/trading/copy/close","href":"/api-reference/copy-trading/close-or-detach-a-copy-relationship-json-body"},{"title":"Pre-check whether a copy registration would be allowed","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/trading/copy/eligibility","href":"/api-reference/copy-trading/pre-check-whether-a-copy-registration-would-be-allowed"},{"title":"Poll a copy operation's outcome","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/trading/copy/{referenceId}","href":"/api-reference/copy-trading/poll-a-copy-operations-outcome"}]},{"group":"Copy Trading - Demo","pages":[{"title":"Start copying an investor, or adjust an existing copy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/trading/copy/demo","href":"/api-reference/copy-trading--demo/start-copying-an-investor-or-adjust-an-existing-copy"},{"title":"Close or detach a copy relationship","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v2/trading/copy/demo","href":"/api-reference/copy-trading--demo/close-or-detach-a-copy-relationship"},{"title":"Close or detach a copy relationship (JSON body)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/trading/copy/demo/close","href":"/api-reference/copy-trading--demo/close-or-detach-a-copy-relationship-json-body"},{"title":"Pre-check whether a copy registration would be allowed","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/trading/copy/demo/eligibility","href":"/api-reference/copy-trading--demo/pre-check-whether-a-copy-registration-would-be-allowed"},{"title":"Poll a copy operation's outcome","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/trading/copy/demo/{referenceId}","href":"/api-reference/copy-trading--demo/poll-a-copy-operations-outcome"}]}]},{"group":"Deprecated","pages":[{"group":"Agent Portfolios","pages":[{"title":"Create Agent Portfolio","deprecated":true,"version":null,"openapi":"/api-reference/deprecated-openapi.json post /api/v1/agent-portfolios","href":"/deprecated-api-reference/agent-portfolios/create-agent-portfolio"},{"title":"Create User Token","deprecated":true,"version":null,"openapi":"/api-reference/deprecated-openapi.json post /api/v1/agent-portfolios/{agentPortfolioId}/user-tokens","href":"/deprecated-api-reference/agent-portfolios/create-user-token"},{"title":"Update User Token","deprecated":true,"version":null,"openapi":"/api-reference/deprecated-openapi.json patch /api/v1/agent-portfolios/{agentPortfolioId}/user-tokens/{userTokenId}","href":"/deprecated-api-reference/agent-portfolios/update-user-token"}]},{"group":"Trading - Demo","pages":[{"title":"Place demo limit order (market-if-touched)","deprecated":true,"version":null,"openapi":"/api-reference/deprecated-openapi.json post /api/v1/trading/execution/demo/limit-orders","href":"/deprecated-api-reference/trading--demo/place-demo-limit-order-market-if-touched"},{"title":"Cancel pending demo limit order","deprecated":true,"version":null,"openapi":"/api-reference/deprecated-openapi.json delete /api/v1/trading/execution/demo/limit-orders/{orderId}","href":"/deprecated-api-reference/trading--demo/cancel-pending-demo-limit-order"},{"title":"Open demo order by amount","deprecated":true,"version":null,"openapi":"/api-reference/deprecated-openapi.json post /api/v1/trading/execution/demo/market-open-orders/by-amount","href":"/deprecated-api-reference/trading--demo/open-demo-order-by-amount"},{"title":"Open demo market order by units","deprecated":true,"version":null,"openapi":"/api-reference/deprecated-openapi.json post /api/v1/trading/execution/demo/market-open-orders/by-units","href":"/deprecated-api-reference/trading--demo/open-demo-market-order-by-units"},{"title":"Cancel pending demo open order","deprecated":true,"version":null,"openapi":"/api-reference/deprecated-openapi.json delete /api/v1/trading/execution/demo/market-open-orders/{orderId}","href":"/deprecated-api-reference/trading--demo/cancel-pending-demo-open-order"},{"title":"Get order information","deprecated":true,"version":null,"openapi":"/api-reference/deprecated-openapi.json get /api/v1/trading/info/demo/orders/{orderId}","href":"/deprecated-api-reference/trading--demo/get-order-information"}]},{"group":"Trading - Real","pages":[{"title":"Place limit order (market-if-touched)","deprecated":true,"version":null,"openapi":"/api-reference/deprecated-openapi.json post /api/v1/trading/execution/limit-orders","href":"/deprecated-api-reference/trading--real/place-limit-order-market-if-touched"},{"title":"Cancel pending limit order","deprecated":true,"version":null,"openapi":"/api-reference/deprecated-openapi.json delete /api/v1/trading/execution/limit-orders/{orderId}","href":"/deprecated-api-reference/trading--real/cancel-pending-limit-order"},{"title":"Open market order by cash amount","deprecated":true,"version":null,"openapi":"/api-reference/deprecated-openapi.json post /api/v1/trading/execution/market-open-orders/by-amount","href":"/deprecated-api-reference/trading--real/open-market-order-by-cash-amount"},{"title":"Open market order by units","deprecated":true,"version":null,"openapi":"/api-reference/deprecated-openapi.json post /api/v1/trading/execution/market-open-orders/by-units","href":"/deprecated-api-reference/trading--real/open-market-order-by-units"},{"title":"Cancel pending open order","deprecated":true,"version":null,"openapi":"/api-reference/deprecated-openapi.json delete /api/v1/trading/execution/market-open-orders/{orderId}","href":"/deprecated-api-reference/trading--real/cancel-pending-open-order"},{"title":"Get order information","deprecated":true,"version":null,"openapi":"/api-reference/deprecated-openapi.json get /api/v1/trading/info/real/orders/{orderId}","href":"/deprecated-api-reference/trading--real/get-order-information"}]}]},{"group":"WebSocket API","pages":[{"title":"Overview","href":"/core/websocket/overview"},{"title":"Authentication","href":"/core/websocket/authentication"},{"title":"Topics","href":"/core/websocket/topics"},{"title":"Example code","href":"/core/websocket/example-code"},{"group":"Notifications","pages":[{"group":"Session \u0026 subscriptions","pages":[{"asyncapi":"api-reference/asyncapi.json connection","href":"/core/websocket/notifications/session-\u0026-subscriptions/control-channel-request-response","title":"Control channel (request / response)","version":null}]},{"group":"Market data feeds / Candles","pages":[{"asyncapi":"api-reference/asyncapi.json instrumentCandles","href":"/core/websocket/notifications/market-data-feeds-candles/instrument-candles","title":"Instrument candles","version":null}]},{"group":"Market data feeds / Rates","pages":[{"asyncapi":"api-reference/asyncapi.json instrumentRates","href":"/core/websocket/notifications/market-data-feeds-rates/instrument-rates","title":"Instrument rates","version":null}]},{"group":"Account \u0026 portfolio feeds / Orders","pages":[{"asyncapi":"api-reference/asyncapi.json privatePortfolio","href":"/core/websocket/notifications/account-\u0026-portfolio-feeds-orders/private-portfolio-updates","title":"Private portfolio updates","version":null}]}]}]},{"group":"Vibe Code","pages":[{"title":"Base44","icon":"cube","href":"/core/vibe-code/base44"},{"title":"Cursor","icon":"arrow-pointer","href":"/core/vibe-code/cursor"},{"title":"Claude Code","icon":"terminal","href":"/core/vibe-code/claude-code"},{"title":"Windsurf","icon":"wind","href":"/core/vibe-code/windsurf"},{"title":"Antigravity","icon":"rocket","href":"/core/vibe-code/antigravity"}]},{"group":"AI Agents","pages":[{"title":"SKILL.md","href":"/core/ai-agents/etoro-skill"}]},{"group":"Changelog","pages":[{"title":"Core API Changelog","href":"/core/changelog"}]}]},{"tab":"Partners API","pages":[{"title":"Partners API","href":"/partners/introduction"}]}]},"basePath":"","title":"Create Agent Portfolio (v2) - etoro API Docs","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}