Skip to main content
GET
Get a game's markets

Path Parameters

event_id
string
required

The game: a market group's event_id.

Query Parameters

type
enum<string>
required

Which markets.

Available options:
gameline,
player_prop
group_by
enum<string>

prop_type returns player props as sections, one per prop type (with type=player_prop only). market_type returns game lines as sections, one per market type (with type=gameline only). See Grouping.

Available options:
prop_type,
market_type
prop_type
string

Comma-separated player prop types, from a Player Props filter's types. Returns only those types and implies type=player_prop when type is omitted. The values are per league; a game's tabs say which it carries.

  • Football: touchdowns, first_touchdown, team_first_touchdown, passing_yards, passing_touchdowns, passing_completions, passing_attempts, interceptions_thrown, most_passing_yards, receiving_yards, receptions, longest_reception, rushing_yards, rushing_attempts, scrimmage_yards, fantasy_points_ppr
  • Basketball: points, rebounds, assists, points_rebounds_assists, three_points_made, steals, blocks, double_double
  • Hockey: goals, assists, points
  • Baseball: hits, total_bases, hits_runs_rbis, home_runs, rbis, stolen_bases, strikeouts, outs, earned_runs_allowed, hits_allowed, walks_allowed
  • Soccer: goals, assists, goals_plus_assists, first_goal

Full table with display titles: Player prop types.

Example:

"touchdowns,first_touchdown"

entity_id
string

One player. A game line has no player, so type=gameline with entity_id returns data: [].

team_id
string

Only players on this team, e.g. one team's first touchdown section. Player props only.

status
string

Comma-separated subset of active, settled, expired. Omitted = active only. An empty value or a value outside the list is a 400. See Market statuses.

Example:

"active,settled"

Response

The game's markets, shaped by group_by.

data
MarketGroup · object[]
required

The game's groups of the requested type, all of them.

included
Included · object
required

The resources the primary data references. Resolve event_id, team_id and entity_id here.

status
string
required
Allowed value: "success"