On the wire · 04:59:34 UTC Live 568 · Prematch 14,387 · Markets 56,858 Vol. I · No. 5 · Friday 13 November 2026 wss://pinnfeed.io/v1/stream
PinnFeed
Risposta · WebSocket · Heartbeat

Heartbeat ping / pong del WebSocket

Aggiornato il · PinnFeed · 1 min di lettura

Risposta: rispondi a ogni {"type":"ping"} del server con {"type":"pong"}. Senza pong per ~60 s la connessione si chiude. Stessa regola negli esempi Python e Node.

One-liner handlers#

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

Riconnessione / prezzo stale (EN): stale-price reconnect.

Prova#

Builder (99 €/mese) per WebSocket e storico di chiusura. Prova di 3 giorni; carta richiesta, addebitata dopo il giorno 3 salvo disdetta. Chiave gratis: registrazione. Vedi anche: hub risposte, docs, esempio Python.

Contenuto educativo per maggiorenni (18+): non pronostici né promesse di guadagno. In Italia scommetti solo con operatori autorizzati ADM.

Domande frequenti#

È il ping del protocollo WebSocket?#

No: è un ping/pong JSON applicativo sullo stream PinnFeed, documentato nella doc WebSocket.

REST ha bisogno del pong?#

No. Gli heartbeat sono solo WebSocket.

Il piano WebSocket: Builder, 99 €/mese.

Quote Pinnacle in tempo reale su un unico WebSocket: tutti i 13 sport, tutti i mercati, quote eque senza margine e quote di chiusura. 3 giorni gratis, disdici con un clic.

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.