Skip to content
MyStocks Developers
API v1

API v1

Current stable contract

Versioning policyRelease changelog
Sandbox console

List price alerts

Pan-African Market Data & Intelligence

GET

/price-alerts

List price alerts

Production onlylistPriceAlerts

Returns the price alerts registered by this partner.

Parameters

stateARMED | TRIGGERED | DISARMEDquery

Filter by alert state.

limitintegerquery

Example: 100

Headers

AuthorizationstringRequired

Bearer sk_sandbox_<your_key> for sandbox requests.

Response fields

dataobject[]
data[].alertIdstring

Example: "alr_abc123"

data[].clientAlertIdstring

Your own reference, supplied at creation.

data[].symbolstring

Example: "SCOM.KE"

data[].exchangestring

Example: "NSE"

data[].conditionabove | below
data[].thresholdnumber

In the instrument's local trading currency.

Example: 20

data[].currencystring

The local trading currency the threshold is denominated in.

Example: "KES"

data[].repeatboolean
data[].stateARMED | TRIGGERED | DISARMED

ARMED — waiting for the threshold to be crossed. TRIGGERED — a repeat alert that has fired and is waiting for the price to cross back before re-arming. DISARMED — a one-shot alert that has fired and is spent.

data[].lastPriceLocalnumber
data[].triggerCountinteger
data[].createdAtstring
data[].lastTriggeredAtstring

Response codes

200The partner's price alerts.