Overview
Sports markets on Bayse for soccer games currently come in three interconnected types:- Head-to-Head (H2H) 3-Way — Match winner markets
- Goal Spread — Markets on each team winning by a specific number of goals
- Total Goals — Markets on the total goals scored in the match
sportGameSlug field, making it easy to discover and fetch related markets.
Sport Market Types
Head-to-Head (H2H) 3-Way
Type:TEAM_H2H_3WAY
The primary event for a soccer match. Has three mutually exclusive markets:
- Home Win — The home team wins the match
- Away Win — The away team wins the match
- Draw — The match ends in a draw
Goal Spread
Type:GOAL_SPREAD
A grouped event where each market represents a team winning by a specific number of goals.
Structure:
- Event: Contains all spread markets for the match
- Markets: One per unique goal line per team (e.g., 1.5, 2.5, 3.5 goals)
propLine— The goal line (e.g., 1.5, 2.5)propTeam— The team this spread applies toid— Team UUIDname— Team nameslug— URL-safe team slugleague— League namesport— “SOCCER”
propDirection— “OVER” or “UNDER”
Total Goals
Type:TOTAL_GOALS
A grouped event for the total goals scored in the match.
Structure:
- Event: Contains all total goals markets for the match
- Markets: One per unique goal line (e.g., 1.5, 2.5, 3.5, 4.5 goals)
propLine— The goal line (e.g., 2.5, 3.5)propTeam— null (applies to the entire match, not a team)propDirection— “OVER” or “UNDER”
Linking Markets Together
All three event types for a single match share the samesportGameSlug.
Discovery Flow
-
Fetch events
-
Fetch related spread/goals events — Use the
sportGameSlugfrom the parent event whosesportMarketType=TEAM_H2H_3WAY
Data Structure Reference
Event-level fields
All sports events include:| Field | Type | Example | Notes |
|---|---|---|---|
sportGameSlug | string | "bm-game-20260524-mci-avl" | Use this for querying related events |
sportMarketType | enum | TEAM_H2H_3WAY | GOAL_SPREAD | TOTAL_GOALS | Determines the market structure |
Market-level fields (prop markets only)
Spread and Total Goals markets include:| Field | Type | Example | Notes |
|---|---|---|---|
propLine | number | 1.5, 2.5, 3.5 | The threshold (e.g., “Team A to win by 1.5” or “Total 2.5”) |
propDirection | string | "OVER" | "UNDER" | Over/Under direction; maps to outcome labels |
propTeam | object | See below | null for Total Goals and H2H Draw market; populated for Goal Spread and H2H Home and Away Teams |
propTeam object
Present only for Goal Spread and H2H markets:propTeam is null or absent.
Terminology
| Term | Definition |
|---|---|
| H2H | Head-to-head; moneyline-style market with three mutually exclusive outcomes |
| Spread | A goal differential market; Team X wins by more than Y goals |
| Prop Line | The threshold used in a prop market (e.g., 1.5, 2.5 goals) |
| Prop Direction | Directional labels for prop markets; “Over 2.5” means exceeding the threshold |
| Combined/Mutually Exclusive Markets | Only one market in the group can resolve as YES; others auto-resolve NO. For more details, see events, markets & outcomes |
| Grouped Markets | Multiple independent markets under one event. Each market is resolved on its own — multiple markets can resolve YES. For more details, see events, markets & outcomes |
| Over/Under | Directional labels for prop markets; “Over 2.5” means exceeding the threshold |