Discover feed
curl --request GET \
--url https://api.splashsports.com/predictions-service/api/discoverconst options = {method: 'GET'};
fetch('https://api.splashsports.com/predictions-service/api/discover', 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/discover"
response = requests.get(url)
print(response.text){
"discover": [
{
"type": "gameline",
"title": "NFL This Week",
"sub_category": "nfl",
"market_groups": [
{
"id": "market_group_123",
"sub_category": "nfl",
"event_id": "game_456",
"type": "gameline",
"markets": []
}
]
}
],
"included": {
"events": [],
"teams": [],
"entities": [],
"sub_categories": [
{
"id": "nfl",
"name": "Pro Football",
"icon_url": "https://res.cloudinary.com/..."
}
]
},
"status": "success"
}{
"status": "error",
"error": "INTERNAL_ERROR",
"message": "An internal error has occured and the request could not be handled."
}Discover
Discover feed
The home feed: one gameline section per league, in the order the discover cache loads leagues (nfl, ncaaf, nba, mlb, nhl, ncaab, wnba, epl). This endpoint is deliberately not volume-ranked; only GET /sub_categories orders leagues by trading volume, so the two can legitimately disagree on league order.
The response carries no top-level sub_categories. The payload is cached, so live availability (active, filters) is read from GET /sub_categories, which computes both per request. included.sub_categories is the identity-only index of the leagues the included events, teams and entities belong to.
Cached for 5 seconds.
GET
/
discover
Discover feed
curl --request GET \
--url https://api.splashsports.com/predictions-service/api/discoverconst options = {method: 'GET'};
fetch('https://api.splashsports.com/predictions-service/api/discover', 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/discover"
response = requests.get(url)
print(response.text){
"discover": [
{
"type": "gameline",
"title": "NFL This Week",
"sub_category": "nfl",
"market_groups": [
{
"id": "market_group_123",
"sub_category": "nfl",
"event_id": "game_456",
"type": "gameline",
"markets": []
}
]
}
],
"included": {
"events": [],
"teams": [],
"entities": [],
"sub_categories": [
{
"id": "nfl",
"name": "Pro Football",
"icon_url": "https://res.cloudinary.com/..."
}
]
},
"status": "success"
}{
"status": "error",
"error": "INTERNAL_ERROR",
"message": "An internal error has occured and the request could not be handled."
}
