Pinnacle margin calculator via the API
Answer: you do not need a separate “calculator product”. Every PinnFeed market already carries margin — the overround, sum(1/decimal) - 1. A worked example: prices 2.10, 3.45 and 3.60 give 1/2.10 + 1/3.45 + 1/3.60 - 1 ≈ 0.0438 (4.38%). Compare that with the margin field on /v1/odds or the WebSocket. The same proportional maths yields fair and fairProb. This is the standard multiplicative method, not a unique PinnFeed advantage.
Worked example#
def margin(decimals):
return sum(1 / d for d in decimals) - 1
# Illustrative moneyline, not a live quote
prices = [2.10, 3.45, 3.60]
print(round(margin(prices), 5)) # 0.04382 — compare with market["margin"]
# fairProb = (1/decimal) / (1 + margin); fair = 1 / fairProb
PinnFeed rounds margin to 5 decimals, fairProb to 5 and fair to 4. If an outcome has no valid price, margin is omitted rather than guessed. Field reference: margin / overround API, no-vig fair odds. To get the margin and fair odds for prices you type in, use the in-browser no-vig calculator.
Pull it from the API#
curl -sS -H "x-api-key: ps_live_..." \
"https://pinnfeed.io/v1/odds?sport=soccer&market=moneyline&main=true&limit=20"
Then read markets[].margin and each outcome’s decimal. Pair with maxStake (a floor around 100 is a common thin-line filter): max stake. margin, fair and fairProb are on every plan, including Free. The live WebSocket and closing archive need Builder (€99/mo, or €990/yr ≈ €82.50/mo).
A Sheets-oriented walkthrough of the same formula is no-vig calculator in Excel / Sheets.
Try it#
Get a free delayed REST key (no card) to check margin on snapshots, or start a 3-day Builder trial (€99/mo, VAT incl. where applicable) for push and closes. Paid plans: 3-day trial; a card is required and it is charged after day 3 unless you cancel.
Educational content for adults (18+). No tips, no guaranteed profit.
Questions people ask#
Is this different from vig or juice?#
No. Overround, vig and juice describe the same built-in margin. PinnFeed reports it as a fraction (0.025 = 2.5%).
Do you claim a better calculator than other Pinnacle feeds?#
No. The formula is standard. We expose margin on every market so you can check it; we do not claim a unique method.
Which plan do I need to see margin?#
Any plan, including Free. Builder adds the WebSocket and closing history.