Agent Portfolios
Get Allowed Scopes (v2)
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.
Returns the permission scope names that may be assigned to agent-portfolio user tokens.
get/api/v2/agent-portfolios/user-tokens/scopes
Request
- Base URLhttps://public-api.etoro.com
- Auth
- OAuth 2Authorization codeScopesetoro-public:agent-portfolio:read
- or OAuth 2Authorization codeScopesetoro-public:agent-portfolio:write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-request-idstring uuid required
Example:20f30992-4722-4651-adcf-9cd23a3e7ebf
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
Allowed scopes retrieved successfully
Example response
{
"scopes": [
{
"name": "etoro-public:trade.real:read"
},
{
"name": "etoro-public:trade.real:write"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.