Real-Time Prediction Market Feed

Real-time prediction market data lets your application reflect breaking developments — not yesterday's consensus. Here's how to set up a reliable feed.

Polling vs. streaming

Prediction market APIs are generally poll-based: you request current data on a schedule. The Meridian Edge API is optimized for frequent polling — responses are cached server-side and return in under 200ms for most requests.

Pro-tier users get access to webhook delivery, which pushes updates when events change by more than a configurable threshold — eliminating the need to poll when nothing has changed.

Choosing your polling interval

Starter tier polling math

The starter tier includes 100 calls/day. With 4 sports and polling every 15 minutes for 6 hours of active game windows, that's approximately 4 × (6 × 4) = 96 calls — just within the starter limit.

Starter (1,000 calls/day) supports continuous polling every 5 minutes across all sports for a full 24-hour day.

Efficient polling pattern

import requests, time

API_KEY = "me_live_your_key"
HDRS    = {"X-API-Key": API_KEY}

# Only re-fetch if data is stale (use ETag or last-modified)
last_etag = None

def fetch_if_changed(sport="NBA"):
    global last_etag
    headers = dict(HDRS)
    if last_etag:
        headers["If-None-Match"] = last_etag
    r = requests.get("https://meridianedge.io/api/v1/consensus",
                     headers=headers, params={"sport": sport})
    if r.status_code == 304:  # not modified
        return None
    last_etag = r.headers.get("ETag")
    return r.json().get("events", [])

Frequently asked questions

What is a real-time prediction market feed?
A real-time prediction market feed delivers continuously updated probability estimates as markets move. Unlike daily snapshots, a real-time feed reflects breaking news and large orders within minutes of them occurring.
How often does Meridian Edge data update?
Meridian Edge snapshots update continuously throughout the day. During active game windows, data may refresh every 2–5 minutes. Overnight or off-season markets update less frequently.
What is the best polling interval for a prediction market feed?
For sports in-play: every 60–120 seconds. For pre-game markets: every 5–15 minutes. For long-horizon events: every 1–4 hours. Starter tier allows 100 calls/day, which supports a 15-minute polling interval across all major sports.

Get API Access

Plans start at $29/mo. 1,000 calls/day. Key in 10 seconds.

View Plans →

Need more? Starter ($29/mo) — 1,000 calls/day + divergence signals