Data Types Overview — API Schema Reference
The API organises data into a hierarchy. Understanding these relationships helps you navigate the API efficiently.
Odds markets are identified using an oddID made up of {statID}-{statEntityID}-{periodID}-{betTypeID}-{sideID}.
| Data Type | Identifier | Description | Example Values |
|---|---|---|---|
| Sports | sportID | Top-level sports | AUSSIE_RULES, RUGBY_LEAGUE, SOCCER |
| Leagues | leagueID | Leagues within each sport | AFL, NRL, EPL |
| Bookmakers | bookmakerID | Sportsbooks that offer odds | sportsbet, tab, pinnacle |
| Periods | periodID | Time period for a stat or bet | game, 1h, 1q |
| Stats | statID | Statistic being tracked | points, disposals, tries |
| Stat Entity | statEntityID | Who the stat applies to | home, away, all, LACHIE_NEALE_1_AFL |
| Bet Types | betTypeID | Type of bet | ml, sp, ou |
| Sides | sideID | Outcome a bet is taking | home, away, over, under |
| Odds | oddID | A betting odds market | points-all-game-ou-over |