WebSocket subscribe filters
Answer: send one JSON subscribe frame after connect. Filter with sports, markets, live, main, and specials so the server drops unwanted markets before your client sees them. Builder required (€99/mo).
Example#
{
"type": "subscribe",
"sports": ["soccer", "tennis"],
"markets": ["moneyline", "spread", "total"],
"live": true,
"main": true,
"specials": false
}
Change filters anytime by sending another subscribe (no reconnect). Full list: WebSocket docs.
Trial CTA#
Builder (€99/mo) for WebSocket and closing history. 3-day trial; card required, charged after day 3 unless cancelled. Free REST: signup. Related: answers hub, docs.
See also: change a subscription without reconnecting, test with wscat.
Related: Multi-sport subscribe.
Questions people ask#
What if I omit sports?#
On plans with a sports limit you must pass sports in your plan. Builder/Pro include all 13.
Can I filter by league?#
Subscribe is sport-scoped; filter league.name client-side after the snapshot.
Is this educational content for adults?#
Yes (18+).