custom_alerts.
Websocket access for personal use is only available through the Advanced plan.
Unlike the other websocket channels, custom_alerts is a per-user stream. You only receive notifications that match the alert configurations on the Unusual Whales account that owns the API token used to connect. Configure alerts on https://unusualwhales.com/notifications; every notification fired against your account is also delivered on this channel.
You can find fully-functional examples that stream data from many channels here:
- Python: https://github.com/unusual-whales/api-examples/tree/main/examples/ws-multi-channel-multi-output
- Javascript: https://github.com/unusual-whales/api-examples/tree/main/examples/ws-multi-channel-multi-output-nodejs
wss://api.unusualwhales.com/socket?token=<YOUR_API_TOKEN>
then join the channel: custom_alerts.
Payload format:
meta is a free-form object whose shape depends on noti_type.
