Authenticate with your User and API keys before subscribing to any topic. The server rejects a Subscribe or Unsubscribe on an unauthenticated session with SessionNotAuthenticated — public market data topics included.
Request
{ "id": "ed72693c-1545-4fa1-8a10-aca7cf5419a6", "operation": "Authenticate", "data": { "userKey": "<your user key>", "apiKey": "<your API key>" }}
Access to this resource is forbidden. Please contact customer support for assistance
Error Code
Global Error
Error Code
Key is invalid
Error Code
Unauthorized
{"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":"6b02bfd293edbf63bed54970","clientVersion":"0.0.4270","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":"custom-rbac-roles","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":"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":"site-roles","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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","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":"core/websocket/authentication","slug":"/core/websocket/authentication","pageMetadata":{"title":"Authentication","description":"Authentication of the etoro WebSocket API","href":"/core/websocket/authentication"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Authentication of the etoro WebSocket API\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Authenticate with your User and API keys before subscribing to any topic. The server rejects a `,_jsx(_components.code,{children:`Subscribe`}),` or `,_jsx(_components.code,{children:`Unsubscribe`}),` on an unauthenticated session with `,_jsx(_components.code,{children:`SessionNotAuthenticated`}),` — public market data topics included.`]}),`\n`,_jsx(Heading,{level:`3`,id:`request`,children:`Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ed72693c-1545-4fa1-8a10-aca7cf5419a6\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"operation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authenticate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"userKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cyour user key>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apiKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cyour API key>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`successful-response`,children:`Successful Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ed72693c-1545-4fa1-8a10-aca7cf5419a6\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"operation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authenticate\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`unsuccessful-response`,children:`Unsuccessful Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ed72693c-1545-4fa1-8a10-aca7cf5419a6\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"operation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authenticate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"errorMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cError Message>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"errorCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cError Code>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`error-codes`,children:`Error Codes`}),`\n`,_jsx(ResponseField,{name:`SessionAlreadyAuthenticated`,type:`Error Code`,id:`param-session-already-authenticated`,children:_jsx(_components.p,{children:`Session is already authenticated`})}),`\n`,_jsx(ResponseField,{name:`DataRequired`,type:`Error Code`,id:`param-data-required`,children:_jsx(_components.p,{children:`Data is required`})}),`\n`,_jsx(ResponseField,{name:`ApiKeyRequired`,type:`Error Code`,id:`param-api-key-required`,children:_jsx(_components.p,{children:`ApiKey is required`})}),`\n`,_jsx(ResponseField,{name:`UserKeyRequired`,type:`Error Code`,id:`param-user-key-required`,children:_jsx(_components.p,{children:`UserKey is required`})}),`\n`,_jsx(ResponseField,{name:`TooManyRequests`,type:`Error Code`,id:`param-too-many-requests`,children:_jsx(_components.p,{children:`Too many requests`})}),`\n`,_jsx(ResponseField,{name:`Forbidden`,type:`Error Code`,id:`param-forbidden`,children:_jsx(_components.p,{children:`Access to this resource is forbidden. Please contact customer support for assistance`})}),`\n`,_jsx(ResponseField,{name:`UnhandledException`,type:`Error Code`,id:`param-unhandled-exception`,children:_jsx(_components.p,{children:`Global Error`})}),`\n`,_jsx(ResponseField,{name:`InvalidKey`,type:`Error Code`,id:`param-invalid-key`,children:_jsx(_components.p,{children:`Key is invalid`})}),`\n`,_jsx(ResponseField,{name:`Unauthorized`,type:`Error Code`,id:`param-unauthorized`,children:_jsx(_components.p,{children:`Unauthorized`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Authentication","description":"Authentication of the etoro WebSocket API","href":"/core/websocket/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":3,"children":[]},{"title":"Successful Response","slug":"successful-response","depth":3,"children":[]},{"title":"Unsuccessful Response","slug":"unsuccessful-response","depth":3,"children":[]},{"title":"Error Codes","slug":"error-codes","depth":3,"children":[]}],"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","/_mintlify/custom/etoro-6fc30280/67254ebe1e1dc8f2/js/onetrust-gtm.js"],"subdomain":"etoro-6fc30280","siteName":"etoro API Docs","title":"Authentication - etoro API Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T14:09:34.334Z","originalFileLocation":"core/websocket/authentication.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=\"Authentication of the etoro WebSocket API\">\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=\"Authentication - etoro API Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Authentication of the etoro WebSocket API\">\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/core/websocket/authentication\">\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=WebSocket+API\u0026amp;title=Authentication\u0026amp;description=Authentication+of+the+etoro+WebSocket+API\u0026amp;theme=846b12a90f6ef610305b3580\u0026amp;signature=4212253b0aaadcdf4e9e5766763d3836c77ad9696e3778466fac79600e7d0321\">\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=\"Authentication - etoro API Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Authentication of the etoro WebSocket API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://etoro-6fc30280.mintlify.site/_mintlify/api/og/v2?division=WebSocket+API\u0026amp;title=Authentication\u0026amp;description=Authentication+of+the+etoro+WebSocket+API\u0026amp;theme=846b12a90f6ef610305b3580\u0026amp;signature=4212253b0aaadcdf4e9e5766763d3836c77ad9696e3778466fac79600e7d0321\">\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/core/websocket/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/core/websocket/authentication.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/core/websocket/authentication#webpage\",\"url\":\"https://api-portal.etoro.com/core/websocket/authentication\",\"name\":\"Authentication\",\"description\":\"Authentication of the etoro WebSocket API\",\"dateModified\":\"2026-11-02T14:09:34.334Z\",\"isPartOf\":{\"@id\":\"https://api-portal.etoro.com#website\"},\"breadcrumb\":{\"@id\":\"https://api-portal.etoro.com/core/websocket/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api-portal.etoro.com/core/websocket/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"WebSocket API\",\"item\":\"https://api-portal.etoro.com/core/websocket/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://api-portal.etoro.com/core/websocket/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://api-portal.etoro.com/core/websocket/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"Authentication of the etoro WebSocket API\",\"url\":\"https://api-portal.etoro.com/core/websocket/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://api-portal.etoro.com/core/websocket/authentication#webpage\"},\"dateModified\":\"2026-11-02T14:09:34.334Z\",\"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\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"etoro API Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/core/websocket/authentication.md","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","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)","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","description":"Overview of the etoro WebSocket API","href":"/core/websocket/overview"},{"title":"Authentication","href":"/core/websocket/authentication"},{"title":"Topics","description":"Topics for the etoro WebSocket API","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":"Authentication - etoro API Docs","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":[],"chunks":[]}