> For the complete documentation index, see [llms.txt](https://docs.synoptic.com/s/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.synoptic.com/s/guest-access.md).

# Guest access

Read public Synoptic streams with no API key or account: guest WebSocket, guest REST preview and anonymous MCP. Posts are 10 seconds late; 30 latest at most.

Read a public stream without an API key, an account or a sign-in. Use it to try a stream, build a prototype or let an agent read the news.

|             | Guest                                                                      | Signed in or reader key                        |
| ----------- | -------------------------------------------------------------------------- | ---------------------------------------------- |
| Delay       | 10 seconds, set by the server                                              | Realtime                                       |
| Posts       | The 30 latest                                                              | Live, plus history with paging and date ranges |
| Post search | No                                                                         | Yes                                            |
| Streams     | Active public streams with API access and no custom targets, free and paid | Streams you follow or subscribe to             |

## Get started

Get the stream ID from the MCP `search` or `get_stream` tool, or from the stream's `SKILL.md`. Stream page URLs often show a slug instead of the ID; the guest WebSocket and MCP need the ID, and the REST preview takes either. The examples use the free White House stream, `01JEBJDBPPDYDSVRYM4SKT8XY7`.

{% tabs %}
{% tab title="WebSocket" %}

```bash
websocat 'wss://ws-preview.api.synoptic.com/v1/on-stream-post?streamIds=01JEBJDBPPDYDSVRYM4SKT8XY7'
```

{% endtab %}

{% tab title="REST" %}

```bash
curl 'https://api.synoptic.com/v1/streams/01JEBJDBPPDYDSVRYM4SKT8XY7/preview?limit=5'
```

{% endtab %}

{% tab title="MCP" %}
Connect `https://mcp.api.synoptic.com/mcp` without signing in and call `get_stream_posts`. See [AI onboarding](https://docs.synoptic.com/s/ai-onboarding.md#mcp-server).
{% endtab %}
{% endtabs %}

## Which streams guests can read

The same rule applies to the guest WebSocket, the guest REST preview and anonymous MCP.

| Stream                                           | Guests                                                                             |
| ------------------------------------------------ | ---------------------------------------------------------------------------------- |
| Public and active, free                          | Yes                                                                                |
| Public and active, paid (including package-only) | Yes                                                                                |
| Private                                          | No                                                                                 |
| Custom-target streams, such as account trackers  | No. Each follower picks their own targets, so the posts belong to other customers. |
| Inactive or deleted                              | No                                                                                 |
| No API access (`apiAccessEnabled: false`)        | No. The owner turned API access off, as on the realtime WebSocket.                 |

To check a stream first, call the MCP `get_stream` tool: a guest-readable stream has `streamType: "PUBLIC"`, `streamState: "ACTIVE"`, `apiAccessEnabled` not `false`, and no `customTargetsData`.

## Guest WebSocket

```url
wss://ws-preview.api.synoptic.com/v1/on-stream-post?streamIds=<id>[,<id>...]
```

* `streamIds` (required): 1 to 10 comma-separated stream IDs.
* No `apiKey`. Passing `lastPosts` closes the connection; for recent posts, call the [guest REST preview](#guest-rest-preview) once after connecting.
* Frames are the same as on the realtime [on-stream-post](https://docs.synoptic.com/s/websocket/subscribe-to-posts.md) connection: `ack`, `sub_ack` (with `delaySeconds: 10`), `stream.post.created`, `info` and `keep-alive`. See [Events](https://docs.synoptic.com/s/websocket/events.md).
* Each post arrives 10 seconds after it is published. `createdAt` keeps the original time.
* The server closes each connection after 15 minutes with `Connection lifetime reached, please reconnect`. Reconnect and fill any gap from the guest REST preview.

Node.js 22 or later has `WebSocket` built in:

```javascript
const url =
  'wss://ws-preview.api.synoptic.com/v1/on-stream-post?streamIds=01JEBJDBPPDYDSVRYM4SKT8XY7';
const socket = new WebSocket(url);

socket.onmessage = (event) => {
  const message = JSON.parse(event.data);
  if (message.event === 'stream.post.created') {
    console.log(message.data.createdAt, message.data.text);
  } else if (message.event === 'info') {
    console.log('info:', message.data.message);
  }
};

socket.onclose = (event) => console.log('closed', event.code, event.reason);
```

The guest WebSocket runs on its own servers, separate from the realtime ones. Reconnect with backoff as described in [Errors and retries](https://docs.synoptic.com/s/reference/errors-and-retries.md).

## Guest REST preview

```http
GET https://api.synoptic.com/v1/streams/{streamId}/preview?limit=30
```

* No `x-api-key` header. `{streamId}` is the stream ID or slug.
* `limit`: an integer from 1 to 30. Default 30. Other values return `400`.
* Returns the latest posts, newest first, delayed by 10 seconds. There is no `nextToken`, date range or search.
* Each item has the same shape as an item of the authenticated [list stream posts](https://docs.synoptic.com/s/rest/api-reference.md#list-stream-posts) response.
* An unknown stream returns `404` with `Stream not found`. A stream guests can't read returns `403` with `This stream needs an API key: use GET /v1/streams/{streamId}/posts with x-api-key.` See [Errors and retries](https://docs.synoptic.com/s/reference/errors-and-retries.md#rest).

Example response:

```json
{
  "items": [
    {
      "id": "01M78WNAGENRGD5W25014XVS52",
      "streamId": "01JEBJDBPPDYDSVRYM4SKT8XY7",
      "text": "**wh-site: Nominations Sent to the Senate**<br />\n[Link](https://www.whitehouse.gov/presidential-actions/2026/11/nominations-sent-to-the-senate-16a6/)",
      "createdAt": "2026-11-12T22:04:42.382Z",
      "metadata": {
        "headline": "Nominations Sent to the Senate",
        "sourceLink": "https://www.whitehouse.gov/presidential-actions/2026/11/nominations-sent-to-the-senate-16a6/",
        "sourceName": "wh-site"
      }
    }
  ],
  "delaySeconds": 10
}
```

## Anonymous MCP

Without signing in, or connected without the Posts read permission, `get_stream_posts` takes the stream ID and returns `{"items": [...], "delaySeconds": 10, "notice": "..."}`: the latest `limit` posts of a guest-readable stream (default and maximum 30), 10 seconds late. The `notice` explains the preview and how to get realtime posts. The result has no `nextToken`; `nextToken`, `fromDate` and `toDate` are ignored, and `search_stream_posts` needs sign-in. `search`, `streams_all`, `get_stream` and `fetch` also work without signing in.

For any other public stream, the tool result has `isError: true` and the text `Access denied to stream <id>. This stream needs sign-in: connect a Synoptic account with the Posts read permission.` A missing or private stream gets JSON-RPC error `-32001` instead. See [Errors and retries](https://docs.synoptic.com/s/reference/errors-and-retries.md#mcp).

All tool calls without sign-in share a limit of 120 calls per minute per client IP address. Over it, the server answers HTTP `429` with `Retry-After: 60`.

## Limits

* 10 seconds of delay and 30 posts. Neither can be changed by a request parameter.
* 1 to 10 streams per guest WebSocket connection, up to 5 open guest connections per IP address, 15 minutes per connection.
* The guest WebSocket and the guest REST preview sit behind a firewall with per-IP rate limits. Too many connections from one IP address get HTTP `403` before the WebSocket opens; too many preview requests get HTTP `429` with `Retry-After: 60`. Back off and retry later.
* Anonymous MCP allows 120 tool calls per minute per client IP address.

See [Limits](https://docs.synoptic.com/s/reference/limits.md) for the limits of signed-in access.

## Upgrade to realtime

1. Sign in at [synoptic.com](https://synoptic.com) and open the stream's page.
2. Follow the stream, or subscribe if it is paid.
3. Create a reader key in [Settings → API & Keys](https://synoptic.com/p/settings/api-keys).
4. Switch the host and add the key:

   ```url
   wss://ws.api.synoptic.com/v1/on-stream-post?apiKey=<YOUR_READER_KEY>&streamIds=<id>
   ```

   Pass `lastPosts` (up to 50) for a catch-up window. Use the REST [list stream posts](https://docs.synoptic.com/s/rest/api-reference.md#list-stream-posts) endpoint for history.

In an AI assistant, sign in to the MCP server instead. See [AI onboarding](https://docs.synoptic.com/s/ai-onboarding.md).

## FAQ

**Why are guest posts late?**\
Realtime delivery is what subscribers pay for. Guests see the same posts 10 seconds later.

**Can I read more than 30 posts as a guest?**\
No. Sign in or use a reader key for history.

**Can a guest read a custom-target stream, such as an X account tracker?**\
No. Follow it and choose your own targets. See [Custom Streams](https://docs.synoptic.com/s/integrations/custom-streams.md).

**Can a guest read time series?**\
No. [Time series](https://docs.synoptic.com/s/websocket/time-series.md) need an API key.

**Do I need to follow a stream to read it as a guest?**\
No.
