# Odds API for Parlay Builders
URL: https://sockodds.com/use-cases/parlay-builder-api/

> A multi and same-game-multi builder API: pull every market as a leg (props, alt lines, game markets), normalise via oddID, and compute combined odds.

A multi and same-game-multi builder API: pull every market as a leg (props, alt lines, game markets), normalise via oddID, and compute combined odds.

A multi (parlay) builder needs every market a user could add as a leg, priced by every book, in one normalised shape. SockOdds returns 1,192 markets — game lines, props, alt lines — under one `oddID` grammar with `decimal` prices ready to multiply, plus the same-game-multi lanes the Australian books run.

## Why build your multi builder on SockOdds

- **Every leg in one shape.** Lines, totals, head to head, props and alternates share the `oddID` grammar.
- **Decimal prices, ready to multiply.** `byBookmaker[*].decimal` — no conversion step.
- **Same-game-multi lanes.** `betfocus__sgm_only`, `mintbet__sgm_only`, `dabble__sgm_only` and `picklebet__sgm_only` price SGM legs separately.
- **Per-leg deeplinks.** `links.bookmakers` and `links.betslip`.
- **Fair prices to sanity-check the multi.** `fairOdds` per leg on Base and above.

## How a multi builder works with our data

### Pull the legs a user can add

One events call per league; every market in `odds` is a candidate leg.

### Compute the combined price

Multiply the chosen legs' `decimal` at the chosen book; see [the parlay calculator example](https://sockodds.com/docs/examples/parlay-builder/).

### Handle same-game multis correctly

Legs from the same event are correlated; use the SGM lanes' prices where a book runs them rather than multiplying independent prices.

### Deeplink each leg

Send the user to the book with the event link.

## Example request

```bash
curl "https://api.sockodds.com/v2/events/?leagueID=AFL&oddsAvailable=true&bookmakerID=sportsbet,tab&limit=1" \
  -H "x-api-key: YOUR_API_KEY"
```

Every market on the event, priced by the two books, ready to become legs:

```json
{
  "eventID": "afl_2026-09-03_fremantle_vs_hawthorn",
  "leagueID": "AFL",
  "odds": {
    "points-all-game-eo-odd": {
      "oddID": "points-all-game-eo-odd",
      "opposingOddID": "points-all-game-eo-even",
      "marketName": "Odd/Even Total Points",
      "statID": "points",
      "statEntityID": "all",
      "periodID": "game",
      "betTypeID": "eo",
      "sideID": "odd",
      "fairOdds": null,
      "bookOdds": "-116",
      "byBookmaker": {
        "unibet": {
          "odds": "-115",
          "decimal": 1.87,
          "available": true
        },
        "tabtouch": {
          "odds": "-118",
          "decimal": 1.85,
          "available": true
        }
      }
    }
  }
}
```

## SockOdds vs building your multi builder yourself

| Capability | SockOdds | building your multi builder yourself |
| --- | --- | --- |
| Leg coverage | 1,192 markets under one `oddID` shape | Scrape and map each book's catalogue |
| Normalised leg ids | Shared `oddID` across every book | Reconcile per book |
| Leg pricing | `decimal` + `bookOdds` + `fairOdds` | Convert and compute yourself |
| SGM pricing | Separate SGM lanes where books run them | Guess at correlation |
| Deeplinks | Event and bet-slip links | Build per book |

## Frequently asked questions

### What is a parlay API?

A feed of every market that can be a leg, normalised so a builder can combine them. Australians call it a multi.

### Can I build same-game multis?

Yes — use the SGM lanes' prices where a book runs them; independent multiplication over-prices correlated legs.

### How do I calculate combined odds?

Multiply each leg's decimal price.

### What markets can be legs?

Any market in the event's `odds` object.

### Can I deeplink a multi to a bookmaker?

To the event; bet-slip pre-fill depends on the book.

### Which sports are supported?

All 12.

## Related use cases

- [Sports Odds API for Betting Apps](https://sockodds.com/use-cases/sports-betting-app-api/): The sports betting app API with odds from every major Australian bookmaker, event status, results, and click-to-bet deeplinks in a single feed..
- [Odds Comparison & Line Shopping API](https://sockodds.com/use-cases/odds-comparison-api/): Compare bookmaker odds with one API call.
- [Odds API for Positive EV Betting](https://sockodds.com/use-cases/positive-ev-betting-api/): Positive EV betting API with no-vig fairOdds and every AU book's price side by side, so you can surface +EV bets without building your own devig pipeline..
- [Pricing](https://sockodds.com/pricing/): plans priced on request rate and scope, including a free Lite tier with no card.

## Start building today

Free plan available. Set up in 5 minutes. Scale when you're ready.
