Skip to main content
A dedicated WebSocket for theses. Subscribe to up to 200 tokens, or to all of them, and receive every new thesis, reply, reaction and removal the moment it happens. It is included on every plan, Free too. Use it to keep a thesis list up to date, to show a live feed, or to put theses as markers on a token’s price chart.
The general live stream can also carry thesis events with events=theses, together with your users’ trades, but it needs the Pro plan. For theses only, use this stream.

Connecting

string
required
Your API key. api_key works too, or an Authorization Bearer header.
string
default:"global"
global for theses of all platforms, instance for only the theses written on your instance (see Reach).
string
Your Instance ID. Only needed when your account has several instances.
Right after connecting the server sends ready. Then subscribe with JSON frames.

Frames you send

Every subscribe or unsubscribe is answered with subscribed, the complete current subscription.

Events you receive

ready
subscribed
thesis

Example: theses as chart markers

Subscribe to the tokens on screen and drop a marker at each thesis’s created_at, coloured by stance, labelled with the author.
chart.addMarker and chart.removeMarker stand for your charting library. For markers of theses posted before the page opened, load them with GET /v1/theses.

Staying connected

When you send nothing for 30 seconds the server sends a heartbeat and checks that your key is still valid; a revoked or disabled key ends the connection. Reconnect with a short backoff, send your subscribe frame again, and fill any gap with GET /v1/theses.

Limits and errors

Each API key can hold at most 5 theses stream connections at once, each with up to 200 tokens.