Skip to content

Get Price Alerts

Returns the current user's price alerts.

GET

https://{some_domain}/price_alert/list

Authorization

All requests must include a JWT token:

Authorization: <JWT_TOKEN>

This endpoint is available only for a client user session. The server takes login from the JWT session.

Request

Content-Type: application/json

No body parameters are required.

Response

Success (200)

Response uses the standard structure + rows format.

{
  "structure": [
    "id", "login", "symbol", "indicator_name", "message", "side", "condition",
    "target_price", "channel_low", "channel_high", "move_threshold", "status",
    "repeat_mode", "created_at", "updated_at", "expires_at", "triggered_at",
    "triggered_price", "reference_price", "reference_time", "comment"
  ],
  "rows": [
    [
      101,
      100020,
      "EURUSD",
      "Price Alert",
      "EUR breakout",
      0,
      0,
      1.1000,
      0,
      0,
      0,
      0,
      0,
      1775400000,
      1775400000,
      0,
      0,
      0,
      1.0950,
      1775400000,
      "My alert"
    ]
  ]
}

Error Responses

Code Error Description
400 INVALID_DATA Invalid request payload
400 INVALID_LOGIN Session login is missing or invalid
401 PERMISSION_DENIED Access denied

Notes

side

Value Meaning
0 Bid
1 Ask

repeat_mode

Value Meaning
0 Trigger once
1 Repeating trigger

condition

Value Meaning
0 Crossing Up
1 Crossing Down
2 Greater Than
3 Less Than
4 Entering Channel
5 Exiting Channel
6 Inside Channel
7 Outside Channel
8 Moving Up
9 Moving Down
10 Moving Up %
11 Moving Down %
12 Crossing Either