Skip to Content

Get Price Alerts

This API allows you to fetch your price alerts by alert name or alert ID, with their current status.

USE CASE

Check which alerts are enabled, triggered or disabled, and get the alert IDs that Modify, Delete and Enable / Disable need.

Details

  • You can retrieve alerts using:
  • Alert Name
  • Alert Id
  • This returns both active and triggered alerts.
  • The data object in the response is keyed by alert ID. Each entry holds fyToken, alert and symbol.
  • Read status before changing an alert: 1 is enabled, 0 is triggered and 2 is disabled. Triggered alerts cannot be modified or switched.
  • Times come both as text, for example 04-Dec-2025 12:20:03, and as epoch seconds in createdEpoch, triggeredEpoch and modifiedEpoch.
  • Rate limits differ between the Standard and Prime plans. See Plans & rate limits.

Response Attributes

AttributeData TypeDescription
fyTokenstringFytoken is a unique identifier for every symbol.
alertobjectDetailed alert configuration.
symbolstringTrading symbol for the alert.

alert Object Fields

AttributeData TypeDescription
comparisonTypestringmetric compared (e.g., "OPEN", "CLOSE").
conditionstringComparison operator (GT, LT, EQ).
namestringuser label.
typestringAlert type.(e.g,"V"= LTP)
valuefloat/intTarget value.
triggeredAtstringTime of trigger (if any).
createdAtstringcreation timestamp.
modifiedAtstringLast updated timestamp.
notesstringAdditional notes or description.
statusintAlert status: 1 = Enabled, 0 = triggered, 2 = Disabled
triggeredEpochintTrigger time (epoch) (0 = not triggered).
createdEpochintCreated timestamp (epoch format) .
modifiedEpochintLast modified timestamp in epoch format (0 = never modified).
Last updated on