New feature
Soccer sports markets — H2H + Goal Spread + Total Goals
Three individual but interconnected event types for soccer matches, linked through a commonsportGameSlug:
1. Head-to-Head (H2H) 3-Way — TEAM_H2H_3WAY
The primary match winner event with three mutually exclusive markets:
- Home team win
- Away team win
- Draw
2. Goal Spread — GOAL_SPREAD
Grouped event with independent markets for each team winning by a specific goal margin (e.g., 1.5, 2.5, 3.5 goals).
New fields:
propLine(number) — The goal thresholdpropDirection(string) —"OVER"(indicates the team must win by more than the threshold)propTeam(object) — Team details (id, name, slug, league, sport)
3. Total Goals — TOTAL_GOALS
Grouped event for total goals scored in the match (e.g., Over/Under 2.5, 3.5 goals).
New fields:
propLine(number) — The goal thresholdpropDirection(string) —"OVER" (indicates total goals must be over the threshold)propTeam—null(applies to entire match)
New Endpoints
List sports teams — GET /v1/pm/sports/teams
Fetch soccer teams. Supports filtering by league and pagination.
List sports games — GET /v1/pm/sports/games
Fetch upcoming and live matches with details like teams, league, and scheduled start time. Supports filtering by team, league, and pagination.
List sports leagues — GET /v1/pm/sports/leagues
Fetch soccer leagues to use for filtering teams and games.
New query parameter
Get Events endpoint — GET /v1/pm/events
Filter sports events by:
sportGameSlug(string) — Fetch all three event types for a match
Get Trades endpoint — GET /v1/pm/trades
New optional filters for trade history:
orderId(string) — Trades where the order is on either the taker or maker sideoutcomeId(string) — Trades on either the taker or maker sideuserId(string) — Trades where the user was either the taker or the makerfromDate(string) — Trades created at or after this RFC3339 timestamptoDate(string) — Trades created at or before this RFC3339 timestamp
Response schema changes
Market response
New fields for prop markets:| Field | Type | Present on |
|---|---|---|
propLine | number | null | Goal Spread markets, Total Goals markets |
propDirection | string | null | Goal Spread markets ("OVER"), Total Goals markets ("OVER") |
propTeam | object | null | Goal Spread markets (team details), Total Goals markets (null) |
Event response
New fields:| Field | Type | Present on | Notes |
|---|---|---|---|
sportGameSlug | string | All sports events | Use for fetching related events |
sportMarketType | string | All sports events | TEAM_H2H_3WAY | GOAL_SPREAD | TOTAL_GOALS |
Documentation
See Sports markets for:- Complete market structure examples
- Discovery flow for linked events
- Terminology and data reference
Technical notes
- H2H events also include
propTeamfor home/away markets (enables team-specific UI differentiation) - Database: new
propLine,propDirection, andpropTeamIdcolumns onmarketstable; newsportGameSlugandsportMarketTypecolumn oneventstable