Skip to main content
POST
Create a price alert

Authorizations

Authorization
string
header
required

eToro OAuth2. 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. The same scopes back the x-api-key/x-user-key credential pair.

Headers

x-request-id
string<uuid>
required

A unique request identifier.

Example:

"71dcefeb-baec-4bd8-9687-b2bf33f00ac8"

x-api-key
string<password>
required

API key for authentication.

Example:

"lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663"

x-user-key
string<password>
required

User-specific authentication key.

Example:

"eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_"

Body

application/json

Request body for creating a new price alert

symbol
string
required

Trading symbol to identify the instrument (e.g. AAPL, TSLA)

Example:

"AAPL"

targetPrice
number<decimal>
required

Target price at which the alert should trigger. Must be greater than 0.

Required range: x > 0
Example:

185.5

Response

Price alert created successfully

Response for price alert create and update operations

success
boolean

Indicates the operation completed successfully

Example:

true

data
object

A price alert set by the user on a financial instrument