Skip to main content
PATCH
/
api
/
v1
/
price-alerts
/
{alertId}
Update a price alert
curl --request PATCH \
  --url https://public-api.etoro.com/api/v1/price-alerts/{alertId} \
  --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 '
{
  "targetPrice": 190
}
'
{
  "success": true,
  "data": {
    "alertId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "instrumentId": 1001,
    "symbol": "AAPL",
    "targetPrice": 190,
    "currentPrice": 182.3,
    "createdAt": "2026-04-20T10:00:00Z",
    "updatedAt": "2026-04-30T11: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:

"a1140063-6f5e-4901-8778-067427c9ec94"

x-api-key
string<password>
required

API key for authentication.

Example:

"lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663"

x-user-key
string<password>
required

User-specific authentication key.

Example:

"eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_"

Path Parameters

alertId
string<uuid>
required

Unique identifier of the price alert

Body

application/json

Request body for updating an existing price alert

targetPrice
number<decimal>
required

New target price for the alert. Must be greater than 0.

Required range: x > 0
Example:

190

Response

Price alert updated 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