Skip to main content
POST
/
api
/
v1
/
price-alerts
Create a price alert
curl --request POST \
  --url https://public-api.etoro.com/api/v1/price-alerts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-request-id: <x-request-id>' \
  --header 'x-user-key: <x-user-key>' \
  --data '
{
  "symbol": "AAPL",
  "targetPrice": 185.5
}
'
{
  "success": true,
  "data": {
    "alertId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "instrumentId": 1001,
    "symbol": "AAPL",
    "targetPrice": 185.5,
    "currentPrice": 182.3,
    "createdAt": "2026-04-30T10:00:00Z",
    "updatedAt": "2026-04-30T10:00:00Z"
  }
}

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:

"5cf2a417-05f6-494b-8eec-b9489c0476e8"

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