STAT-API

Reference GraphQL Reference

Cross-league reference data — the operators (DFS sites, sportsbooks, data providers) that every operator_id filter on the public API points at. Exactly one table from schema `main` is exposed; everything else in that schema is private.

Every GraphQL type, relation, argument, and field — generated from the served schema, so it can never disagree with the API. Each column is documented inline; relations and foreign keys link straight to the type they resolve to. Root fields take the same filters as REST; requests are metered by rows resolved, nested lists included.

Main

operatorsReferenceOperators
The operators referenced by every operator_id filter across the public API — DFS sites (1 DraftKings, 2 FanDuel, 3 Yahoo), sportsbooks (1683 Pinnacle, 1684 BetMGM, 1685 Caesars, 1686 BetRivers, 1687 ESPN BET), the betting consensus (6 Consensus), and the other sources of the data. A small read-only lookup table.
Fields (9)
idBigIntkey

Primary Key

codeString

Stable machine code (e.g. draftkings, fanduel, consensus, pinnacle).

ex: draftkings
nameString

Display name (e.g. DraftKings, FanDuel, Pinnacle).

ex: DraftKings
operator_typeString

Operator class — DFS, betting, media, or data provider (mixed-case legacy values exist).

ex: data_providerValues:data_providerSPORTSBOOKDFSDATA_PROVIDERMEDIA
is_activeBoolean

False for operators no longer ingested.

ex: trueValues:truefalse
website_urlStringnullable
descriptionStringnullable
created_atString
updated_atString
Relations (16)
dfs_contest_users[DFSContestUsers!]!→ DFSContestUsers

dfs.contest_users rows whose operator_id references this row.

dfs_contests[DFSContests!]!→ DFSContests

dfs.contests rows whose operator_id references this row.

dfs_slate_settings[DFSSlateSettings!]!→ DFSSlateSettings

dfs.slate_settings rows whose operator_id references this row.

dfs_slates[DFSSlates!]!→ DFSSlates

dfs.slates rows whose operator_id references this row.

pga_operator_player_lookups[PGAOperatorPlayerLookups!]!→ PGAOperatorPlayerLookups

golf.operator_player_lookups rows whose operator_id references this row.

mlb_game_lines[MLBGameLines!]!→ MLBGameLines

mlb.game_lines rows whose operator_id references this row.

mlb_operator_player_lookups[MLBOperatorPlayerLookups!]!→ MLBOperatorPlayerLookups

mlb.operator_player_lookups rows whose operator_id references this row.

nba_game_lines[NBAGameLines!]!→ NBAGameLines

nba.game_lines rows whose operator_id references this row.

nba_game_period_lines[NBAGamePeriodLines!]!→ NBAGamePeriodLines

nba.game_period_lines rows whose operator_id references this row.

nba_game_player_props[NBAGamePlayerProps!]!→ NBAGamePlayerProps

nba.game_player_props rows whose operator_id references this row.

nba_operator_player_lookups[NBAOperatorPlayerLookups!]!→ NBAOperatorPlayerLookups

nba.operator_player_lookups rows whose operator_id references this row.

nba_operator_team_lookups[NBAOperatorTeamLookups!]!→ NBAOperatorTeamLookups

nba.operator_team_lookups rows whose operator_id references this row.

nfl_game_lines[NFLGameLines!]!→ NFLGameLines

nfl.game_lines rows whose operator_id references this row.

nfl_game_player_props[NFLGamePlayerProps!]!→ NFLGamePlayerProps

nfl.game_player_props rows whose operator_id references this row.

nfl_operator_player_lookups[NFLOperatorPlayerLookups!]!→ NFLOperatorPlayerLookups

nfl.operator_player_lookups rows whose operator_id references this row.

nfl_operator_team_lookups[NFLOperatorTeamLookups!]!→ NFLOperatorTeamLookups

nfl.operator_team_lookups rows whose operator_id references this row.

Arguments (2)
  • firstIntPage size; clamped to the table's REST default/max limits.
  • afterBigIntKeyset cursor — returns rows with id > after, ordered by id ascending.