Flow Alerts
https://api.unusualwhales.com/api/stock/{ticker}/flow-alerts
Request
Authorization: Bearer <token>
Path Parameters
ticker
SingleTicker
required
A single ticker
AAPL
Query Parameters
limit
Default 100 Max 200 Min 1
optional
How many items to return. Default: 100. Max: 200. Min: 1.
10
Default:
100
>= 1
<= 200
is_ask_side
optional
Boolean flag whether a transaction is ask side.
true
Default:
true
is_bid_side
optional
Boolean flag whether a transaction is bid side.
true
Default:
true
Responses
200 422 500Response Body 200 OK
alert_rule
Alert Rule Name
The name of the alert rule.
RepeatedHits
all_opening_trades
Option Contract All Opening Trades
created_at
General UTC Timestamp
A UTC timestamp.
2023-12-12T16:35:52.168490Z
expiry
Option Contract Expiry
The contract expiry date in ISO format.
2023-12-22
expiry_count
Option Contract Expiry Count
The amount of expiries belonging to the trade. This is only greater than 1 if it is a multileg trade.
2
has_floor
Option Contract Has Floor
has_multileg
Single Trade Has Multileg
Whether the trade is a multileg trade.
has_singleleg
Single Trade Is Single Leg
Whether the trade is a singleleg trade.
true
has_sweep
Single Trade Is Sweep
Whether the trade is a sweep.
true
issue_type
Stock Issue Type
The issue type of the ticker.
Common Stock
open_interest
ToBeDone
option_chain
Option Contract Symbol
The option symbol of the contract. You can use the following regex to extract underlying ticker, option type, expiry & strike: `^(?<symbol>[\w]*)(?<expiry>(\d{2})(\d{2})(\d{2}))(?<type>[PC])(?<strike>\d{8})$` Keep in mind that the strike needs to be multiplied by 1,000.
price
ToBeDone
strike
Option Contract Strike
The contract strike.
375
ticker
ToBeDone
total_ask_side_prem
ToBeDone
total_bid_side_prem
ToBeDone
total_premium
ToBeDone
total_size
ToBeDone
trade_count
ToBeDone
type
Option Contract Type
The contract type.
call
underlying_price
ToBeDone
volume
ToBeDone
volume_oi_ratio
ToBeDone
curl -X GET "https://api.unusualwhales.com/api/stock/{ticker}/flow-alerts" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
{
"data": [
{
"alert_rule": "RepeatedHits",
"all_opening_trades": false,
"created_at": "2023-12-12T16:35:52.168490Z",
"expiry": "2023-12-22",
"expiry_count": 1,
"has_floor": false,
"has_multileg": false,
"has_singleleg": true,
"has_sweep": true,
"issue_type": "Common Stock",
"open_interest": 7913,
"option_chain": "MSFT231222C00375000",
"price": "4.05",
"strike": "375",
"ticker": "MSFT",
"total_ask_side_prem": "151875",
"total_bid_side_prem": "405",
"total_premium": "186705",
"total_size": 461,
"trade_count": 32,
"type": "call",
"underlying_price": "372.99",
"volume": 2442,
"volume_oi_ratio": "0.30860609124226"
}
]
}