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

Event and market id mapping

Updated · PinnFeed · 1 min read

Answer: events have numeric id; markets use id = eventId:key (e.g. 1640278226:s;0;m). Cache your own fixture ↔ id map. After reconnect, rebuild from snapshot — do not assume ids vanished mid-session without a remove. Schema: docs.

Why it matters#

Algo-betting threads often call line id mapping the real bottleneck — not JSON parse time. Keep a local dictionary and update on upsert/remove only.

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#

Do ids change daily?#

Event ids stay for the lifetime of the event in the feed. Always handle removes.

Can I subscribe by event id?#

Filters are sport/market oriented; narrow client-side or see current WS docs for event filters.

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.