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

Go WebSocket client for Pinnacle odds

Updated · PinnFeed · 1 min read

Answer: dial wss://pinnfeed.io/v1/stream, set header x-api-key: ps_live_..., send a JSON subscribe, reply to ping with pong about every 20s, and reconnect with backoff. Builder (€99/mo) required.

Sketch (gorilla/websocket)#

// 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"}

Protocol details: snapshot/delta, ping/pong, Node reconnect.

Trial CTA#

Builder (€99/mo) for the live + prematch WebSocket and closing history. 3-day trial; card required, charged after day 3 unless cancelled. Free delayed REST: signup. Related: answers hub, docs, pricing.

Questions people ask#

Is there an official Go SDK?#

No — plain WebSocket + JSON is enough.

Can I pass the key as a query param?#

Yes — /v1/stream?key=ps_live_... is supported; prefer the header when your client allows it.

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.