> ## Documentation Index
> Fetch the complete documentation index at: https://api.unusualwhales.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> API requests use the base URL https://api.unusualwhales.com and require a bearer token in the `Authorization` header (`Authorization: Bearer <API_KEY>`). Create and manage API tokens at https://unusualwhales.com/dashboard/api.
> For live market data inside an AI tool, use the Unusual Whales MCP server at https://unusualwhales.com/public-api/mcp.
> Instructions for agents using Unusual Whales tools: https://unusualwhales.com/skill.md

# News

> Receive live headline news (Truth Social posts + aggregator news).

**NOTE:**
This is the documentation for websocket channel `news`.
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=<YOUR_API_TOKEN>`

then `join` the channel you wish to stream: `news` for all live headline news.

Payload format:

```
[
  "news",
  {
    "headline":"US Energy Secretary foresees many more LNG export deals signed",
    "timestamp":"2025-06-11T21:40:56Z",
    "source":"social-media",
    "tickers":[],
    "is_trump_ts":false
  }
]
```

### Field reference

| Field | Type | Description |
| - | - | - |
| `headline` | string | The full headline text. For Truth Social posts this is the post body verbatim. |
| `timestamp` | ISO 8601 string | Time the headline was published, UTC. |
| `source` | string | One of `"social-media"` (Truth Social posts), `"aggregator"`, or any other upstream source string passed through verbatim. |
| `tickers` | string\[] | Tickers tagged on the headline. Empty for Truth Social posts. |
| `is_trump_ts` | bool | `true` only when the source is Truth Social and the author is `@realDonaldTrump`. Use this to filter the highest-signal Truth Social subset. |
