On the wire · 04:34:11 UTC Live 547 · Prematch 14,368 · Markets 56,935 Vol. I · No. 5 · Friday 13 November 2026 wss://pinnfeed.io/v1/stream
PinnFeed
Answer · WebSocket · Compression

permessage-deflate on the odds WebSocket

Updated · PinnFeed · 1 min read

Answer: clients that negotiate permessage-deflate get compressed frames (threshold ~1 KB). Snapshots typically shrink 5–10×. Python websockets enables it by default; Node ws needs perMessageDeflate: true.

Node#

new WebSocket(url, { headers: { 'x-api-key': KEY }, perMessageDeflate: true });

Details: 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.

Questions people ask#

Must I enable it?#

Recommended for large soccer books. Skip only if CPU is extremely constrained.

Does compression change JSON fields?#

No — same schema after inflate.

Is this educational content for adults?#

Yes (18+).

The WebSocket plan: Builder, €99/mo.

Real-time Pinnacle odds pushed over one WebSocket, all 13 sports, every market, no-vig fair odds and closing lines. 3 days free, cancel in one click.

Form K-1 · Free API key

Get your free API key.

One field. No password, no card: enter your email, click the link we send, and your key is on screen.

By continuing you agree to the Terms and Privacy Policy.

One free key per email. Link valid for 20 minutes.