Get a free key

Use case: positive EV

Positive EV betting API, with the sharp prices to measure against

A bet has positive expected value when its price is longer than the true chance deserves. You need two things to find one: an honest estimate of that chance, and every bookmaker's price to hold against it. One response carries both: the sharp book and the exchange for the estimate, and every Australian book to measure.

The formula

Expected value in one line

EV = fair chance × decimal price − 1

Suppose the fair price for an NRL side is 1.95, a 51.28% chance once the margin is gone, and one bookmaker is offering 2.05:

0.5128 × 2.05 − 1 = +5.13%

Over a long run of bets like that, the average return is about five cents per dollar staked. Any single bet still wins or loses outright; the edge only shows up across many.

What the feed gives you

The yardstick comes with the prices

  • Pinnacle and the Betfair Exchange: the sharp inputs for a fair price, with the margin removed by the method you choose.
  • One ID per outcome at every book, and a separate market for each line, so you always compare like with like.
  • Every bookmaker's decimal_odds, implied_probability, available flag and observed_at.
  • Props and alternate lines in the same response, where much of the soft pricing lives.

Pinnacle and the Betfair Exchange come with every plan; Pro and Business add bet365 and a +EV endpoint that does the sums for you. How to remove the margin

Code

A +EV scanner in JavaScript

This takes Pinnacle's prices with the margin removed as the fair chance, holds every other book's price on the same outcome against it, and prints anything more than 2% above fair.

ev_scan.mjs
// Node 18+, run as an ES module
const res = await fetch(
  "https://api.sockodds.com/v1/odds?league=nrl&markets=winner,handicap,total_points",
  { headers: { Authorization: `Bearer ${process.env.SOCKODDS_KEY}` } }
);
const { data } = await res.json();

const SHARP = "pinnacle";

for (const event of data) {
  // Fair chance per outcome ID: the sharp book's prices with the margin removed.
  const fair = {};
  for (const market of event.markets) {
    const sharp = market.outcomes
      .map((o) => [o.id, o.prices.find((p) => p.bookmaker === SHARP)])
      .filter(([, p]) => p);
    if (sharp.length < 2) continue; // every side is needed to remove the margin
    const total = sharp.reduce((sum, [, p]) => sum + p.implied_probability, 0);
    for (const [id, p] of sharp) fair[id] = p.implied_probability / total;
  }
  // Every other book on the same outcomes: same market, same line, same side.
  for (const market of event.markets) {
    for (const o of market.outcomes) {
      if (!(o.id in fair)) continue;
      for (const p of o.prices) {
        if (p.bookmaker === SHARP || !p.available) continue;
        const ev = fair[o.id] * p.decimal_odds - 1;
        const line = o.line === null ? "" : " " + o.line;
        if (ev > 0.02) {
          console.log(`${event.name} | ${market.name}: ${o.name}${line} | ${p.bookmaker} ${p.decimal_odds} | +${(ev * 100).toFixed(1)}%`);
        }
      }
    }
  }
}

Good habits

Making the numbers mean something

Leave room for error. A fair price is an estimate. Many people ignore edges below two or three percent, because a small error in the fair price can wipe out a small edge.

Check the age. A stale quote can look generous because the market has moved on and the book has not been re-read yet. Read observed_at before trusting a big number.

Keep score. Record the fair price at the time of each bet and compare it with the closing price. Beating the close consistently is the clearest sign the edges are real. Opening and closing prices, from Pro up

Analysis, not advice. Positive expected value describes an average over many bets, not a promise about the next one. Fast Odds API supplies data only; it accepts no bets and tells nobody what to back. If gambling stops being fun, Gambling Help Online is free and open around the clock.

Questions

+EV and the API

Why measure against a sharp book rather than the average of all the books?

An average of the bookmakers still has their margin inside it, so beating it only means beating a typical retail price. Pinnacle and the Betfair Exchange run thin margins and take big bets, so their prices with the margin removed make a stricter and more useful benchmark.

Do props have fair prices?

Only where Pinnacle or the exchange prices the prop, and many props are priced only by retail books. You can still remove the margin from a single book's over and under yourself, with the caveats on the fair odds page.

Which plan should a +EV tool use?

Every plan reads Pinnacle, the Betfair Exchange and every Australian book but bet365, so the inputs are there from the free key. Starter opens every league with more credits; Pro adds bet365, opening and closing prices for tracking closing lines, and a +EV endpoint.

Start now

Your first Australian price is one request away.

Free key, no card, AFL and NRL included. Keys are issued on sockodds.com.