Pred-Data Get odds data

Prediction-market & odds glossary

What is a webSocket feed?

WebSocket feed explained in plain English: a direct definition, a worked example and related terms, with sources.

Last updated: · Written and reviewed by Ken Lin

Partner link Partner link — we may earn a commission. See our affiliate disclosure.

Quick answer

WebSocket feed: A WebSocket feed is a persistent two-way connection (RFC 6455) over which a server pushes updates as they happen, instead of the client repeatedly polling a REST endpoint.

Also called: streaming odds, push feed

Explained, with an example

The WebSocket protocol is standardised in IETF RFC 6455 [1]. Odds-API.io streams odds over wss://api.odds-api.io/v3/ws with filters such as markets=ML,Spread,Totals [2]; on its plans WebSocket access is an add-on priced at the plan price again [3]. Streaming matters for live markets, where REST polling can miss short-lived prices.

Try it: tools and tutorials

Frequently asked questions

What is a webSocket feed?

A WebSocket feed is a persistent two-way connection (RFC 6455) over which a server pushes updates as they happen, instead of the client repeatedly polling a REST endpoint.

About this guide

Pred-Data publishes independent, source-linked explainers about prediction markets and the AI tools used around them. Every factual claim on this page links to a primary or reputable secondary source, checked on the date shown above. We do not run a trading venue, take bets, or give personal advice.

Author: Ken Lin · Corrections: if you spot an error, we review it and date-stamp the fix.

Affiliate disclosure

Some links on this site (marked “Partner link”) may be affiliate links: if you sign up through them we may earn a commission at no extra cost to you. Partner links use rel="sponsored nofollow" and never change our assessment. Platform links in our comparison tables are plain, non-affiliate links to official sites.

Sources

  1. RFC 6455: The WebSocket Protocol (2011) — IETF, accessed 2 Nov 2026
  2. WebSocket guide (wss://api.odds-api.io/v3/ws, markets filter, reconnects) — Odds-API.io docs, accessed 2 Nov 2026
  3. Odds API Pricing (plans, WebSocket add-on, extra requests, payment) — Odds-API.io, accessed 2 Nov 2026