On the wire · 05:09:47 UTC Live 584 · Prematch 14,344 · Markets 57,086 Vol. I · No. 5 · Friday 13 November 2026 wss://pinnfeed.io/v1/stream
PinnFeed
Risposta · Go · WebSocket

Client WebSocket Go per le quote Pinnacle

Aggiornato il · PinnFeed · 1 min di lettura

Risposta: apri wss://pinnfeed.io/v1/stream con l'header x-api-key: ps_live_..., invia un subscribe in JSON, rispondi a ogni ping con {"type":"pong"} (il server lo invia ogni 20 s) e riconnettiti con backoff. Serve Builder (99 €/mese).

Schema#

// go get github.com/gorilla/websocket
hdr := http.Header{}
hdr.Set("x-api-key", os.Getenv("PINNFEED_KEY"))
c, _, err := websocket.DefaultDialer.Dial("wss://pinnfeed.io/v1/stream", hdr)
// write: {"type":"subscribe","sports":["soccer"],"markets":["moneyline"],"main":true}
// on {"type":"ping"} write {"type":"pong"}

Dettagli del protocollo: snapshot e delta, ping/pong, documentazione WebSocket.

Piani#

Builder (99 €/mese). Prova di 3 giorni; carta richiesta, addebito dopo il giorno 3 salvo disdetta. Chiave gratuita: registrazione.

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

Domande frequenti#

Esiste un SDK Go ufficiale?#

No. Basta un WebSocket standard con JSON.

Posso passare la chiave come parametro nell'URL?#

Sì, /v1/stream?key=ps_live_... è supportato, ma usa l'header quando il tuo client lo consente.

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.