Call/Put Net/Vol Ticks
Returns the net premium ticks for a given ticker which can be used to build the following chart:

For real time streaming of net call and put premium and volume, subscribe to the net_flow:<TICKER> websocket channel, see https://api.unusualwhales.com/docs/websocket/net-flow.
Each tick is resembling the data for a single minute tick. To build a daily chart you would have to add the previous data to the current tick:
const url =
'https://api.unusualwhales.com/api/stock/AAPL/net-prem-ticks';
const options = {
method: 'GET',
headers: {
Accept: 'application/json',
Authorization: 'Bearer YOUR_TOKEN'
}
};
fetch(url, options)
.then(r => r.json())
.then(r => {
const {data} = r.data;
const fieldsToSum = [
"net_call_premium",
"net_call_volume",
"net_put_premium",
"net_put_volume"
];
let result = [];
data.forEach((e, idx) => {
e.net_call_premium = parseFloat(e.net_call_premium);
e.net_put_premium = parseFloat(e.net_put_premium);
if (idx !== 0) {
fieldsToSum.forEach((field) => {
e[field] = e[field] + result[idx-1][field];
})
}
result.push(e);
})
return result;
});
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
A single ticker
"AAPL"
Query Parameters
A trading date in the format of YYYY-MM-DD. This is optional and by default the last trading date.
"2024-01-18T00:00:00.000Z"
Response
The net premium for each trading minute.
The sum of the size of all the call transactions that executed.
990943
The sum of the size of all the call transactions that executed on the ask side.
417251
The sum of the size of all the call transactions that executed on the bid side.
498271
A trading date in ISO format.
"2023-09-08T00:00:00.000Z"
Defined as (call premium ask side) - (call premium bid side).
"-29138464"
Defined as (call volume ask side) - (call volume bid side).
1049
Net delta
"26294.85"
Defined as (put premium ask side) - (put premium bid side).
"23924325"
Defined as (put volume ask side) - (put volume bid side).
1313
The sum of the size of all the put transactions that executed.
808326
The sum of the size of all the put transactions that executed on the ask side.
431791
The sum of the size of all the put transactions that executed on the bid side.
314160
The start time of the tick as a timestamp with timezone.
"2023-09-07T13:30:00.000Z"
