Fractional odds from the Pinnacle odds API
Answer: PinnFeed outcomes already carry decimal, american, fair and fairProb. There is no fractional field and no format query param. If you need UK-style fractions for display, convert decimal - 1 to a reduced fraction in your client. The same arithmetic works on any decimal book — we do not claim a unique conversion method. Prefer fair for model work (margin already removed).
Conversion#
from fractions import Fraction
def to_fractional(decimal):
# 2.50 -> 3/2, 1.50 -> 1/2, 3.00 -> 2/1
return Fraction(decimal - 1).limit_denominator(200)
print(to_fractional(2.50)) # 3/2
print(to_fractional(1.50)) # 1/2
Worked sibling for the US format that is on the wire: American format API. Schema: docs.
curl -sS -H "x-api-key: ps_live_..." \
"https://pinnfeed.io/v1/odds?sport=soccer&market=moneyline&main=true&limit=5"
Read outcomes[].decimal (or fair if you want the no-vig price) and convert in your UI. Rounding a repeating decimal (for example 1.833…) to a familiar fraction such as 5/6 is a display choice; do not treat the fraction as more precise than the decimal you started from.
Plans#
decimal and american are on every plan, including Free. Live + prematch push and closings need Builder (€99/mo, or €990/yr ≈ €82.50/mo) or Pro.
Try it#
Get a free delayed REST key (no card) to inspect decimal and american, or start a 3-day Builder trial (€99/mo, VAT incl. where applicable) for the stream. Paid plans: 3-day trial; a card is required and it is charged after day 3 unless you cancel. Pricing.
Educational content for adults (18+). No tips, no guaranteed profit.
Questions people ask#
Can I request only fractional odds?#
No. There is no format flag and no fractional field. Convert decimal (or fair) yourself and ignore fields you do not display.
Is fair already a fraction?#
No. fair is a no-vig decimal. Convert it the same way if you want a no-vig fraction.
Is this different from other decimal feeds?#
The conversion is standard. We expose decimal and american so you can check the numbers; we do not claim a unique fractional method.