On the wire · 05:11:25 UTC Live 585 · Prematch 14,343 · Markets 57,075 Vol. I · No. 5 · Friday 13 November 2026 wss://pinnfeed.io/v1/stream
PinnFeed
Answer · WebSocket · Heartbeat

WebSocket ping / pong heartbeat

Updated · PinnFeed · 1 min read

Answer: reply to every server {"type":"ping"} with {"type":"pong"}. Miss ~60 s of pongs and the connection closes. Same rule in Python and Node samples.

One-liner handlers#

if msg["type"] == "ping":
    await ws.send('{"type":"pong"}')
if (msg.type === 'ping') ws.send('{"type":"pong"}');

See stale-price / reconnect.

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#

Is this WebSocket protocol ping?#

Application JSON ping/pong on the PinnFeed stream, documented in WebSocket docs.

Does REST need pong?#

No. Heartbeats are WebSocket-only.

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.