v1

latestOpenAPI 3.0.12026-07-26171200932.8 KB
Sub-Accounts

Create My Sub-Account

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 sub-account for the authenticated user with the given provider. Currently the supported provider is etoro-trading (creates an eToro trading sub-account); additional sub-account providers will be added over time. For etoro-trading, additionalParams.username is required.

post/api/v1/sub-accounts/me/accounts

Headers

x-request-idstring uuid required
Example:a892a66d-a84a-43e0-a180-fec9ae5b970b

A unique request identifier.

x-api-keystring password required
Example:lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663

API key for authentication.

x-user-keystring password required
Example:eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_

User-specific authentication key.

Response

Sub-account created (etoro-trading).