curl --request GET \
--url https://api.splashsports.com/predictions-service/api/events/{event_id}/detailsconst options = {method: 'GET'};
fetch('https://api.splashsports.com/predictions-service/api/events/{event_id}/details', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.splashsports.com/predictions-service/api/events/{event_id}/details"
response = requests.get(url)
print(response.text){
"data": [
{
"prop_type": "touchdowns",
"title": "Anytime TD",
"has_more": true,
"total": 14,
"markets": []
},
{
"prop_type": "team_first_touchdown",
"team_id": "team_jax",
"title": "First touchdown for JAX",
"has_more": false,
"total": 7,
"markets": []
}
],
"included": {
"events": [],
"teams": [],
"entities": [],
"sub_categories": []
},
"status": "success"
}Get a game's markets
One game’s markets of one type, not paginated: the game page’s data source. Each tab in the game’s filters (from GET /prediction_markets/{id}) says what to send.
The response shape depends on group_by:
- Without
group_by:datais the game’s market groups of that type. Forplayer_prop, one group per player; forgameline, the game’s gameline group asGET /prediction_markets/{id}returns it. group_by=prop_type(player props only):datais one section per prop type, in the league’s display order, each with the top 10 players andhas_morewhen the rest are paged by the listing. Team first touchdown is split into one section per team, titledFirst touchdown for <alias>, away team first.group_by=market_type(game lines only):datais one section per market type, in orderWin by(spread),Totals(total),Winner(moneyline). The lead of each section is the summary card’s pick, so the card can be drawn fromdata[].markets[0]alone. Spread and total leads carry the whole ladder inalternate_lines, ordered bylineascending, lead included.
Every spread line carries both teams: the away team at line on the YES side and the home team at the inverse on the NO side. Buying the home team is buying NO on that line’s id.
group_by=prop_type, prop_type or team_id with type=gameline is a 400, as is group_by=market_type with type=player_prop.
Cached for 5 seconds.
curl --request GET \
--url https://api.splashsports.com/predictions-service/api/events/{event_id}/detailsconst options = {method: 'GET'};
fetch('https://api.splashsports.com/predictions-service/api/events/{event_id}/details', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.splashsports.com/predictions-service/api/events/{event_id}/details"
response = requests.get(url)
print(response.text){
"data": [
{
"prop_type": "touchdowns",
"title": "Anytime TD",
"has_more": true,
"total": 14,
"markets": []
},
{
"prop_type": "team_first_touchdown",
"team_id": "team_jax",
"title": "First touchdown for JAX",
"has_more": false,
"total": 7,
"markets": []
}
],
"included": {
"events": [],
"teams": [],
"entities": [],
"sub_categories": []
},
"status": "success"
}Path Parameters
The game: a market group's event_id.
Query Parameters
Which markets.
gameline, player_prop 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.
"touchdowns,first_touchdown"
One player. A game line has no player, so type=gameline with entity_id returns data: [].
Only players on this team, e.g. one team's first touchdown section. Player props only.
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.
"active,settled"
Response
The game's markets, shaped by group_by.
- Without group_by
- group_by=prop_type
- group_by=market_type

