Calculators
Price Parlay
Combine multiple legs into a parlay and return per-bookmaker combined odds. iteration_022 #209: in a product called ParlayAPI, callers had to client-side multiply decimal odds across N /odds calls themselves; this endpoint does that work server-side.
Cost: 2 credits per leg (min 4).
Request body:
{
"legs": [
{"sport_key":"basketball_nba","event_id":"<id>",
"market":"h2h","outcome":"Cleveland Cavaliers"},
{"sport_key":"soccer_epl","event_id":"<id>",
"market":"h2h","outcome":"Tottenham Hotspur"},
{"sport_key":"baseball_mlb","event_id":"<id>",
"market":"totals","outcome":"Over","point":9.0}
],
"bookmakers": ["fanduel","draftkings","betmgm"]
}
Returns one entry per bookmaker that prices ALL legs, sorted by combined decimal odds DESCending (best to worst). Books missing even one leg appear in missing_books with which legs they couldn't price. SGP flag set when 2+ legs share the same event_id; raw multiplication is the LOWER bound for SGP (real books apply a correlation discount we don't replicate).
post/v1/parlay/price
Request
- Base URL: https://parlay-api.com
- URL: https://parlay-api.com/v1/parlay/price
- Auth: one of:
- API key in header X-API-Key
- API key in query parameter apiKey
- HTTP bearer
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.