# Market tide `GET` `https://api.unusualwhales.com/api/socket/market_tide` **NOTE:** This is the documentation for websocket channel `market_tide`. Websocket access for personal use is only available through the [Advanced plan](https://unusualwhales.com/pricing?product=api). 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](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](https://github.com/unusual-whales/api-examples/tree/main/examples/ws-multi-channel-multi-output-nodejs) Connect to the websocket URI: `wss://api.unusualwhales.com/socket?token=` then `join` the channel you wish to stream: `market_tide` for the live market-wide net call/put premium and volume aggregate. The OTM-only breakout is included in the same payload via the `otm_net_*` fields. Payload format: ``` [ "market_tide", { "timestamp": "2026-04-27T14:27:54Z", "net_volume": 991, "net_call_premium": "488078.0", "net_put_premium": "-218102.0", "otm_net_volume": 1345, "otm_net_call_premium": "272395.0", "otm_net_put_premium": "-190694.0" } ] ``` ### Field reference Aggregates roll up every option transaction across the market. `net_*` fields cover all options; `otm_net_*` fields are restricted to out-of-the-money contracts (where dealer hedging tends to dominate price action). | Field | Type | Description | |---|---|---| | `timestamp` | ISO 8601 string | Aggregation time, UTC. | | `net_volume` | int | Net call volume minus net put volume across the entire market. | | `net_call_premium` | decimal string | Net call premium (`ask_side - bid_side`) across all options, in dollars. | | `net_put_premium` | decimal string | Net put premium (`ask_side - bid_side`) across all options, in dollars. | | `otm_net_volume` | int | Same as `net_volume` but restricted to OTM contracts. | | `otm_net_call_premium` | decimal string | Same as `net_call_premium` but restricted to OTM contracts. | | `otm_net_put_premium` | decimal string | Same as `net_put_premium` but restricted to OTM contracts. | ## Authentication ``` Authorization: Bearer YOUR_API_KEY ``` ## Example ### curl ```bash curl -X GET "https://api.unusualwhales.com/api/socket/market_tide" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Accept: application/json" ``` ### Python ```python import http.client conn = http.client.HTTPSConnection("api.unusualwhales.com") headers = {"Authorization": "Bearer YOUR_API_KEY", "Accept": "application/json"} conn.request("GET", "/api/socket/market_tide", headers=headers) response = conn.getresponse() print(response.read().decode("utf-8")) ``` ## Response Example ```json { "data": [] } ```