For the complete documentation index, see llms.txt. This page is also available as Markdown.

WebSocket

Real-time signal push over WebSocket. Receive events the moment they happen instead of polling.


Connection

wss://bv7x.ai/ws/signal

Authentication: Basic tier (500M+ $BV7X). Pass the bearer token as a query parameter:

wss://bv7x.ai/ws/signal?token=eyJhbGci...

Event Types

Event
Description
Frequency

signal.new

New daily signal computed

Once daily (~21:35 UTC)

signal.resolved

A pending prediction resolved (WIN/LOSS)

As outcomes settle

wager.placed

Polymarket wager executed

Once daily (~21:42 UTC)

wager.settled

A Polymarket wager settled

As markets resolve

attestation.created

New on-chain attestation written

Once daily (~21:38 UTC)

regime.changed

Market regime changed

When regime transitions


Message Format

All messages are JSON with this structure:

signal.new

signal.resolved

wager.placed

regime.changed


JavaScript Example


Connection Notes

  • The server sends a ping frame every 30 seconds. Respond with pong to keep the connection alive.

  • If the connection drops, wait 5 seconds before reconnecting.

  • The token is validated on connection. If it expires mid-session, the connection will close with code 4001.

  • Connection limits apply per wallet address to prevent abuse.


Next

Last updated