Sportsbook Review Graphql API Schema
To query sportsbooks, the request is 'query MyQuery{sportsbooks(did:1,sitid:5,enabled:true){afid iid nam paid sbid suf pre}}' for offshore, and onshore books can be found when the sitId is not 5.
API Endpoints
# Production Server:
https://ms.virginia.us-east-1.oddstrader.com/odds-v2/odds-v2-service
HOW TO GET SPORTSBOOKS TO QUERY
To query sportsbooks, the request is 'query MyQuery{sportsbooks(did:1,sitid:5,enabled:true){afid iid nam paid sbid suf pre}}' for offshore, and onshore books can be found when the sitId is not 5.
Queries
bestLines
Response
Returns [BestLine]
Example
Query
query bestLines(
$catid: Int,
$paid: [Int],
$eid: [Int]!,
$mtid: [Int],
$groupByEntity: Boolean,
$tmid: Int
) {
bestLines(
catid: $catid,
paid: $paid,
eid: $eid,
mtid: $mtid,
groupByEntity: $groupByEntity,
tmid: $tmid
)
}
Variables
{
"catid": 987,
"paid": [987],
"eid": [987],
"mtid": [987],
"groupByEntity": true,
"tmid": 987
}
Response
{"data": {"bestLines": [BestLine]}}
bestLinesByPlayer
Response
Returns a LinesByPlayer
Example
Query
query bestLinesByPlayer(
$mtid: [Int]!,
$paid: [Int]!,
$pid: Int!,
$lid: Int!,
$seid: Int!,
$eid: Int
) {
bestLinesByPlayer(
mtid: $mtid,
paid: $paid,
pid: $pid,
lid: $lid,
seid: $seid,
eid: $eid
)
}
Variables
{"mtid": [123], "paid": [123], "pid": 123, "lid": 123, "seid": 123, "eid": 987}
Response
{"data": {"bestLinesByPlayer": LinesByPlayer}}
bestLinesV2
Response
Returns [EventLines]
Arguments
Name | Description |
---|---|
events - [EventLinesInput!]!
|
|
paids - [Int]
|
|
catid - Int!
|
Example
Query
query bestLinesV2(
$events: [EventLinesInput!]!,
$paids: [Int],
$catid: Int!
) {
bestLinesV2(
events: $events,
paids: $paids,
catid: $catid
) {
eid
markettypes {
mtid
nam
des
entitytype
participanttype
entities {
id
type
}
bettingOptions {
id
type
bestLines {
...LinesV2Fragment
}
}
}
}
}
Variables
{
"events": [EventLinesInput],
"paids": [987],
"catid": 987
}
Response
{
"data": {
"bestLinesV2": [
{"eid": 987, "markettypes": [MarkettypeV2]}
]
}
}
betSlipInfo
Response
Returns a BetSlipInfo
Arguments
Name | Description |
---|---|
betSlipArgs - [BetSlipArgs]
|
|
marketTypeLayout - MarketTypeLayout
|
Example
Query
query betSlipInfo(
$betSlipArgs: [BetSlipArgs],
$marketTypeLayout: MarketTypeLayout
) {
betSlipInfo(
betSlipArgs: $betSlipArgs,
marketTypeLayout: $marketTypeLayout
) {
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
currentLines
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
}
}
Variables
{
"betSlipArgs": [BetSlipArgs],
"marketTypeLayout": "PARTICIPANTS"
}
Response
{
"data": {
"betSlipInfo": {
"events": [Event],
"currentLines": [{}],
"marketTypes": [MarketTypeWithSettings]
}
}
}
bettingOptions
Response
Returns [BettingOption]
Arguments
Name | Description |
---|---|
boid - [Int]!
|
Example
Query
query bettingOptions($boid: [Int]!) {
bettingOptions(boid: $boid) {
boid
nam
sequence
}
}
Variables
{"boid": [987]}
Response
{
"data": {
"bettingOptions": [
{
"boid": 123,
"nam": "xyz789",
"sequence": 123
}
]
}
}
bettingOptionsByEvent
Response
Returns [EventBettingOption]
Example
Query
query bettingOptionsByEvent(
$eid: [Int]!,
$mtid: Int
) {
bettingOptionsByEvent(
eid: $eid,
mtid: $mtid
) {
eid
partid
boid
nam
mtid
spid
sequence
}
}
Variables
{"eid": [987], "mtid": 123}
Response
{
"data": {
"bettingOptionsByEvent": [
{
"eid": 987,
"partid": 123,
"boid": 123,
"nam": "abc123",
"mtid": 123,
"spid": 987,
"sequence": 987
}
]
}
}
calendarEventsByEventGroup
Response
Returns [Event]
Example
Query
query calendarEventsByEventGroup(
$egid: Int!,
$dt: RangeInput,
$ic: Boolean,
$lid: Int,
$spid: Int,
$limit: Int,
$skip: Int,
$sort: SortInput
) {
calendarEventsByEventGroup(
egid: $egid,
dt: $dt,
ic: $ic,
lid: $lid,
spid: $spid,
limit: $limit,
skip: $skip,
sort: $sort
) {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
region {
rid
nam
sn
}
settings {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
sport {
spid
nam
settings {
...SportSettingFragment
}
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
name
backgroundColor
textColor
dotColor
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
type
query
}
current_condition {
observation_time
temp_C
temp_F
weatherCode
weatherIconUrl {
...ValueFragment
}
weatherDesc {
...ValueFragment
}
windspeedMiles
windspeedKmph
winddirDegree
winddir16Point
precipMM
humidity
visibility
pressure
cloudcover
FeelsLikeC
FeelsLikeF
}
weather {
date
astronomy {
...AstronomyFragment
}
maxtempC
maxtempF
mintempC
mintempF
totalSnow_cm
sunHour
uvIndex
hourly {
...HourlyFragment
}
}
ClimateAverages {
month {
...MonthFragment
}
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
}
}
Variables
{
"egid": 987,
"dt": RangeInput,
"ic": true,
"lid": 987,
"spid": 123,
"limit": 123,
"skip": 987,
"sort": SortInput
}
Response
{
"data": {
"calendarEventsByEventGroup": [
{
"eid": 123,
"srid": "xyz789",
"cit": "xyz789",
"dt": 987.65,
"des": "xyz789",
"es": "xyz789",
"ic": true,
"hl": true,
"lu": "xyz789",
"lid": 987,
"rid": 123,
"spid": 123,
"sta": "abc123",
"st": "abc123",
"cou": "xyz789",
"zcode": "xyz789",
"ven": "xyz789",
"tvs": "abc123",
"sequence": 123,
"seid": 123,
"writeingame": true,
"scores": [Score],
"league": LeagueWithSettings,
"participants": [Participant],
"statistics": [Statistic],
"statisticsByGroups": [StatisticByGroup],
"eventStatisticsByGroup": [StatisticByGroup],
"marketType": MarketTypeWithSettings,
"marketTypes": [MarketTypeWithSettings],
"currentLines": [{}],
"openingLines": [{}],
"bestLines": [{}],
"bettingOptions": [EventBettingOption],
"plays": [Play],
"eventGroup": EventGroup,
"eventTags": [EventTag],
"captions": [Caption],
"consensus": [Consensus],
"consensusV2": [ConsensusV2],
"weather": [WeatherOutput],
"eventMarketsCount": 987,
"tl": "abc123",
"att": 987,
"fo": "abc123",
"tr": 123,
"lat": 987.65,
"lon": 987.65,
"seg": "xyz789",
"slg": "xyz789",
"cov": "abc123",
"rft": "xyz789",
"ipc": true,
"marketCounter": 123,
"marketResults": [MarketResult],
"lastRoster": Participant
}
]
}
}
calendarEventsByEventGroupV2
Response
Returns an EventsWithMaxSequences
Example
Query
query calendarEventsByEventGroupV2(
$egid: Int!,
$dt: RangeInput,
$ic: Boolean,
$lid: Int,
$spid: Int,
$limit: Int,
$skip: Int,
$sort: SortInput
) {
calendarEventsByEventGroupV2(
egid: $egid,
dt: $dt,
ic: $ic,
lid: $lid,
spid: $spid,
limit: $limit,
skip: $skip,
sort: $sort
) {
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
maxSequences {
eventsMaxSequence
scoresMaxSequence
linesMaxSequence
liveLinesMaxSequence
statisticsMaxSequence
statisticsByGroupsMaxSequence
consensusMaxSequence
consensusV2MaxSequence
playsMaxSequence
}
}
}
Variables
{
"egid": 987,
"dt": RangeInput,
"ic": false,
"lid": 123,
"spid": 123,
"limit": 123,
"skip": 123,
"sort": SortInput
}
Response
{
"data": {
"calendarEventsByEventGroupV2": {
"events": [Event],
"maxSequences": MaxSequences
}
}
}
captions
Example
Query
query captions(
$eid: [Int]!,
$tab: Tab
) {
captions(
eid: $eid,
tab: $tab
) {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
}
Variables
{"eid": [987], "tab": "MATCHUP"}
Response
{
"data": {
"captions": [
{
"eventId": 123,
"tab": "abc123",
"summary": "xyz789",
"insights": ["abc123"],
"seoKeywordsUsed": ["xyz789"],
"bestBet": "xyz789",
"pageTitle": "xyz789",
"pageH1": "xyz789",
"metaDescription": "xyz789",
"faqsQuestions": ["abc123"],
"faqsAnswers": ["abc123"],
"createdDate": 987.65,
"updatedDate": 987.65,
"updatesCount": 987
}
]
}
}
categories
Response
Returns [Category]
Example
Query
query categories(
$sitid: Int,
$enabled: Boolean
) {
categories(
sitid: $sitid,
enabled: $enabled
) {
catid
nam
alias
sitid
enabled
ord
generateBestLines
}
}
Variables
{"sitid": 123, "enabled": true}
Response
{
"data": {
"categories": [
{
"catid": 987,
"nam": "xyz789",
"alias": "abc123",
"sitid": 987,
"enabled": true,
"ord": 987,
"generateBestLines": false
}
]
}
}
categoriesBySportsbook
Response
Returns [CategoryBySportsbook]
Example
Query
query categoriesBySportsbook(
$sbid: Int!,
$sitid: Int!,
$enabled: Boolean
) {
categoriesBySportsbook(
sbid: $sbid,
sitid: $sitid,
enabled: $enabled
) {
catid
nam
alias
sitid
enabled
ord
generateBestLines
sbid
affiliate
prefix
suffix
paid
iid
}
}
Variables
{"sbid": 123, "sitid": 987, "enabled": true}
Response
{
"data": {
"categoriesBySportsbook": [
{
"catid": 987,
"nam": "abc123",
"alias": "abc123",
"sitid": 987,
"enabled": false,
"ord": 987,
"generateBestLines": true,
"sbid": 987,
"affiliate": "xyz789",
"prefix": "xyz789",
"suffix": "abc123",
"paid": 123,
"iid": "abc123"
}
]
}
}
competitionWinners
Response
Returns [CompetitionWinner]
Arguments
Name | Description |
---|---|
eid - [Int]
|
Event Id |
Example
Query
query competitionWinners($eid: [Int]) {
competitionWinners(eid: $eid) {
eid
partid
}
}
Variables
{"eid": [123]}
Response
{"data": {"competitionWinners": [{"eid": 123, "partid": 123}]}}
conferences
Response
Returns [Conference]
Arguments
Name | Description |
---|---|
ids - [Int]
|
Example
Query
query conferences($ids: [Int]) {
conferences(ids: $ids) {
id
name
shortname
favoriteshortname
favoritename
imageurl
}
}
Variables
{"ids": [123]}
Response
{
"data": {
"conferences": [
{
"id": 123,
"name": "abc123",
"shortname": "xyz789",
"favoriteshortname": "xyz789",
"favoritename": "xyz789",
"imageurl": "abc123"
}
]
}
}
conferencesV2
Response
Returns [Conference]
Arguments
Name | Description |
---|---|
ids - [Int]
|
Example
Query
query conferencesV2($ids: [Int]) {
conferencesV2(ids: $ids) {
id
name
shortname
favoriteshortname
favoritename
imageurl
}
}
Variables
{"ids": [123]}
Response
{
"data": {
"conferencesV2": [
{
"id": 123,
"name": "xyz789",
"shortname": "abc123",
"favoriteshortname": "abc123",
"favoritename": "xyz789",
"imageurl": "xyz789"
}
]
}
}
consensus
Description
Query multiple consensus
Response
Returns [Consensus]
Example
Query
query consensus(
$eid: [Int]!,
$mtid: [Int],
$sequence: Int,
$marketTypeLayout: String
) {
consensus(
eid: $eid,
mtid: $mtid,
sequence: $sequence,
marketTypeLayout: $marketTypeLayout
) {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
}
Variables
{
"eid": [123],
"mtid": [123],
"sequence": 987,
"marketTypeLayout": "xyz789"
}
Response
{
"data": {
"consensus": [
{
"eid": 987,
"mtid": 123,
"bb": 123,
"boid": 123,
"partid": 123,
"sbid": 987,
"paid": 123,
"lineid": 987.65,
"wag": 987,
"perc": 123.45,
"vol": 123.45,
"tvol": 123.45,
"sequence": 123,
"tim": 987.65,
"wb": 123,
"line": {}
}
]
}
}
consensusHistory
Description
Get consensus history
Response
Returns [Consensus]
Example
Query
query consensusHistory(
$eid: Int!,
$mtid: [Int],
$sortBy: String,
$order: String
) {
consensusHistory(
eid: $eid,
mtid: $mtid,
sortBy: $sortBy,
order: $order
) {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
}
Variables
{
"eid": 123,
"mtid": [123],
"sortBy": "abc123",
"order": "abc123"
}
Response
{
"data": {
"consensusHistory": [
{
"eid": 987,
"mtid": 123,
"bb": 123,
"boid": 123,
"partid": 123,
"sbid": 123,
"paid": 123,
"lineid": 987.65,
"wag": 123,
"perc": 123.45,
"vol": 123.45,
"tvol": 123.45,
"sequence": 123,
"tim": 123.45,
"wb": 987,
"line": {}
}
]
}
}
consensusV2
Description
Query multiple consensusV2
Response
Returns [ConsensusV2]
Example
Query
query consensusV2(
$eid: [Int]!,
$mtid: [Int]
) {
consensusV2(
eid: $eid,
mtid: $mtid
) {
eid
mtid
partid
perc
sequence
}
}
Variables
{"eid": [123], "mtid": [987]}
Response
{
"data": {
"consensusV2": [
{"eid": 987, "mtid": 123, "partid": 987, "perc": 987.65, "sequence": 123}
]
}
}
currentLines
Response
Returns [JSON]
Arguments
Name | Description |
---|---|
catid - Int
|
Category Id |
eid - [Int]!
|
Event Id |
mtid - [Int]
|
Market Type Id |
boid - [Int]
|
Betting Option Id |
partid - [Int]
|
participant id |
sbid - [Int]
|
SportBook id |
paid - [Int]
|
Provider Account Id |
sort - SortInput
|
|
limit - Int
|
|
skip - Int
|
|
distinct - [String]
|
|
group - [String]
|
|
marketTypeFormat - String
|
Market Type Format |
marketTypeLayout - String
|
Market Type Layout |
needSbid - Boolean
|
|
groupByEntity - Boolean
|
|
tmid - Int
|
Team Id |
entrid - Int
|
Entity Id |
Example
Query
query currentLines(
$catid: Int,
$eid: [Int]!,
$mtid: [Int],
$boid: [Int],
$partid: [Int],
$sbid: [Int],
$paid: [Int],
$sort: SortInput,
$limit: Int,
$skip: Int,
$distinct: [String],
$group: [String],
$marketTypeFormat: String,
$marketTypeLayout: String,
$needSbid: Boolean,
$groupByEntity: Boolean,
$tmid: Int,
$entrid: Int
) {
currentLines(
catid: $catid,
eid: $eid,
mtid: $mtid,
boid: $boid,
partid: $partid,
sbid: $sbid,
paid: $paid,
sort: $sort,
limit: $limit,
skip: $skip,
distinct: $distinct,
group: $group,
marketTypeFormat: $marketTypeFormat,
marketTypeLayout: $marketTypeLayout,
needSbid: $needSbid,
groupByEntity: $groupByEntity,
tmid: $tmid,
entrid: $entrid
)
}
Variables
{
"catid": 987,
"eid": [987],
"mtid": [987],
"boid": [123],
"partid": [123],
"sbid": [987],
"paid": [123],
"sort": SortInput,
"limit": 987,
"skip": 123,
"distinct": ["xyz789"],
"group": ["abc123"],
"marketTypeFormat": "abc123",
"marketTypeLayout": "abc123",
"needSbid": true,
"groupByEntity": false,
"tmid": 123,
"entrid": 123
}
Response
{"data": {"currentLines": [{}]}}
currentLinesByPlayer
Response
Returns a LinesByPlayer
Example
Query
query currentLinesByPlayer(
$mtid: [Int]!,
$paid: [Int]!,
$pid: Int!,
$lid: Int!,
$seid: Int!,
$eid: Int
) {
currentLinesByPlayer(
mtid: $mtid,
paid: $paid,
pid: $pid,
lid: $lid,
seid: $seid,
eid: $eid
)
}
Variables
{"mtid": [987], "paid": [123], "pid": 123, "lid": 123, "seid": 123, "eid": 987}
Response
{"data": {"currentLinesByPlayer": LinesByPlayer}}
depthChart
Response
Returns [DepthChart]
Example
Query
query depthChart(
$teamIds: [Int]!,
$seasonIds: [Int]!,
$eventIds: [Int],
$typeOfSeason: String
) {
depthChart(
teamIds: $teamIds,
seasonIds: $seasonIds,
eventIds: $eventIds,
typeOfSeason: $typeOfSeason
) {
id
seid
tmid
pid
pposid
week
val
position {
id
spid
nam
sn
}
eid
cfrd
strtr
}
}
Variables
{
"teamIds": [987],
"seasonIds": [123],
"eventIds": [123],
"typeOfSeason": "abc123"
}
Response
{
"data": {
"depthChart": [
{
"id": 987,
"seid": 123,
"tmid": 123,
"pid": 987,
"pposid": 123,
"week": 987,
"val": 123,
"position": Position,
"eid": 123,
"cfrd": true,
"strtr": true
}
]
}
}
divisionTeams
Response
Returns [Team]
Example
Query
query divisionTeams(
$divid: Int,
$divname: String,
$seid: Int,
$act: Boolean
) {
divisionTeams(
divid: $divid,
divname: $divname,
seid: $seid,
act: $act
) {
tmid
srid
lid
nam
tmblid
nn
sn
abbr
cit
sta
cou
act
stt
ven
seid
senam
conid
roster {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
id
seid
tmid
pid
pposid
week
val
position {
...PositionFragment
}
eid
cfrd
strtr
}
startingGolie {
id
seid
tmid
pid
pposid
week
val
position {
...PositionFragment
}
eid
cfrd
strtr
}
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
marketCounter
injuries {
pid
tmid
seid
typ
stt
loc
det
side
retdt
disch
hl
not
newstim
newsdate
teamRosterPlayer {
...TeamRosterPlayerFragment
}
prio
isKeyInjuredPlayer
}
}
statistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
divid
divname
hasteamstats
conname
consn
imageurl
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
statisticsBySeason {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
socialNetworks {
network
account
}
leagueHierarchy {
teamId
seasonId
leagueId
conference {
id
name
shortname
favoriteshortname
favoritename
imageurl
}
division {
id
name
shortname
favoriteshortname
imageurl
}
}
partid
iv
slg
tr
}
}
Variables
{
"divid": 123,
"divname": "abc123",
"seid": 987,
"act": true
}
Response
{
"data": {
"divisionTeams": [
{
"tmid": 123,
"srid": "abc123",
"lid": 123,
"nam": "abc123",
"tmblid": 987,
"nn": "xyz789",
"sn": "abc123",
"abbr": "abc123",
"cit": "xyz789",
"sta": "xyz789",
"cou": "xyz789",
"act": true,
"stt": "abc123",
"ven": "abc123",
"seid": 987,
"senam": "xyz789",
"conid": 123,
"roster": [TeamRoster],
"statistics": [StatisticByGroup],
"divid": 123,
"divname": "xyz789",
"hasteamstats": false,
"conname": "xyz789",
"consn": "abc123",
"imageurl": "xyz789",
"statisticsByGroups": [StatisticByGroup],
"statisticsBySeason": [StatisticByGroup],
"socialNetworks": [TeamSocialNetwork],
"leagueHierarchy": [LeagueHierarchy],
"partid": 123,
"iv": false,
"slg": "abc123",
"tr": 987
}
]
}
}
divisions
Response
Returns [Division]
Arguments
Name | Description |
---|---|
ids - [Int]
|
Example
Query
query divisions($ids: [Int]) {
divisions(ids: $ids) {
id
name
shortname
favoriteshortname
imageurl
}
}
Variables
{"ids": [123]}
Response
{
"data": {
"divisions": [
{
"id": 123,
"name": "xyz789",
"shortname": "abc123",
"favoriteshortname": "abc123",
"imageurl": "abc123"
}
]
}
}
divisionsV2
Response
Returns [Division]
Arguments
Name | Description |
---|---|
ids - [Int]
|
Example
Query
query divisionsV2($ids: [Int]) {
divisionsV2(ids: $ids) {
id
name
shortname
favoriteshortname
imageurl
}
}
Variables
{"ids": [987]}
Response
{
"data": {
"divisionsV2": [
{
"id": 123,
"name": "xyz789",
"shortname": "abc123",
"favoriteshortname": "abc123",
"imageurl": "xyz789"
}
]
}
}
domains
Example
Query
query domains(
$sitid: Int!,
$enabled: Boolean
) {
domains(
sitid: $sitid,
enabled: $enabled
) {
did
sitid
nam
isSportCustomized {
value
parentid
}
isLeagueCustomized {
value
parentid
}
isMarketTypeCustomized {
value
parentid
}
isMarketTypeGroupCustomized {
value
parentid
}
isFooterBarCustomized {
value
parentid
}
isFamilyBarCustomized {
value
parentid
}
ord
ismainregion
countries
enabled
}
}
Variables
{"sitid": 123, "enabled": false}
Response
{
"data": {
"domains": [
{
"did": 123,
"sitid": 987,
"nam": "abc123",
"isSportCustomized": Customized,
"isLeagueCustomized": Customized,
"isMarketTypeCustomized": Customized,
"isMarketTypeGroupCustomized": Customized,
"isFooterBarCustomized": Customized,
"isFamilyBarCustomized": Customized,
"ord": 123,
"ismainregion": false,
"countries": "abc123",
"enabled": false
}
]
}
}
eventFilterGroupWithEventIds
Response
Returns an EventFilterGroupWithEventIds
Example
Query
query eventFilterGroupWithEventIds(
$egid: String!,
$did: Int,
$sitid: Int!
) {
eventFilterGroupWithEventIds(
egid: $egid,
did: $did,
sitid: $sitid
) {
egid
sitid
eventIdsBySport {
spid
mtid
eids
}
eventIdsByFilter {
efid
spid
mtid
eids
lids
sortmode
}
}
}
Variables
{"egid": "xyz789", "did": 123, "sitid": 987}
Response
{
"data": {
"eventFilterGroupWithEventIds": {
"egid": "abc123",
"sitid": 123,
"eventIdsBySport": [EventIdsBySport],
"eventIdsByFilter": [eventIdsByFilter]
}
}
}
eventFilterGroups
Response
Returns [EventFilterGroup]
Arguments
Name | Description |
---|---|
efgids - [String]
|
Event Filter Group |
sitid - Int
|
Site id |
timeZoneOffset - Float
|
Time zone offset |
startdate - Float
|
Start date |
showLive - ShowLive
|
Setting to manage live events |
mtid - Int
|
Resolves a specific market type |
active - Boolean
|
|
enabled - Boolean
|
|
useExactStartDate - Boolean
|
If is true, the startdate is not calculated |
showEmptyEvents - Boolean
|
|
hoursRange - Int
|
|
marketTypes - [EventFilterGroupMarketTypeSetting]
|
|
spid - [Int]
|
Setting to filter event filter groups by sport ids |
Example
Query
query eventFilterGroups(
$efgids: [String],
$sitid: Int,
$timeZoneOffset: Float,
$startdate: Float,
$showLive: ShowLive,
$mtid: Int,
$active: Boolean,
$enabled: Boolean,
$useExactStartDate: Boolean,
$showEmptyEvents: Boolean,
$hoursRange: Int,
$marketTypes: [EventFilterGroupMarketTypeSetting],
$spid: [Int]
) {
eventFilterGroups(
efgids: $efgids,
sitid: $sitid,
timeZoneOffset: $timeZoneOffset,
startdate: $startdate,
showLive: $showLive,
mtid: $mtid,
active: $active,
enabled: $enabled,
useExactStartDate: $useExactStartDate,
showEmptyEvents: $showEmptyEvents,
hoursRange: $hoursRange,
marketTypes: $marketTypes,
spid: $spid
) {
efgid
nam
sitid
ord
maxshow
enabled
active
eventsFilters {
efid
nam
efgids
spid
mtids
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
...ScoreFragment
}
league {
...LeagueWithSettingsFragment
}
participants {
...ParticipantFragment
}
statistics {
...StatisticFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
eventStatisticsByGroup {
...StatisticByGroupFragment
}
marketType {
...MarketTypeWithSettingsFragment
}
marketTypes {
...MarketTypeWithSettingsFragment
}
currentLines
openingLines
bestLines
bettingOptions {
...EventBettingOptionFragment
}
plays {
...PlayFragment
}
eventGroup {
...EventGroupFragment
}
eventTags {
...EventTagFragment
}
captions {
...CaptionFragment
}
consensus {
...ConsensusFragment
}
consensusV2 {
...ConsensusV2Fragment
}
weather {
...WeatherOutputFragment
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
...MarketResultFragment
}
lastRoster {
...ParticipantFragment
}
}
lids
eids
rids
sortmode
filtertype
eventtoshow
cutoffpoint
amount
ord
showlive
minutes
enabled
active
}
maxSequences {
eventsMaxSequence
scoresMaxSequence
linesMaxSequence
liveLinesMaxSequence
statisticsMaxSequence
statisticsByGroupsMaxSequence
consensusMaxSequence
consensusV2MaxSequence
playsMaxSequence
}
}
}
Variables
{
"efgids": ["xyz789"],
"sitid": 123,
"timeZoneOffset": 123.45,
"startdate": 123.45,
"showLive": "ONLY_LIVE_EVENTS",
"mtid": 987,
"active": true,
"enabled": false,
"useExactStartDate": false,
"showEmptyEvents": true,
"hoursRange": 123,
"marketTypes": [EventFilterGroupMarketTypeSetting],
"spid": [987]
}
Response
{
"data": {
"eventFilterGroups": [
{
"efgid": "xyz789",
"nam": "xyz789",
"sitid": 123,
"ord": 987,
"maxshow": 987,
"enabled": false,
"active": false,
"eventsFilters": [EventFilter],
"maxSequences": MaxSequences
}
]
}
}
eventGroupByEvent
Description
It gets the parent Event Group of a Event by its eid
Response
Returns [EventGroup]
Arguments
Name | Description |
---|---|
eid - [Int]!
|
Event Id |
Example
Query
query eventGroupByEvent($eid: [Int]!) {
eventGroupByEvent(eid: $eid) {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
}
Variables
{"eid": [987]}
Response
{
"data": {
"eventGroupByEvent": [
{
"egid": 123,
"nam": "xyz789",
"alias": "xyz789",
"lid": 123,
"eid": 123,
"disord": 987,
"ic": false,
"sdt": 987.65,
"edt": 987.65,
"parentname": "abc123",
"parentid": 123
}
]
}
}
eventGroupsByLeague
Response
Returns [EventGroup]
Example
Query
query eventGroupsByLeague(
$lid: Int!,
$hl: Boolean,
$ic: Boolean,
$dt: RangeInput,
$limit: Int,
$skip: Int,
$sort: SortInput
) {
eventGroupsByLeague(
lid: $lid,
hl: $hl,
ic: $ic,
dt: $dt,
limit: $limit,
skip: $skip,
sort: $sort
) {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
}
Variables
{
"lid": 987,
"hl": true,
"ic": false,
"dt": RangeInput,
"limit": 987,
"skip": 123,
"sort": SortInput
}
Response
{
"data": {
"eventGroupsByLeague": [
{
"egid": 987,
"nam": "abc123",
"alias": "xyz789",
"lid": 987,
"eid": 123,
"disord": 987,
"ic": true,
"sdt": 123.45,
"edt": 123.45,
"parentname": "abc123",
"parentid": 987
}
]
}
}
eventGroupsByLeagues
Response
Returns [EventGroup]
Example
Query
query eventGroupsByLeagues(
$lid: [Int]!,
$hl: Boolean,
$ic: Boolean,
$dt: RangeInput,
$limit: Int,
$skip: Int,
$sort: SortInput
) {
eventGroupsByLeagues(
lid: $lid,
hl: $hl,
ic: $ic,
dt: $dt,
limit: $limit,
skip: $skip,
sort: $sort
) {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
}
Variables
{
"lid": [123],
"hl": false,
"ic": false,
"dt": RangeInput,
"limit": 987,
"skip": 987,
"sort": SortInput
}
Response
{
"data": {
"eventGroupsByLeagues": [
{
"egid": 987,
"nam": "xyz789",
"alias": "xyz789",
"lid": 987,
"eid": 987,
"disord": 123,
"ic": false,
"sdt": 987.65,
"edt": 987.65,
"parentname": "abc123",
"parentid": 987
}
]
}
}
eventGroupsBySport
Response
Returns [EventGroup]
Arguments
Name | Description |
---|---|
spid - Int!
|
Spid Id |
hl - Boolean
|
Events Have Lines? |
ic - Boolean
|
Is competition |
dt - RangeInput
|
Events Datetime Range |
limit - Int
|
Limit items to show |
skip - Int
|
Skip item id |
sort - SortInput
|
Sort by |
rid - [Int]
|
Region Ids |
timezoneOffset - Int
|
Timezone Offset |
exactDate - Boolean
|
Exact Date |
Example
Query
query eventGroupsBySport(
$spid: Int!,
$hl: Boolean,
$ic: Boolean,
$dt: RangeInput,
$limit: Int,
$skip: Int,
$sort: SortInput,
$rid: [Int],
$timezoneOffset: Int,
$exactDate: Boolean
) {
eventGroupsBySport(
spid: $spid,
hl: $hl,
ic: $ic,
dt: $dt,
limit: $limit,
skip: $skip,
sort: $sort,
rid: $rid,
timezoneOffset: $timezoneOffset,
exactDate: $exactDate
) {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
}
Variables
{
"spid": 123,
"hl": false,
"ic": true,
"dt": RangeInput,
"limit": 987,
"skip": 123,
"sort": SortInput,
"rid": [123],
"timezoneOffset": 123,
"exactDate": true
}
Response
{
"data": {
"eventGroupsBySport": [
{
"egid": 987,
"nam": "abc123",
"alias": "abc123",
"lid": 123,
"eid": 987,
"disord": 123,
"ic": true,
"sdt": 123.45,
"edt": 123.45,
"parentname": "abc123",
"parentid": 123
}
]
}
}
eventMarkets
Response
Returns an EventMarkets
Arguments
Name | Description |
---|---|
eid - Int
|
Event ID |
Example
Query
query eventMarkets($eid: Int) {
eventMarkets(eid: $eid) {
mtids
}
}
Variables
{"eid": 123}
Response
{"data": {"eventMarkets": {"mtids": [123]}}}
events
Response
Returns [Event]
Arguments
Name | Description |
---|---|
eid - [Int]
|
Event Id |
srid - [String]
|
Sportradar Id |
lid - [Int]
|
League Id |
spid - [Int]
|
Sport Id |
rid - Int
|
Region Id |
hl - Boolean
|
Has Lines? |
ic - Boolean
|
Is Competition? |
mtid - [Int]
|
Market Type Id |
marketTypeFormat - String
|
Market Type Format |
marketTypeLayout - String
|
Market Type Layout |
limit - Int
|
|
skip - Int
|
|
distinct - [String]
|
|
type - TypeInput
|
|
sort - SortInput
|
|
dt - RangeInput
|
|
group - GroupInput
|
|
sgid - Int
|
TODO REMOVE!!! |
es - String
|
EventStatus |
returnInactiveCompetitions - Boolean
|
Example
Query
query events(
$eid: [Int],
$srid: [String],
$lid: [Int],
$spid: [Int],
$rid: Int,
$hl: Boolean,
$ic: Boolean,
$mtid: [Int],
$marketTypeFormat: String,
$marketTypeLayout: String,
$limit: Int,
$skip: Int,
$distinct: [String],
$type: TypeInput,
$sort: SortInput,
$dt: RangeInput,
$group: GroupInput,
$sgid: Int,
$es: String,
$returnInactiveCompetitions: Boolean
) {
events(
eid: $eid,
srid: $srid,
lid: $lid,
spid: $spid,
rid: $rid,
hl: $hl,
ic: $ic,
mtid: $mtid,
marketTypeFormat: $marketTypeFormat,
marketTypeLayout: $marketTypeLayout,
limit: $limit,
skip: $skip,
distinct: $distinct,
type: $type,
sort: $sort,
dt: $dt,
group: $group,
sgid: $sgid,
es: $es,
returnInactiveCompetitions: $returnInactiveCompetitions
) {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
region {
rid
nam
sn
}
settings {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
sport {
spid
nam
settings {
...SportSettingFragment
}
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
name
backgroundColor
textColor
dotColor
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
type
query
}
current_condition {
observation_time
temp_C
temp_F
weatherCode
weatherIconUrl {
...ValueFragment
}
weatherDesc {
...ValueFragment
}
windspeedMiles
windspeedKmph
winddirDegree
winddir16Point
precipMM
humidity
visibility
pressure
cloudcover
FeelsLikeC
FeelsLikeF
}
weather {
date
astronomy {
...AstronomyFragment
}
maxtempC
maxtempF
mintempC
mintempF
totalSnow_cm
sunHour
uvIndex
hourly {
...HourlyFragment
}
}
ClimateAverages {
month {
...MonthFragment
}
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
}
}
Variables
{
"eid": [987],
"srid": ["xyz789"],
"lid": [987],
"spid": [987],
"rid": 987,
"hl": false,
"ic": false,
"mtid": [123],
"marketTypeFormat": "abc123",
"marketTypeLayout": "abc123",
"limit": 123,
"skip": 987,
"distinct": ["abc123"],
"type": "TOP",
"sort": SortInput,
"dt": RangeInput,
"group": GroupInput,
"sgid": 123,
"es": "abc123",
"returnInactiveCompetitions": true
}
Response
{
"data": {
"events": [
{
"eid": 123,
"srid": "xyz789",
"cit": "abc123",
"dt": 987.65,
"des": "abc123",
"es": "xyz789",
"ic": false,
"hl": false,
"lu": "abc123",
"lid": 123,
"rid": 987,
"spid": 123,
"sta": "xyz789",
"st": "abc123",
"cou": "xyz789",
"zcode": "abc123",
"ven": "xyz789",
"tvs": "abc123",
"sequence": 123,
"seid": 987,
"writeingame": false,
"scores": [Score],
"league": LeagueWithSettings,
"participants": [Participant],
"statistics": [Statistic],
"statisticsByGroups": [StatisticByGroup],
"eventStatisticsByGroup": [StatisticByGroup],
"marketType": MarketTypeWithSettings,
"marketTypes": [MarketTypeWithSettings],
"currentLines": [{}],
"openingLines": [{}],
"bestLines": [{}],
"bettingOptions": [EventBettingOption],
"plays": [Play],
"eventGroup": EventGroup,
"eventTags": [EventTag],
"captions": [Caption],
"consensus": [Consensus],
"consensusV2": [ConsensusV2],
"weather": [WeatherOutput],
"eventMarketsCount": 987,
"tl": "abc123",
"att": 987,
"fo": "xyz789",
"tr": 123,
"lat": 987.65,
"lon": 123.45,
"seg": "xyz789",
"slg": "xyz789",
"cov": "xyz789",
"rft": "xyz789",
"ipc": false,
"marketCounter": 123,
"marketResults": [MarketResult],
"lastRoster": Participant
}
]
}
}
eventsByDate
Response
Returns an EventsWithMaxSequences
Arguments
Name | Description |
---|---|
startDate - Float
|
Start date |
hoursRange - Int
|
Hours after start date to bring events |
timezoneOffset - Float
|
Client's timezone offset |
egid - Int
|
Event Group ID |
eid - [Int]
|
Event ID |
spid - [Int]
|
Sport Id |
lid - [Int]
|
League Id |
rid - [Int]
|
Region Id |
mtid - [Int]
|
Market Type ID |
hl - Boolean
|
Has Lines? |
ic - Boolean
|
Is Competition? |
nof - Boolean
|
Only look for events in hour range |
showEmptyEvents - Boolean
|
Show Empty Events |
marketTypeLayout - String
|
Market Type Layout |
marketTypeFormat - String
|
Market Type Format |
limit - Int
|
|
skip - Int
|
|
sort - SortInput
|
|
providerAcountOpener - Int
|
opening bt sportbook |
getAllInEventGroup - Boolean
|
Get all events from the eventGroups |
showLive - ShowLive
|
|
eventtoshow - Int
|
|
includeAllEvents - Boolean
|
|
domainId - Int
|
Domain Id |
eventsWithRankedParticipants - Boolean
|
Show only Events whith ranked participants |
onlyRanked - Boolean
|
|
conferenceIds - [Int]
|
|
divisionIds - [Int]
|
|
es - [String]
|
|
truncDate - Boolean
|
Example
Query
query eventsByDate(
$startDate: Float,
$hoursRange: Int,
$timezoneOffset: Float,
$egid: Int,
$eid: [Int],
$spid: [Int],
$lid: [Int],
$rid: [Int],
$mtid: [Int],
$hl: Boolean,
$ic: Boolean,
$nof: Boolean,
$showEmptyEvents: Boolean,
$marketTypeLayout: String,
$marketTypeFormat: String,
$limit: Int,
$skip: Int,
$sort: SortInput,
$providerAcountOpener: Int,
$getAllInEventGroup: Boolean,
$showLive: ShowLive,
$eventtoshow: Int,
$includeAllEvents: Boolean,
$domainId: Int,
$eventsWithRankedParticipants: Boolean,
$onlyRanked: Boolean,
$conferenceIds: [Int],
$divisionIds: [Int],
$es: [String],
$truncDate: Boolean
) {
eventsByDate(
startDate: $startDate,
hoursRange: $hoursRange,
timezoneOffset: $timezoneOffset,
egid: $egid,
eid: $eid,
spid: $spid,
lid: $lid,
rid: $rid,
mtid: $mtid,
hl: $hl,
ic: $ic,
nof: $nof,
showEmptyEvents: $showEmptyEvents,
marketTypeLayout: $marketTypeLayout,
marketTypeFormat: $marketTypeFormat,
limit: $limit,
skip: $skip,
sort: $sort,
providerAcountOpener: $providerAcountOpener,
getAllInEventGroup: $getAllInEventGroup,
showLive: $showLive,
eventtoshow: $eventtoshow,
includeAllEvents: $includeAllEvents,
domainId: $domainId,
eventsWithRankedParticipants: $eventsWithRankedParticipants,
onlyRanked: $onlyRanked,
conferenceIds: $conferenceIds,
divisionIds: $divisionIds,
es: $es,
truncDate: $truncDate
) {
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
maxSequences {
eventsMaxSequence
scoresMaxSequence
linesMaxSequence
liveLinesMaxSequence
statisticsMaxSequence
statisticsByGroupsMaxSequence
consensusMaxSequence
consensusV2MaxSequence
playsMaxSequence
}
}
}
Variables
{
"startDate": 987.65,
"hoursRange": 123,
"timezoneOffset": 987.65,
"egid": 987,
"eid": [123],
"spid": [987],
"lid": [987],
"rid": [987],
"mtid": [987],
"hl": true,
"ic": true,
"nof": true,
"showEmptyEvents": false,
"marketTypeLayout": "abc123",
"marketTypeFormat": "abc123",
"limit": 123,
"skip": 987,
"sort": SortInput,
"providerAcountOpener": 123,
"getAllInEventGroup": false,
"showLive": "ONLY_LIVE_EVENTS",
"eventtoshow": 987,
"includeAllEvents": true,
"domainId": 123,
"eventsWithRankedParticipants": true,
"onlyRanked": false,
"conferenceIds": [123],
"divisionIds": [123],
"es": ["xyz789"],
"truncDate": true
}
Response
{
"data": {
"eventsByDate": {
"events": [Event],
"maxSequences": MaxSequences
}
}
}
eventsByDateByLeagueGroup
Response
Returns an EventsWithMaxSequences
Arguments
Name | Description |
---|---|
leagueGroups - [LeagueGroup]!
|
|
startDate - Float
|
Start date |
hoursRange - Int
|
Hours after start date to bring events |
timezoneOffset - Float
|
Client's timezone offset |
egid - Int
|
Event Group ID |
rid - [Int]
|
Region Id |
hl - Boolean
|
Has Lines? |
ic - Boolean
|
Is Competition? |
nof - Boolean
|
Only look for events in hour range |
showEmptyEvents - Boolean
|
Show Empty Events |
marketTypeLayout - String
|
Market Type Layout |
marketTypeFormat - String
|
Market Type Format |
limit - Int
|
|
skip - Int
|
|
sort - SortInput
|
|
providerAcountOpener - Int
|
opening bt sportbook |
getAllInEventGroup - Boolean
|
Get all events from the eventGroups |
es - [String]
|
Example
Query
query eventsByDateByLeagueGroup(
$leagueGroups: [LeagueGroup]!,
$startDate: Float,
$hoursRange: Int,
$timezoneOffset: Float,
$egid: Int,
$rid: [Int],
$hl: Boolean,
$ic: Boolean,
$nof: Boolean,
$showEmptyEvents: Boolean,
$marketTypeLayout: String,
$marketTypeFormat: String,
$limit: Int,
$skip: Int,
$sort: SortInput,
$providerAcountOpener: Int,
$getAllInEventGroup: Boolean,
$es: [String]
) {
eventsByDateByLeagueGroup(
leagueGroups: $leagueGroups,
startDate: $startDate,
hoursRange: $hoursRange,
timezoneOffset: $timezoneOffset,
egid: $egid,
rid: $rid,
hl: $hl,
ic: $ic,
nof: $nof,
showEmptyEvents: $showEmptyEvents,
marketTypeLayout: $marketTypeLayout,
marketTypeFormat: $marketTypeFormat,
limit: $limit,
skip: $skip,
sort: $sort,
providerAcountOpener: $providerAcountOpener,
getAllInEventGroup: $getAllInEventGroup,
es: $es
) {
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
maxSequences {
eventsMaxSequence
scoresMaxSequence
linesMaxSequence
liveLinesMaxSequence
statisticsMaxSequence
statisticsByGroupsMaxSequence
consensusMaxSequence
consensusV2MaxSequence
playsMaxSequence
}
}
}
Variables
{
"leagueGroups": [LeagueGroup],
"startDate": 987.65,
"hoursRange": 123,
"timezoneOffset": 123.45,
"egid": 987,
"rid": [123],
"hl": true,
"ic": true,
"nof": false,
"showEmptyEvents": true,
"marketTypeLayout": "xyz789",
"marketTypeFormat": "xyz789",
"limit": 987,
"skip": 123,
"sort": SortInput,
"providerAcountOpener": 123,
"getAllInEventGroup": false,
"es": ["abc123"]
}
Response
{
"data": {
"eventsByDateByLeagueGroup": {
"events": [Event],
"maxSequences": MaxSequences
}
}
}
eventsByDateDeprecate
Response
Returns an EventsWithMaxSequences
Arguments
Name | Description |
---|---|
startDate - Float
|
Start date |
hoursRange - Int
|
Hours after start date to bring events |
timezoneOffset - Float
|
Client's timezone offset |
egid - Int
|
Event Group ID |
eid - [Int]
|
Event ID |
spid - [Int]
|
Sport Id |
lid - [Int]
|
League Id |
rid - [Int]
|
Region Id |
mtid - [Int]
|
Market Type ID |
hl - Boolean
|
Has Lines? |
ic - Boolean
|
Is Competition? |
nof - Boolean
|
Only look for events in hour range |
showEmptyEvents - Boolean
|
Show Empty Events |
marketTypeLayout - String
|
Market Type Layout |
marketTypeFormat - String
|
Market Type Format |
limit - Int
|
|
skip - Int
|
|
sort - SortInput
|
|
providerAcountOpener - Int
|
opening bt sportbook |
getAllInEventGroup - Boolean
|
Get all events from the eventGroups |
showLive - ShowLive
|
|
eventtoshow - Int
|
|
includeAllEvents - Boolean
|
|
domainId - Int
|
Domain Id |
eventsWithRankedParticipants - Boolean
|
Show only Events whith ranked participants |
onlyRanked - Boolean
|
|
conferenceIds - [Int]
|
|
divisionIds - [Int]
|
|
es - [String]
|
|
truncDate - Boolean
|
Example
Query
query eventsByDateDeprecate(
$startDate: Float,
$hoursRange: Int,
$timezoneOffset: Float,
$egid: Int,
$eid: [Int],
$spid: [Int],
$lid: [Int],
$rid: [Int],
$mtid: [Int],
$hl: Boolean,
$ic: Boolean,
$nof: Boolean,
$showEmptyEvents: Boolean,
$marketTypeLayout: String,
$marketTypeFormat: String,
$limit: Int,
$skip: Int,
$sort: SortInput,
$providerAcountOpener: Int,
$getAllInEventGroup: Boolean,
$showLive: ShowLive,
$eventtoshow: Int,
$includeAllEvents: Boolean,
$domainId: Int,
$eventsWithRankedParticipants: Boolean,
$onlyRanked: Boolean,
$conferenceIds: [Int],
$divisionIds: [Int],
$es: [String],
$truncDate: Boolean
) {
eventsByDateDeprecate(
startDate: $startDate,
hoursRange: $hoursRange,
timezoneOffset: $timezoneOffset,
egid: $egid,
eid: $eid,
spid: $spid,
lid: $lid,
rid: $rid,
mtid: $mtid,
hl: $hl,
ic: $ic,
nof: $nof,
showEmptyEvents: $showEmptyEvents,
marketTypeLayout: $marketTypeLayout,
marketTypeFormat: $marketTypeFormat,
limit: $limit,
skip: $skip,
sort: $sort,
providerAcountOpener: $providerAcountOpener,
getAllInEventGroup: $getAllInEventGroup,
showLive: $showLive,
eventtoshow: $eventtoshow,
includeAllEvents: $includeAllEvents,
domainId: $domainId,
eventsWithRankedParticipants: $eventsWithRankedParticipants,
onlyRanked: $onlyRanked,
conferenceIds: $conferenceIds,
divisionIds: $divisionIds,
es: $es,
truncDate: $truncDate
) {
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
maxSequences {
eventsMaxSequence
scoresMaxSequence
linesMaxSequence
liveLinesMaxSequence
statisticsMaxSequence
statisticsByGroupsMaxSequence
consensusMaxSequence
consensusV2MaxSequence
playsMaxSequence
}
}
}
Variables
{
"startDate": 987.65,
"hoursRange": 123,
"timezoneOffset": 987.65,
"egid": 123,
"eid": [123],
"spid": [123],
"lid": [987],
"rid": [987],
"mtid": [123],
"hl": true,
"ic": false,
"nof": true,
"showEmptyEvents": true,
"marketTypeLayout": "xyz789",
"marketTypeFormat": "xyz789",
"limit": 987,
"skip": 123,
"sort": SortInput,
"providerAcountOpener": 123,
"getAllInEventGroup": false,
"showLive": "ONLY_LIVE_EVENTS",
"eventtoshow": 987,
"includeAllEvents": false,
"domainId": 123,
"eventsWithRankedParticipants": true,
"onlyRanked": false,
"conferenceIds": [123],
"divisionIds": [987],
"es": ["xyz789"],
"truncDate": true
}
Response
{
"data": {
"eventsByDateDeprecate": {
"events": [Event],
"maxSequences": MaxSequences
}
}
}
eventsByDateNew
Response
Returns an EventsWithMaxSequences
Arguments
Name | Description |
---|---|
startDate - Float
|
Start date |
hoursRange - Int
|
Hours after start date to bring events |
lid - [Int]
|
League Id |
mtid - [Int]
|
Market Type ID |
showEmptyEvents - Boolean
|
Show events wihtout lines |
fastForward - Boolean
|
Find the nearest events from startDate |
fastForwardOffset - Int
|
Client's timezone offset whether fastForward is true |
sort - SortInput
|
|
onlyRanked - Boolean
|
Only look for events with team rank |
conferenceIds - [Int]
|
|
divisionIds - [Int]
|
|
es - [String]
|
|
spids - [Int]
|
Sport Ids (Horse Racing) |
rids - [Int]
|
Region Ids (Horse Racing) |
writeingame - Boolean
|
|
limit - Int
|
Events Quantity Limit |
paid - [Int]
|
Provider Account Id |
nextEvents - Boolean
|
Use this flag to append future events to query result |
Example
Query
query eventsByDateNew(
$startDate: Float,
$hoursRange: Int,
$lid: [Int],
$mtid: [Int],
$showEmptyEvents: Boolean,
$fastForward: Boolean,
$fastForwardOffset: Int,
$sort: SortInput,
$onlyRanked: Boolean,
$conferenceIds: [Int],
$divisionIds: [Int],
$es: [String],
$spids: [Int],
$rids: [Int],
$writeingame: Boolean,
$limit: Int,
$paid: [Int],
$nextEvents: Boolean
) {
eventsByDateNew(
startDate: $startDate,
hoursRange: $hoursRange,
lid: $lid,
mtid: $mtid,
showEmptyEvents: $showEmptyEvents,
fastForward: $fastForward,
fastForwardOffset: $fastForwardOffset,
sort: $sort,
onlyRanked: $onlyRanked,
conferenceIds: $conferenceIds,
divisionIds: $divisionIds,
es: $es,
spids: $spids,
rids: $rids,
writeingame: $writeingame,
limit: $limit,
paid: $paid,
nextEvents: $nextEvents
) {
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
maxSequences {
eventsMaxSequence
scoresMaxSequence
linesMaxSequence
liveLinesMaxSequence
statisticsMaxSequence
statisticsByGroupsMaxSequence
consensusMaxSequence
consensusV2MaxSequence
playsMaxSequence
}
}
}
Variables
{
"startDate": 987.65,
"hoursRange": 987,
"lid": [123],
"mtid": [987],
"showEmptyEvents": false,
"fastForward": false,
"fastForwardOffset": 123,
"sort": SortInput,
"onlyRanked": true,
"conferenceIds": [123],
"divisionIds": [123],
"es": ["abc123"],
"spids": [123],
"rids": [987],
"writeingame": true,
"limit": 987,
"paid": [987],
"nextEvents": true
}
Response
{
"data": {
"eventsByDateNew": {
"events": [Event],
"maxSequences": MaxSequences
}
}
}
eventsByEventFilterGroup
Response
Returns an EventFilterGroupWithEvents
Example
Query
query eventsByEventFilterGroup(
$egid: String!,
$sitid: Int!,
$did: Int,
$mtid: Int
) {
eventsByEventFilterGroup(
egid: $egid,
sitid: $sitid,
did: $did,
mtid: $mtid
) {
egid
eventsBySport {
spid
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
...ScoreFragment
}
league {
...LeagueWithSettingsFragment
}
participants {
...ParticipantFragment
}
statistics {
...StatisticFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
eventStatisticsByGroup {
...StatisticByGroupFragment
}
marketType {
...MarketTypeWithSettingsFragment
}
marketTypes {
...MarketTypeWithSettingsFragment
}
currentLines
openingLines
bestLines
bettingOptions {
...EventBettingOptionFragment
}
plays {
...PlayFragment
}
eventGroup {
...EventGroupFragment
}
eventTags {
...EventTagFragment
}
captions {
...CaptionFragment
}
consensus {
...ConsensusFragment
}
consensusV2 {
...ConsensusV2Fragment
}
weather {
...WeatherOutputFragment
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
...MarketResultFragment
}
lastRoster {
...ParticipantFragment
}
}
}
eventsByFilter {
efid
spid
lids
sortmode
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
...ScoreFragment
}
league {
...LeagueWithSettingsFragment
}
participants {
...ParticipantFragment
}
statistics {
...StatisticFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
eventStatisticsByGroup {
...StatisticByGroupFragment
}
marketType {
...MarketTypeWithSettingsFragment
}
marketTypes {
...MarketTypeWithSettingsFragment
}
currentLines
openingLines
bestLines
bettingOptions {
...EventBettingOptionFragment
}
plays {
...PlayFragment
}
eventGroup {
...EventGroupFragment
}
eventTags {
...EventTagFragment
}
captions {
...CaptionFragment
}
consensus {
...ConsensusFragment
}
consensusV2 {
...ConsensusV2Fragment
}
weather {
...WeatherOutputFragment
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
...MarketResultFragment
}
lastRoster {
...ParticipantFragment
}
}
}
maxSequences {
eventsMaxSequence
scoresMaxSequence
linesMaxSequence
liveLinesMaxSequence
statisticsMaxSequence
statisticsByGroupsMaxSequence
consensusMaxSequence
consensusV2MaxSequence
playsMaxSequence
}
}
}
Variables
{
"egid": "abc123",
"sitid": 987,
"did": 987,
"mtid": 123
}
Response
{
"data": {
"eventsByEventFilterGroup": {
"egid": "abc123",
"eventsBySport": [EventsBySport],
"eventsByFilter": [EventsByFilter],
"maxSequences": MaxSequences
}
}
}
eventsByEventGroup
Response
Returns [Event]
Example
Query
query eventsByEventGroup(
$egid: [Int]!,
$mtid: Int!,
$seid: [Int],
$lid: [Int],
$hl: Boolean,
$dt: RangeInput,
$ic: Boolean,
$limit: Int,
$skip: Int,
$sort: SortInput,
$sgid: Int
) {
eventsByEventGroup(
egid: $egid,
mtid: $mtid,
seid: $seid,
lid: $lid,
hl: $hl,
dt: $dt,
ic: $ic,
limit: $limit,
skip: $skip,
sort: $sort,
sgid: $sgid
) {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
region {
rid
nam
sn
}
settings {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
sport {
spid
nam
settings {
...SportSettingFragment
}
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
name
backgroundColor
textColor
dotColor
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
type
query
}
current_condition {
observation_time
temp_C
temp_F
weatherCode
weatherIconUrl {
...ValueFragment
}
weatherDesc {
...ValueFragment
}
windspeedMiles
windspeedKmph
winddirDegree
winddir16Point
precipMM
humidity
visibility
pressure
cloudcover
FeelsLikeC
FeelsLikeF
}
weather {
date
astronomy {
...AstronomyFragment
}
maxtempC
maxtempF
mintempC
mintempF
totalSnow_cm
sunHour
uvIndex
hourly {
...HourlyFragment
}
}
ClimateAverages {
month {
...MonthFragment
}
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
}
}
Variables
{
"egid": [123],
"mtid": 987,
"seid": [987],
"lid": [987],
"hl": false,
"dt": RangeInput,
"ic": true,
"limit": 123,
"skip": 987,
"sort": SortInput,
"sgid": 123
}
Response
{
"data": {
"eventsByEventGroup": [
{
"eid": 123,
"srid": "abc123",
"cit": "abc123",
"dt": 987.65,
"des": "xyz789",
"es": "abc123",
"ic": false,
"hl": false,
"lu": "abc123",
"lid": 987,
"rid": 123,
"spid": 123,
"sta": "xyz789",
"st": "xyz789",
"cou": "abc123",
"zcode": "abc123",
"ven": "xyz789",
"tvs": "xyz789",
"sequence": 987,
"seid": 987,
"writeingame": true,
"scores": [Score],
"league": LeagueWithSettings,
"participants": [Participant],
"statistics": [Statistic],
"statisticsByGroups": [StatisticByGroup],
"eventStatisticsByGroup": [StatisticByGroup],
"marketType": MarketTypeWithSettings,
"marketTypes": [MarketTypeWithSettings],
"currentLines": [{}],
"openingLines": [{}],
"bestLines": [{}],
"bettingOptions": [EventBettingOption],
"plays": [Play],
"eventGroup": EventGroup,
"eventTags": [EventTag],
"captions": [Caption],
"consensus": [Consensus],
"consensusV2": [ConsensusV2],
"weather": [WeatherOutput],
"eventMarketsCount": 123,
"tl": "xyz789",
"att": 123,
"fo": "xyz789",
"tr": 123,
"lat": 987.65,
"lon": 987.65,
"seg": "abc123",
"slg": "abc123",
"cov": "xyz789",
"rft": "abc123",
"ipc": false,
"marketCounter": 987,
"marketResults": [MarketResult],
"lastRoster": Participant
}
]
}
}
eventsByEventGroupV2
Response
Returns an EventsWithMaxSequences
Arguments
Name | Description |
---|---|
egid - [Int]!
|
Event Group ID |
mtid - [Int]!
|
Market Type ID |
seid - [Int]
|
SeasonId |
lid - [Int]
|
LeagueId |
hl - Boolean
|
Have lines? |
providerAcountOpener - Int
|
opening bt sportbook |
dt - RangeInput
|
Datetime Range |
ic - Boolean
|
Is competition? |
limit - Int
|
|
skip - Int
|
|
sort - SortInput
|
|
onlyRanked - Boolean
|
|
sgid - Int
|
TODO REMOVE!!! |
conferenceIds - [Int]
|
|
divisionIds - [Int]
|
|
es - [String]
|
Event Statuses |
paid - [Int]
|
Provider Account Ids |
showEmptyEvents - Boolean
|
get events with not lines |
Example
Query
query eventsByEventGroupV2(
$egid: [Int]!,
$mtid: [Int]!,
$seid: [Int],
$lid: [Int],
$hl: Boolean,
$providerAcountOpener: Int,
$dt: RangeInput,
$ic: Boolean,
$limit: Int,
$skip: Int,
$sort: SortInput,
$onlyRanked: Boolean,
$sgid: Int,
$conferenceIds: [Int],
$divisionIds: [Int],
$es: [String],
$paid: [Int],
$showEmptyEvents: Boolean
) {
eventsByEventGroupV2(
egid: $egid,
mtid: $mtid,
seid: $seid,
lid: $lid,
hl: $hl,
providerAcountOpener: $providerAcountOpener,
dt: $dt,
ic: $ic,
limit: $limit,
skip: $skip,
sort: $sort,
onlyRanked: $onlyRanked,
sgid: $sgid,
conferenceIds: $conferenceIds,
divisionIds: $divisionIds,
es: $es,
paid: $paid,
showEmptyEvents: $showEmptyEvents
) {
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
maxSequences {
eventsMaxSequence
scoresMaxSequence
linesMaxSequence
liveLinesMaxSequence
statisticsMaxSequence
statisticsByGroupsMaxSequence
consensusMaxSequence
consensusV2MaxSequence
playsMaxSequence
}
}
}
Variables
{
"egid": [123],
"mtid": [987],
"seid": [123],
"lid": [123],
"hl": false,
"providerAcountOpener": 987,
"dt": RangeInput,
"ic": true,
"limit": 987,
"skip": 987,
"sort": SortInput,
"onlyRanked": false,
"sgid": 987,
"conferenceIds": [123],
"divisionIds": [987],
"es": ["xyz789"],
"paid": [987],
"showEmptyEvents": true
}
Response
{
"data": {
"eventsByEventGroupV2": {
"events": [Event],
"maxSequences": MaxSequences
}
}
}
eventsByLeagueGroup
Response
Returns an EventsWithMaxSequences
Arguments
Name | Description |
---|---|
eid - [Int]
|
Event Id |
leagueGroups - [LeagueGroup]!
|
|
rid - Int
|
Region Id |
hl - Boolean
|
Has Lines? |
ic - Boolean
|
Is Competition? |
marketTypeFormat - String
|
Market Type Format |
marketTypeLayout - String
|
Market Type Layout |
limit - Int
|
|
skip - Int
|
|
distinct - [String]
|
|
type - TypeInput
|
|
sort - SortInput
|
|
dt - RangeInput
|
|
group - GroupInput
|
|
providerAcountOpener - Int
|
opening bt sportbook |
showEmptyEvents - Boolean
|
get events with not lines for an specific mtid |
es - [String]
|
|
sgid - Int
|
TODO REMOVE!!! |
Example
Query
query eventsByLeagueGroup(
$eid: [Int],
$leagueGroups: [LeagueGroup]!,
$rid: Int,
$hl: Boolean,
$ic: Boolean,
$marketTypeFormat: String,
$marketTypeLayout: String,
$limit: Int,
$skip: Int,
$distinct: [String],
$type: TypeInput,
$sort: SortInput,
$dt: RangeInput,
$group: GroupInput,
$providerAcountOpener: Int,
$showEmptyEvents: Boolean,
$es: [String],
$sgid: Int
) {
eventsByLeagueGroup(
eid: $eid,
leagueGroups: $leagueGroups,
rid: $rid,
hl: $hl,
ic: $ic,
marketTypeFormat: $marketTypeFormat,
marketTypeLayout: $marketTypeLayout,
limit: $limit,
skip: $skip,
distinct: $distinct,
type: $type,
sort: $sort,
dt: $dt,
group: $group,
providerAcountOpener: $providerAcountOpener,
showEmptyEvents: $showEmptyEvents,
es: $es,
sgid: $sgid
) {
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
maxSequences {
eventsMaxSequence
scoresMaxSequence
linesMaxSequence
liveLinesMaxSequence
statisticsMaxSequence
statisticsByGroupsMaxSequence
consensusMaxSequence
consensusV2MaxSequence
playsMaxSequence
}
}
}
Variables
{
"eid": [123],
"leagueGroups": [LeagueGroup],
"rid": 987,
"hl": false,
"ic": true,
"marketTypeFormat": "xyz789",
"marketTypeLayout": "xyz789",
"limit": 987,
"skip": 987,
"distinct": ["xyz789"],
"type": "TOP",
"sort": SortInput,
"dt": RangeInput,
"group": GroupInput,
"providerAcountOpener": 123,
"showEmptyEvents": false,
"es": ["xyz789"],
"sgid": 987
}
Response
{
"data": {
"eventsByLeagueGroup": {
"events": [Event],
"maxSequences": MaxSequences
}
}
}
eventsBySport
Response
Returns [Event]
Arguments
Name | Description |
---|---|
eid - [Int]
|
Event ID |
mtid - [Int]
|
Market Type ID |
lid - [Int]
|
League Id |
marketTypeFormat - String
|
Market Type Format |
marketTypeLayout - String
|
Market Type Layout |
spid - [Int]
|
Sport Id |
rid - [Int]
|
Region Id |
hl - Boolean
|
Has Lines? |
ic - Boolean
|
Is Competition? |
dt - RangeInput
|
Datetime Range |
startDate - Float
|
Start date |
hoursRange - Int
|
Hours after start date to bring events |
timezoneOffset - Int
|
Client's timezone offset |
limit - Int
|
|
skip - Int
|
|
sort - SortInput
|
|
showEmptyEvents - Boolean
|
get events with not lines for an specific mtid |
sgid - Int
|
TODO REMOVE!!! |
Example
Query
query eventsBySport(
$eid: [Int],
$mtid: [Int],
$lid: [Int],
$marketTypeFormat: String,
$marketTypeLayout: String,
$spid: [Int],
$rid: [Int],
$hl: Boolean,
$ic: Boolean,
$dt: RangeInput,
$startDate: Float,
$hoursRange: Int,
$timezoneOffset: Int,
$limit: Int,
$skip: Int,
$sort: SortInput,
$showEmptyEvents: Boolean,
$sgid: Int
) {
eventsBySport(
eid: $eid,
mtid: $mtid,
lid: $lid,
marketTypeFormat: $marketTypeFormat,
marketTypeLayout: $marketTypeLayout,
spid: $spid,
rid: $rid,
hl: $hl,
ic: $ic,
dt: $dt,
startDate: $startDate,
hoursRange: $hoursRange,
timezoneOffset: $timezoneOffset,
limit: $limit,
skip: $skip,
sort: $sort,
showEmptyEvents: $showEmptyEvents,
sgid: $sgid
) {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
region {
rid
nam
sn
}
settings {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
sport {
spid
nam
settings {
...SportSettingFragment
}
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
name
backgroundColor
textColor
dotColor
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
type
query
}
current_condition {
observation_time
temp_C
temp_F
weatherCode
weatherIconUrl {
...ValueFragment
}
weatherDesc {
...ValueFragment
}
windspeedMiles
windspeedKmph
winddirDegree
winddir16Point
precipMM
humidity
visibility
pressure
cloudcover
FeelsLikeC
FeelsLikeF
}
weather {
date
astronomy {
...AstronomyFragment
}
maxtempC
maxtempF
mintempC
mintempF
totalSnow_cm
sunHour
uvIndex
hourly {
...HourlyFragment
}
}
ClimateAverages {
month {
...MonthFragment
}
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
}
}
Variables
{
"eid": [123],
"mtid": [123],
"lid": [987],
"marketTypeFormat": "abc123",
"marketTypeLayout": "xyz789",
"spid": [987],
"rid": [987],
"hl": true,
"ic": true,
"dt": RangeInput,
"startDate": 123.45,
"hoursRange": 123,
"timezoneOffset": 123,
"limit": 123,
"skip": 987,
"sort": SortInput,
"showEmptyEvents": true,
"sgid": 123
}
Response
{
"data": {
"eventsBySport": [
{
"eid": 987,
"srid": "abc123",
"cit": "abc123",
"dt": 123.45,
"des": "xyz789",
"es": "abc123",
"ic": true,
"hl": true,
"lu": "xyz789",
"lid": 123,
"rid": 123,
"spid": 987,
"sta": "abc123",
"st": "abc123",
"cou": "abc123",
"zcode": "xyz789",
"ven": "xyz789",
"tvs": "xyz789",
"sequence": 123,
"seid": 987,
"writeingame": false,
"scores": [Score],
"league": LeagueWithSettings,
"participants": [Participant],
"statistics": [Statistic],
"statisticsByGroups": [StatisticByGroup],
"eventStatisticsByGroup": [StatisticByGroup],
"marketType": MarketTypeWithSettings,
"marketTypes": [MarketTypeWithSettings],
"currentLines": [{}],
"openingLines": [{}],
"bestLines": [{}],
"bettingOptions": [EventBettingOption],
"plays": [Play],
"eventGroup": EventGroup,
"eventTags": [EventTag],
"captions": [Caption],
"consensus": [Consensus],
"consensusV2": [ConsensusV2],
"weather": [WeatherOutput],
"eventMarketsCount": 987,
"tl": "xyz789",
"att": 987,
"fo": "xyz789",
"tr": 987,
"lat": 987.65,
"lon": 123.45,
"seg": "xyz789",
"slg": "abc123",
"cov": "xyz789",
"rft": "xyz789",
"ipc": false,
"marketCounter": 123,
"marketResults": [MarketResult],
"lastRoster": Participant
}
]
}
}
eventsBySportV2
Response
Returns an EventsWithMaxSequences
Arguments
Name | Description |
---|---|
eid - [Int]
|
Event ID |
mtid - [Int]
|
Market Type ID |
lid - [Int]
|
League Id |
marketTypeFormat - String
|
Market Type Format |
marketTypeLayout - String
|
Market Type Layout |
spid - [Int]
|
Sport Id |
rid - [Int]
|
Region Id |
hl - Boolean
|
Has Lines? |
ic - Boolean
|
Is Competition? |
dt - RangeInput
|
Datetime Range |
startDate - Float
|
Start date |
hoursRange - Int
|
Hours after start date to bring events |
timezoneOffset - Int
|
Client's timezone offset |
limit - Int
|
|
skip - Int
|
|
sort - SortInput
|
|
showEmptyEvents - Boolean
|
get events with not lines for an specific mtid |
sgid - Int
|
TODO REMOVE!!! |
Example
Query
query eventsBySportV2(
$eid: [Int],
$mtid: [Int],
$lid: [Int],
$marketTypeFormat: String,
$marketTypeLayout: String,
$spid: [Int],
$rid: [Int],
$hl: Boolean,
$ic: Boolean,
$dt: RangeInput,
$startDate: Float,
$hoursRange: Int,
$timezoneOffset: Int,
$limit: Int,
$skip: Int,
$sort: SortInput,
$showEmptyEvents: Boolean,
$sgid: Int
) {
eventsBySportV2(
eid: $eid,
mtid: $mtid,
lid: $lid,
marketTypeFormat: $marketTypeFormat,
marketTypeLayout: $marketTypeLayout,
spid: $spid,
rid: $rid,
hl: $hl,
ic: $ic,
dt: $dt,
startDate: $startDate,
hoursRange: $hoursRange,
timezoneOffset: $timezoneOffset,
limit: $limit,
skip: $skip,
sort: $sort,
showEmptyEvents: $showEmptyEvents,
sgid: $sgid
) {
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
maxSequences {
eventsMaxSequence
scoresMaxSequence
linesMaxSequence
liveLinesMaxSequence
statisticsMaxSequence
statisticsByGroupsMaxSequence
consensusMaxSequence
consensusV2MaxSequence
playsMaxSequence
}
}
}
Variables
{
"eid": [987],
"mtid": [123],
"lid": [123],
"marketTypeFormat": "abc123",
"marketTypeLayout": "abc123",
"spid": [123],
"rid": [987],
"hl": false,
"ic": false,
"dt": RangeInput,
"startDate": 987.65,
"hoursRange": 987,
"timezoneOffset": 987,
"limit": 987,
"skip": 123,
"sort": SortInput,
"showEmptyEvents": true,
"sgid": 987
}
Response
{
"data": {
"eventsBySportV2": {
"events": [Event],
"maxSequences": MaxSequences
}
}
}
eventsByTeamId
Description
Get all events of a team
Response
Returns an EventsWithMaxSequences
Example
Query
query eventsByTeamId(
$tmid: Int!,
$seid: Int,
$startDate: Float,
$hoursRange: Int,
$timezoneOffset: Float,
$limit: Int,
$skip: Int,
$hl: Boolean,
$sort: SortInput,
$ic: Boolean
) {
eventsByTeamId(
tmid: $tmid,
seid: $seid,
startDate: $startDate,
hoursRange: $hoursRange,
timezoneOffset: $timezoneOffset,
limit: $limit,
skip: $skip,
hl: $hl,
sort: $sort,
ic: $ic
) {
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
maxSequences {
eventsMaxSequence
scoresMaxSequence
linesMaxSequence
liveLinesMaxSequence
statisticsMaxSequence
statisticsByGroupsMaxSequence
consensusMaxSequence
consensusV2MaxSequence
playsMaxSequence
}
}
}
Variables
{
"tmid": 123,
"seid": 987,
"startDate": 123.45,
"hoursRange": 123,
"timezoneOffset": 123.45,
"limit": 123,
"skip": 123,
"hl": true,
"sort": SortInput,
"ic": false
}
Response
{
"data": {
"eventsByTeamId": {
"events": [Event],
"maxSequences": MaxSequences
}
}
}
eventsCarousel
Response
Returns an EventsCarousel
Arguments
Name | Description |
---|---|
sportbooksByCategoryArgs - SportbooksByCategoryArgs
|
|
eventFilterGroupsArgs - EventFilterGroupsArgs
|
Example
Query
query eventsCarousel(
$sportbooksByCategoryArgs: SportbooksByCategoryArgs,
$eventFilterGroupsArgs: EventFilterGroupsArgs
) {
eventsCarousel(
sportbooksByCategoryArgs: $sportbooksByCategoryArgs,
eventFilterGroupsArgs: $eventFilterGroupsArgs
) {
eventFilterGroups {
efgid
nam
sitid
ord
maxshow
enabled
active
eventsFilters {
efid
nam
efgids
spid
mtids
events {
...EventFragment
}
lids
eids
rids
sortmode
filtertype
eventtoshow
cutoffpoint
amount
ord
showlive
minutes
enabled
active
}
maxSequences {
eventsMaxSequence
scoresMaxSequence
linesMaxSequence
liveLinesMaxSequence
statisticsMaxSequence
statisticsByGroupsMaxSequence
consensusMaxSequence
consensusV2MaxSequence
playsMaxSequence
}
}
sportbooksByCategory {
cid
afid
shortafid
safid
categoryName
affiliateURL
mainAffiliate {
nam
enabled
}
enabled
sportsbooksadmin {
sbid
paid
nam
iid
pre
suf
afid
settings {
...SportsbookSettingFragment
}
image {
...ImageFragment
}
}
}
maxSequences {
eventsMaxSequence
scoresMaxSequence
linesMaxSequence
liveLinesMaxSequence
statisticsMaxSequence
statisticsByGroupsMaxSequence
consensusMaxSequence
consensusV2MaxSequence
playsMaxSequence
}
}
}
Variables
{
"sportbooksByCategoryArgs": SportbooksByCategoryArgs,
"eventFilterGroupsArgs": EventFilterGroupsArgs
}
Response
{
"data": {
"eventsCarousel": {
"eventFilterGroups": [EventFilterGroup],
"sportbooksByCategory": [SportbooksByCategory],
"maxSequences": MaxSequences
}
}
}
eventsDatesCount
Response
Returns [EventDateCount]
Arguments
Name | Description |
---|---|
lid - [Int]
|
Leagues Ids |
spid - Int
|
Sport Id |
rid - Int
|
Region Id |
hl - Boolean
|
Has Lines? |
ic - Boolean
|
Is Competition? |
mtid - Int
|
Market Type Id |
dt - RangeInput
|
Start Date |
sort - SortInput
|
|
group - GroupInput
|
|
es - [String]
|
Example
Query
query eventsDatesCount(
$lid: [Int],
$spid: Int,
$rid: Int,
$hl: Boolean,
$ic: Boolean,
$mtid: Int,
$dt: RangeInput,
$sort: SortInput,
$group: GroupInput,
$es: [String]
) {
eventsDatesCount(
lid: $lid,
spid: $spid,
rid: $rid,
hl: $hl,
ic: $ic,
mtid: $mtid,
dt: $dt,
sort: $sort,
group: $group,
es: $es
) {
dt
size
}
}
Variables
{
"lid": [123],
"spid": 123,
"rid": 123,
"hl": false,
"ic": true,
"mtid": 123,
"dt": RangeInput,
"sort": SortInput,
"group": GroupInput,
"es": ["abc123"]
}
Response
{"data": {"eventsDatesCount": [{"dt": 987.65, "size": 987}]}}
eventsDatesCountSummary
Response
Returns [EventDateCount]
Arguments
Name | Description |
---|---|
lid - [Int]
|
League Id |
spid - Int
|
Sport Id |
rid - Int
|
Region Id |
hl - Boolean
|
Has Lines? |
ic - Boolean
|
Is Competition? |
mtid - Int
|
Market Type Id |
dt - RangeInput
|
Start Date |
sort - SortInput
|
|
group - GroupInput
|
|
timezoneOffset - Float
|
Client's timezone offset |
Example
Query
query eventsDatesCountSummary(
$lid: [Int],
$spid: Int,
$rid: Int,
$hl: Boolean,
$ic: Boolean,
$mtid: Int,
$dt: RangeInput,
$sort: SortInput,
$group: GroupInput,
$timezoneOffset: Float
) {
eventsDatesCountSummary(
lid: $lid,
spid: $spid,
rid: $rid,
hl: $hl,
ic: $ic,
mtid: $mtid,
dt: $dt,
sort: $sort,
group: $group,
timezoneOffset: $timezoneOffset
) {
dt
size
}
}
Variables
{
"lid": [987],
"spid": 123,
"rid": 123,
"hl": false,
"ic": false,
"mtid": 987,
"dt": RangeInput,
"sort": SortInput,
"group": GroupInput,
"timezoneOffset": 123.45
}
Response
{"data": {"eventsDatesCountSummary": [{"dt": 987.65, "size": 987}]}}
eventsGroupsBySeason
Response
Returns [EventGroupBySeason]
Example
Query
query eventsGroupsBySeason(
$seids: [Int!]!,
$timezoneOffset: Float!
) {
eventsGroupsBySeason(
seids: $seids,
timezoneOffset: $timezoneOffset
) {
egid
nam
alias
ceg
seid
disord
sdt
edt
eids
mtids
hl
isCurrent
}
}
Variables
{"seids": [987], "timezoneOffset": 123.45}
Response
{
"data": {
"eventsGroupsBySeason": [
{
"egid": 987,
"nam": "abc123",
"alias": "xyz789",
"ceg": 987,
"seid": 123,
"disord": 123,
"sdt": 123.45,
"edt": 987.65,
"eids": [123],
"mtids": [987],
"hl": true,
"isCurrent": true
}
]
}
}
eventsInfoByParticipant
Response
Returns [EventInfoByParticipant]
Example
Query
query eventsInfoByParticipant(
$partid: [Int],
$tmid: [Int],
$ptid: Int,
$seid: [Int]!,
$marketTypeLayout: String,
$limitByParticipant: Int
) {
eventsInfoByParticipant(
partid: $partid,
tmid: $tmid,
ptid: $ptid,
seid: $seid,
marketTypeLayout: $marketTypeLayout,
limitByParticipant: $limitByParticipant
) {
partid
eid
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
eventsByParticipant {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
}
}
Variables
{
"partid": [987],
"tmid": [987],
"ptid": 123,
"seid": [987],
"marketTypeLayout": "abc123",
"limitByParticipant": 123
}
Response
{
"data": {
"eventsInfoByParticipant": [
{
"partid": 987,
"eid": [987],
"events": [Event],
"eventsByParticipant": [Event]
}
]
}
}
eventsLocation
Response
Returns [EventLocation]
Arguments
Name | Description |
---|---|
eid - [Int!]!
|
Events IDs |
Example
Query
query eventsLocation($eid: [Int!]!) {
eventsLocation(eid: $eid) {
eid
lat
lon
add
cou
sta
ven
cit
zcode
att
fo
}
}
Variables
{"eid": [987]}
Response
{
"data": {
"eventsLocation": [
{
"eid": 987,
"lat": 123.45,
"lon": 123.45,
"add": "xyz789",
"cou": "abc123",
"sta": "xyz789",
"ven": "xyz789",
"cit": "xyz789",
"zcode": "abc123",
"att": 987,
"fo": "xyz789"
}
]
}
}
eventsRegionBySport
Response
Returns an EventRegion
Example
Query
query eventsRegionBySport(
$spid: [Int]!,
$mtid: [Int]
) {
eventsRegionBySport(
spid: $spid,
mtid: $mtid
) {
available
active
}
}
Variables
{"spid": [123], "mtid": [123]}
Response
{"data": {"eventsRegionBySport": {"available": [987], "active": [123]}}}
eventsV2
Response
Returns an EventsWithMaxSequences
Arguments
Name | Description |
---|---|
eid - [Int]
|
Event Id |
srid - [String]
|
Sportradar Id |
lid - [Int]
|
League Id |
spid - [Int]
|
Sport Id |
rid - Int
|
Region Id |
hl - Boolean
|
Has Lines? |
ic - Boolean
|
Is Competition? |
mtid - [Int]
|
Market Type Id |
marketTypeFormat - String
|
Market Type Format |
marketTypeLayout - String
|
Market Type Layout |
limit - Int
|
|
skip - Int
|
|
distinct - [String]
|
|
type - TypeInput
|
|
sort - SortInput
|
|
dt - RangeInput
|
|
group - GroupInput
|
|
providerAcountOpener - Int
|
opening bt sportbook |
showEmptyEvents - Boolean
|
get events with not lines for an specific mtid |
domainId - Int
|
Domain Id |
sgid - Int
|
TODO REMOVE!!! |
ipc - Boolean
|
Is prop competition? |
paid - [Int]
|
Provider Account Ids |
es - [String]
|
Example
Query
query eventsV2(
$eid: [Int],
$srid: [String],
$lid: [Int],
$spid: [Int],
$rid: Int,
$hl: Boolean,
$ic: Boolean,
$mtid: [Int],
$marketTypeFormat: String,
$marketTypeLayout: String,
$limit: Int,
$skip: Int,
$distinct: [String],
$type: TypeInput,
$sort: SortInput,
$dt: RangeInput,
$group: GroupInput,
$providerAcountOpener: Int,
$showEmptyEvents: Boolean,
$domainId: Int,
$sgid: Int,
$ipc: Boolean,
$paid: [Int],
$es: [String]
) {
eventsV2(
eid: $eid,
srid: $srid,
lid: $lid,
spid: $spid,
rid: $rid,
hl: $hl,
ic: $ic,
mtid: $mtid,
marketTypeFormat: $marketTypeFormat,
marketTypeLayout: $marketTypeLayout,
limit: $limit,
skip: $skip,
distinct: $distinct,
type: $type,
sort: $sort,
dt: $dt,
group: $group,
providerAcountOpener: $providerAcountOpener,
showEmptyEvents: $showEmptyEvents,
domainId: $domainId,
sgid: $sgid,
ipc: $ipc,
paid: $paid,
es: $es
) {
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
maxSequences {
eventsMaxSequence
scoresMaxSequence
linesMaxSequence
liveLinesMaxSequence
statisticsMaxSequence
statisticsByGroupsMaxSequence
consensusMaxSequence
consensusV2MaxSequence
playsMaxSequence
}
}
}
Variables
{
"eid": [123],
"srid": ["xyz789"],
"lid": [123],
"spid": [123],
"rid": 987,
"hl": true,
"ic": true,
"mtid": [987],
"marketTypeFormat": "abc123",
"marketTypeLayout": "abc123",
"limit": 987,
"skip": 123,
"distinct": ["abc123"],
"type": "TOP",
"sort": SortInput,
"dt": RangeInput,
"group": GroupInput,
"providerAcountOpener": 987,
"showEmptyEvents": true,
"domainId": 123,
"sgid": 123,
"ipc": true,
"paid": [987],
"es": ["xyz789"]
}
Response
{
"data": {
"eventsV2": {
"events": [Event],
"maxSequences": MaxSequences
}
}
}
formats
Description
Query multiple Lines
Response
Returns [OddFormat]
Example
Query
query formats(
$id: Int,
$dcp: Float,
$np: Int,
$dep: Int
) {
formats(
id: $id,
dcp: $dcp,
np: $np,
dep: $dep
) {
id
dcp
np
dep
tim
act
}
}
Variables
{"id": 123, "dcp": 123.45, "np": 987, "dep": 123}
Response
{
"data": {
"formats": [
{
"id": 987,
"dcp": 987.65,
"np": 987,
"dep": 123,
"tim": 123.45,
"act": false
}
]
}
}
getActiveEventFilterGroups
Response
Returns [EventFilterGroupLegacy]
Example
Query
query getActiveEventFilterGroups(
$egid: [String],
$sitid: Int!
) {
getActiveEventFilterGroups(
egid: $egid,
sitid: $sitid
) {
egid
sitid
settings {
egid
did
nam
enabled
active
}
}
}
Variables
{"egid": ["xyz789"], "sitid": 123}
Response
{
"data": {
"getActiveEventFilterGroups": [
{
"egid": "xyz789",
"sitid": 987,
"settings": EventFilterGroupSettings
}
]
}
}
getCurrentLine
getCurrentLinesGroupByEventMarket
Response
Returns [EventMarketLine]
Example
Query
query getCurrentLinesGroupByEventMarket(
$sequence: Float!,
$sequenceRange: Int!
) {
getCurrentLinesGroupByEventMarket(
sequence: $sequence,
sequenceRange: $sequenceRange
) {
mtid
eid
act
maxsequence
}
}
Variables
{"sequence": 987.65, "sequenceRange": 987}
Response
{
"data": {
"getCurrentLinesGroupByEventMarket": [
{"mtid": 123, "eid": 123, "act": false, "maxsequence": 987.65}
]
}
}
getEntitiesByEventMarket
Response
Returns a PropLines
Arguments
Name | Description |
---|---|
eid - Int!
|
Event Id |
mtid - [Int]!
|
Market Types |
sbid - [Int]
|
SportBook Ids |
pid - Int
|
(optional) Players Reference Id, If this Param are required can't send the tmid Param |
tmid - Int
|
(optional) Teams Reference Id, If this Param are required can't send the pid Param |
catid - Int
|
Category id |
Example
Query
query getEntitiesByEventMarket(
$eid: Int!,
$mtid: [Int]!,
$sbid: [Int],
$pid: Int,
$tmid: Int,
$catid: Int
) {
getEntitiesByEventMarket(
eid: $eid,
mtid: $mtid,
sbid: $sbid,
pid: $pid,
tmid: $tmid,
catid: $catid
)
}
Variables
{
"eid": 123,
"mtid": [123],
"sbid": [987],
"pid": 123,
"tmid": 123,
"catid": 987
}
Response
{"data": {"getEntitiesByEventMarket": PropLines}}
getEventIdsBySlug
Response
Returns an EventIdsSlugInfo
Example
Query
query getEventIdsBySlug(
$slg: String!,
$actTim: Float!,
$alphabetically: Boolean,
$leagueId: Int
) {
getEventIdsBySlug(
slg: $slg,
actTim: $actTim,
alphabetically: $alphabetically,
leagueId: $leagueId
) {
ceid
leid
}
}
Variables
{
"slg": "xyz789",
"actTim": 987.65,
"alphabetically": true,
"leagueId": 987
}
Response
{"data": {"getEventIdsBySlug": {"ceid": 123, "leid": 123}}}
getEventRosterByEvents
Description
Query event rosters by event id
Response
Returns [EventRoster]
Arguments
Name | Description |
---|---|
eid - [Int]!
|
Event Ids |
Example
Query
query getEventRosterByEvents($eid: [Int]!) {
getEventRosterByEvents(eid: $eid) {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
...DepthChartFragment
}
startingGolie {
...DepthChartFragment
}
player {
...PlayerFragment
}
marketCounter
injuries {
...InjuryResponseFragment
}
}
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
}
}
Variables
{"eid": [987]}
Response
{
"data": {
"getEventRosterByEvents": [
{
"erid": 123,
"eid": 987,
"sid": 987,
"pid": 123,
"partid": 123,
"act": true,
"sequence": 123,
"ilu": true,
"luo": 987,
"roster": Player,
"statisticsByGroups": [StatisticByGroup]
}
]
}
}
getEventTags
Response
Returns [EventTag]
Arguments
Name | Description |
---|---|
eid - [Int!]!
|
Example
Query
query getEventTags($eid: [Int!]!) {
getEventTags(eid: $eid) {
ID
link
tag {
name
backgroundColor
textColor
dotColor
}
eid
}
}
Variables
{"eid": [987]}
Response
{
"data": {
"getEventTags": [
{
"ID": 123,
"link": "xyz789",
"tag": Tag,
"eid": [123]
}
]
}
}
getEventsWithPrediction
Description
Get Events with Prediction
Response
Returns [EventWithPrediction]
Example
Query
query getEventsWithPrediction(
$minSequence: Int!,
$lid: [Int]!,
$limit: Int
) {
getEventsWithPrediction(
minSequence: $minSequence,
lid: $lid,
limit: $limit
) {
sequence
eid
lid
}
}
Variables
{"minSequence": 987, "lid": [987], "limit": 987}
Response
{
"data": {
"getEventsWithPrediction": [{"sequence": 123, "eid": 987, "lid": 123}]
}
}
getLeaguesAndRegionsBySport
Response
Returns [LeaguesAndRegionsBySport]
Example
Query
query getLeaguesAndRegionsBySport(
$sitid: Int!,
$did: Int!,
$sportEnabled: Boolean,
$leagueEnabled: Boolean
) {
getLeaguesAndRegionsBySport(
sitid: $sitid,
did: $did,
sportEnabled: $sportEnabled,
leagueEnabled: $leagueEnabled
) {
sitid
did
sports {
spid
nam
alias
enabled
nav
mode
domainOrd
defaultOrd
regions {
rid
nam
sn
leagues {
...LeaguesWithEventGroupsFragment
}
}
}
}
}
Variables
{"sitid": 123, "did": 987, "sportEnabled": true, "leagueEnabled": true}
Response
{
"data": {
"getLeaguesAndRegionsBySport": [
{
"sitid": 987,
"did": 123,
"sports": [SportsWithRegions]
}
]
}
}
getLeaguesWithSettingsV2
Response
Returns [LeagueWithSettingsV2]
Example
Query
query getLeaguesWithSettingsV2(
$sitid: Int!,
$did: Int!,
$enabled: Boolean,
$spid: [Int],
$lid: [Int]
) {
getLeaguesWithSettingsV2(
sitid: $sitid,
did: $did,
enabled: $enabled,
spid: $spid,
lid: $lid
) {
lid
nam
rid
spid
did
lurl
sn
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
region {
nam
rid
sn
}
settings {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
}
}
Variables
{"sitid": 987, "did": 123, "enabled": false, "spid": [123], "lid": [123]}
Response
{
"data": {
"getLeaguesWithSettingsV2": [
{
"lid": 987,
"nam": "abc123",
"rid": 123,
"spid": 123,
"did": 123,
"lurl": "xyz789",
"sn": "abc123",
"marketType": MarketTypeWithSettings,
"region": RegionLeagueV2,
"settings": LeagueSetting
}
]
}
}
getLineByLineId
Response
Returns a LineById
Example
Query
query getLineByLineId(
$lineid: Float!,
$catid: Int,
$paid: [Int]
) {
getLineByLineId(
lineid: $lineid,
catid: $catid,
paid: $paid
) {
lineid
mtid
eid
boid
paid
sbid
tim
partid
sequence
adj
pri
dp
bs
iof
ap
fpd
fpn
entrid
mtgrp
tmid
isbestline
event {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
entityReference
player
team
}
}
Variables
{"lineid": 123.45, "catid": 123, "paid": [123]}
Response
{
"data": {
"getLineByLineId": {
"lineid": 123.45,
"mtid": 987,
"eid": 123,
"boid": 123,
"paid": 987,
"sbid": 123,
"tim": 987.65,
"partid": 123,
"sequence": 987.65,
"adj": 987.65,
"pri": 123.45,
"dp": 987.65,
"bs": "abc123",
"iof": true,
"ap": 987,
"fpd": 123,
"fpn": 987,
"entrid": 123.45,
"mtgrp": "xyz789",
"tmid": 123,
"isbestline": false,
"event": Event,
"entityReference": EntityReference,
"player": PlayerInfo,
"team": TeamInfo
}
}
}
getMarketByLineId
Response
Returns a PropLines
Arguments
Name | Description |
---|---|
lineid - Float!
|
Line Id |
sbid - [Int]
|
SportBook Ids |
linesoptions - [LINESOPTIONS]
|
Lines to get |
catid - Int
|
Category id (bestlines order) |
Example
Query
query getMarketByLineId(
$lineid: Float!,
$sbid: [Int],
$linesoptions: [LINESOPTIONS],
$catid: Int
) {
getMarketByLineId(
lineid: $lineid,
sbid: $sbid,
linesoptions: $linesoptions,
catid: $catid
)
}
Variables
{"lineid": 123.45, "sbid": [987], "linesoptions": ["BESTLINES"], "catid": 987}
Response
{"data": {"getMarketByLineId": PropLines}}
getPlayersBySeason
Response
Returns [TeamRoster]
Example
Query
query getPlayersBySeason(
$search: String,
$seid: Int!,
$tmid: [Int]
) {
getPlayersBySeason(
search: $search,
seid: $seid,
tmid: $tmid
) {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
id
seid
tmid
pid
pposid
week
val
position {
id
spid
nam
sn
}
eid
cfrd
strtr
}
startingGolie {
id
seid
tmid
pid
pposid
week
val
position {
id
spid
nam
sn
}
eid
cfrd
strtr
}
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
...DepthChartFragment
}
startingGolie {
...DepthChartFragment
}
player {
...PlayerFragment
}
marketCounter
injuries {
...InjuryResponseFragment
}
}
}
marketCounter
injuries {
pid
tmid
seid
typ
stt
loc
det
side
retdt
disch
hl
not
newstim
newsdate
teamRosterPlayer {
teamRoster {
...TeamRosterFragment
}
player {
...PlayerFragment
}
}
prio
isKeyInjuredPlayer
}
}
}
Variables
{
"search": "abc123",
"seid": 987,
"tmid": [123]
}
Response
{
"data": {
"getPlayersBySeason": [
{
"tmrid": 123,
"tmid": 987,
"pid": 123,
"seid": 987,
"act": true,
"pnum": 987,
"ppid": 987,
"ppnam": "xyz789",
"ppsn": "abc123",
"ppprio": 987,
"depthChart": [DepthChart],
"startingGolie": DepthChart,
"player": Player,
"marketCounter": 987,
"injuries": InjuryResponse
}
]
}
}
getSportsWithSettingsV2
Response
Returns [SportWithSettings]
Example
Query
query getSportsWithSettingsV2(
$spids: [Int],
$sitid: Int!,
$did: Int!
) {
getSportsWithSettingsV2(
spids: $spids,
sitid: $sitid,
did: $did
) {
spid
nam
act
settings {
spid
act
enabled
alias
mode
nav
mtid
ord
_isCustom
_isFavorite
}
}
}
Variables
{"spids": [123], "sitid": 987, "did": 123}
Response
{
"data": {
"getSportsWithSettingsV2": [
{
"spid": 987,
"nam": "abc123",
"act": false,
"settings": SportSettingsV2
}
]
}
}
getSportsbookBonusLists
Response
Returns [SportsbookBonusList]
Arguments
Name | Description |
---|---|
catid - Int
|
Example
Query
query getSportsbookBonusLists($catid: Int) {
getSportsbookBonusLists(catid: $catid) {
ID
name
sportsbookBonuses {
ID
title
subtitle
tag
sportsbook {
ID
name
providerId
affiliateLink
image
}
regions {
name
catid
}
}
}
}
Variables
{"catid": 123}
Response
{
"data": {
"getSportsbookBonusLists": [
{
"ID": 123,
"name": "abc123",
"sportsbookBonuses": [SportsbookBonus]
}
]
}
}
getTeamBySlug
Description
Get a team by slug and league
Example
Query
query getTeamBySlug(
$slg: String!,
$lid: Int!
) {
getTeamBySlug(
slg: $slg,
lid: $lid
) {
tmid
srid
lid
nam
tmblid
nn
sn
abbr
cit
sta
cou
act
stt
ven
seid
senam
conid
roster {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
id
seid
tmid
pid
pposid
week
val
position {
...PositionFragment
}
eid
cfrd
strtr
}
startingGolie {
id
seid
tmid
pid
pposid
week
val
position {
...PositionFragment
}
eid
cfrd
strtr
}
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
marketCounter
injuries {
pid
tmid
seid
typ
stt
loc
det
side
retdt
disch
hl
not
newstim
newsdate
teamRosterPlayer {
...TeamRosterPlayerFragment
}
prio
isKeyInjuredPlayer
}
}
statistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
divid
divname
hasteamstats
conname
consn
imageurl
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
statisticsBySeason {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
socialNetworks {
network
account
}
leagueHierarchy {
teamId
seasonId
leagueId
conference {
id
name
shortname
favoriteshortname
favoritename
imageurl
}
division {
id
name
shortname
favoriteshortname
imageurl
}
}
partid
iv
slg
tr
}
}
Variables
{"slg": "xyz789", "lid": 123}
Response
{
"data": {
"getTeamBySlug": {
"tmid": 123,
"srid": "xyz789",
"lid": 123,
"nam": "abc123",
"tmblid": 123,
"nn": "xyz789",
"sn": "xyz789",
"abbr": "abc123",
"cit": "xyz789",
"sta": "xyz789",
"cou": "xyz789",
"act": true,
"stt": "xyz789",
"ven": "xyz789",
"seid": 123,
"senam": "xyz789",
"conid": 123,
"roster": [TeamRoster],
"statistics": [StatisticByGroup],
"divid": 987,
"divname": "xyz789",
"hasteamstats": true,
"conname": "abc123",
"consn": "abc123",
"imageurl": "xyz789",
"statisticsByGroups": [StatisticByGroup],
"statisticsBySeason": [StatisticByGroup],
"socialNetworks": [TeamSocialNetwork],
"leagueHierarchy": [LeagueHierarchy],
"partid": 987,
"iv": false,
"slg": "xyz789",
"tr": 987
}
}
}
getTeamDepthChart
Response
Returns a TeamDepthChart
Example
Query
query getTeamDepthChart(
$teamId: [Int]!,
$seasonId: Int!
) {
getTeamDepthChart(
teamId: $teamId,
seasonId: $seasonId
)
}
Variables
{"teamId": [987], "seasonId": 987}
Response
{"data": {"getTeamDepthChart": TeamDepthChart}}
getTeamSchedule
Description
Get a team season scheduele
Example
Query
query getTeamSchedule(
$tmid: Int!,
$seid: Int,
$startYear: Int
) {
getTeamSchedule(
tmid: $tmid,
seid: $seid,
startYear: $startYear
) {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
region {
rid
nam
sn
}
settings {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
sport {
spid
nam
settings {
...SportSettingFragment
}
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
name
backgroundColor
textColor
dotColor
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
type
query
}
current_condition {
observation_time
temp_C
temp_F
weatherCode
weatherIconUrl {
...ValueFragment
}
weatherDesc {
...ValueFragment
}
windspeedMiles
windspeedKmph
winddirDegree
winddir16Point
precipMM
humidity
visibility
pressure
cloudcover
FeelsLikeC
FeelsLikeF
}
weather {
date
astronomy {
...AstronomyFragment
}
maxtempC
maxtempF
mintempC
mintempF
totalSnow_cm
sunHour
uvIndex
hourly {
...HourlyFragment
}
}
ClimateAverages {
month {
...MonthFragment
}
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
}
}
Variables
{"tmid": 987, "seid": 987, "startYear": 987}
Response
{
"data": {
"getTeamSchedule": [
{
"eid": 123,
"srid": "xyz789",
"cit": "xyz789",
"dt": 987.65,
"des": "abc123",
"es": "abc123",
"ic": true,
"hl": false,
"lu": "abc123",
"lid": 987,
"rid": 987,
"spid": 123,
"sta": "abc123",
"st": "xyz789",
"cou": "abc123",
"zcode": "abc123",
"ven": "abc123",
"tvs": "abc123",
"sequence": 987,
"seid": 123,
"writeingame": true,
"scores": [Score],
"league": LeagueWithSettings,
"participants": [Participant],
"statistics": [Statistic],
"statisticsByGroups": [StatisticByGroup],
"eventStatisticsByGroup": [StatisticByGroup],
"marketType": MarketTypeWithSettings,
"marketTypes": [MarketTypeWithSettings],
"currentLines": [{}],
"openingLines": [{}],
"bestLines": [{}],
"bettingOptions": [EventBettingOption],
"plays": [Play],
"eventGroup": EventGroup,
"eventTags": [EventTag],
"captions": [Caption],
"consensus": [Consensus],
"consensusV2": [ConsensusV2],
"weather": [WeatherOutput],
"eventMarketsCount": 123,
"tl": "xyz789",
"att": 987,
"fo": "xyz789",
"tr": 987,
"lat": 987.65,
"lon": 123.45,
"seg": "xyz789",
"slg": "xyz789",
"cov": "xyz789",
"rft": "abc123",
"ipc": true,
"marketCounter": 987,
"marketResults": [MarketResult],
"lastRoster": Participant
}
]
}
}
getTopEventsBySportsbook
Response
Returns an EventsWithMaxSequences
Example
Query
query getTopEventsBySportsbook(
$startDate: Float!,
$sbid: [Int]!,
$topGamesLimit: Int!,
$mtid: [Int],
$lid: [Int],
$hoursRange: Int
) {
getTopEventsBySportsbook(
startDate: $startDate,
sbid: $sbid,
topGamesLimit: $topGamesLimit,
mtid: $mtid,
lid: $lid,
hoursRange: $hoursRange
) {
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
maxSequences {
eventsMaxSequence
scoresMaxSequence
linesMaxSequence
liveLinesMaxSequence
statisticsMaxSequence
statisticsByGroupsMaxSequence
consensusMaxSequence
consensusV2MaxSequence
playsMaxSequence
}
}
}
Variables
{
"startDate": 987.65,
"sbid": [123],
"topGamesLimit": 987,
"mtid": [987],
"lid": [987],
"hoursRange": 987
}
Response
{
"data": {
"getTopEventsBySportsbook": {
"events": [Event],
"maxSequences": MaxSequences
}
}
}
getTwitterFeed
Response
Returns a TwitterResponse
Example
Query
query getTwitterFeed(
$first: [String]!,
$firstPartid: String!,
$second: [String]!,
$secondPartid: String!,
$eid: Int!,
$eventDate: Int!,
$count: Int
) {
getTwitterFeed(
first: $first,
firstPartid: $firstPartid,
second: $second,
secondPartid: $secondPartid,
eid: $eid,
eventDate: $eventDate,
count: $count
) {
first {
id
text
image
date
twitter
}
second {
id
text
image
date
twitter
}
firstCacheStatus
secondCacheStatus
}
}
Variables
{
"first": ["abc123"],
"firstPartid": "abc123",
"second": ["abc123"],
"secondPartid": "abc123",
"eid": 987,
"eventDate": 987,
"count": 987
}
Response
{
"data": {
"getTwitterFeed": {
"first": [TwitterFeed],
"second": [TwitterFeed],
"firstCacheStatus": "xyz789",
"secondCacheStatus": "abc123"
}
}
}
getUpdatedCurrentLines
Description
get all the updated lines for the event ids, greater than the sequence
Response
Returns a CurrentLinesWithMaxSequence
Example
Query
query getUpdatedCurrentLines(
$eventIds: [Int]!,
$sequence: Float!,
$mtid: Int
) {
getUpdatedCurrentLines(
eventIds: $eventIds,
sequence: $sequence,
mtid: $mtid
) {
currentLines
maxSequence
}
}
Variables
{"eventIds": [987], "sequence": 123.45, "mtid": 987}
Response
{
"data": {
"getUpdatedCurrentLines": {"currentLines": [{}], "maxSequence": 987.65}
}
}
getUpdatedEvents
Description
get all the updated events for the event ids, greater than the sequence
Response
Returns an EventsWithMaxSequence
Example
Query
query getUpdatedEvents(
$eventIds: [Int]!,
$sequence: Int!
) {
getUpdatedEvents(
eventIds: $eventIds,
sequence: $sequence
) {
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
maxSequence
}
}
Variables
{"eventIds": [123], "sequence": 987}
Response
{
"data": {
"getUpdatedEvents": {
"events": [Event],
"maxSequence": 123.45
}
}
}
getUpdatedScores
Description
get all the updated scores for the event ids, greater than the sequence
Response
Returns a ScoreWithMaxSequence
Example
Query
query getUpdatedScores(
$eventIds: [Int]!,
$sequence: Int!
) {
getUpdatedScores(
eventIds: $eventIds,
sequence: $sequence
) {
scores {
eid
partid
pn
val
sequence
}
maxSequence
}
}
Variables
{"eventIds": [123], "sequence": 987}
Response
{
"data": {
"getUpdatedScores": {
"scores": [Score],
"maxSequence": 987.65
}
}
}
getUpdatedStatistics
Description
get all the updated statistics for the event ids, greater than the sequence
Response
Returns a StatisticWithMaxSequence
Example
Query
query getUpdatedStatistics(
$eventIds: [Int]!,
$sequence: Float!,
$sgid: Int
) {
getUpdatedStatistics(
eventIds: $eventIds,
sequence: $sequence,
sgid: $sgid
) {
statistics {
typ
eid
partid
pid
nam
val
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
siid
sequence
}
maxSequence
}
}
Variables
{"eventIds": [123], "sequence": 987.65, "sgid": 123}
Response
{
"data": {
"getUpdatedStatistics": {
"statistics": [Statistic],
"maxSequence": 123.45
}
}
}
getWinnerLineByEvent
Response
Returns a WinnerLineByEvent
Example
Query
query getWinnerLineByEvent(
$eventId: Int!,
$providerId: Int!
) {
getWinnerLineByEvent(
eventId: $eventId,
providerId: $providerId
)
}
Variables
{"eventId": 987, "providerId": 123}
Response
{"data": {"getWinnerLineByEvent": WinnerLineByEvent}}
headToHeadEvents
Response
Returns [Event]
Arguments
Name | Description |
---|---|
participantId1 - Int!
|
Participant ID 1 |
participantId2 - Int!
|
Participant ID 2 |
homeParticipantId - Int
|
Home Participant ID if is required matchups with one specific participant as home |
seid - Int
|
Season Id |
es - String!
|
|
sort - SortInput!
|
|
limit - Int!
|
|
limitDate - Float
|
|
seasonGroup - [SEASONGROUP]
|
Example
Query
query headToHeadEvents(
$participantId1: Int!,
$participantId2: Int!,
$homeParticipantId: Int,
$seid: Int,
$es: String!,
$sort: SortInput!,
$limit: Int!,
$limitDate: Float,
$seasonGroup: [SEASONGROUP]
) {
headToHeadEvents(
participantId1: $participantId1,
participantId2: $participantId2,
homeParticipantId: $homeParticipantId,
seid: $seid,
es: $es,
sort: $sort,
limit: $limit,
limitDate: $limitDate,
seasonGroup: $seasonGroup
) {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
region {
rid
nam
sn
}
settings {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
sport {
spid
nam
settings {
...SportSettingFragment
}
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
name
backgroundColor
textColor
dotColor
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
type
query
}
current_condition {
observation_time
temp_C
temp_F
weatherCode
weatherIconUrl {
...ValueFragment
}
weatherDesc {
...ValueFragment
}
windspeedMiles
windspeedKmph
winddirDegree
winddir16Point
precipMM
humidity
visibility
pressure
cloudcover
FeelsLikeC
FeelsLikeF
}
weather {
date
astronomy {
...AstronomyFragment
}
maxtempC
maxtempF
mintempC
mintempF
totalSnow_cm
sunHour
uvIndex
hourly {
...HourlyFragment
}
}
ClimateAverages {
month {
...MonthFragment
}
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
}
}
Variables
{
"participantId1": 123,
"participantId2": 987,
"homeParticipantId": 987,
"seid": 123,
"es": "abc123",
"sort": SortInput,
"limit": 123,
"limitDate": 987.65,
"seasonGroup": ["PRE"]
}
Response
{
"data": {
"headToHeadEvents": [
{
"eid": 987,
"srid": "xyz789",
"cit": "xyz789",
"dt": 987.65,
"des": "xyz789",
"es": "xyz789",
"ic": false,
"hl": false,
"lu": "abc123",
"lid": 123,
"rid": 123,
"spid": 987,
"sta": "abc123",
"st": "xyz789",
"cou": "xyz789",
"zcode": "abc123",
"ven": "abc123",
"tvs": "abc123",
"sequence": 123,
"seid": 987,
"writeingame": true,
"scores": [Score],
"league": LeagueWithSettings,
"participants": [Participant],
"statistics": [Statistic],
"statisticsByGroups": [StatisticByGroup],
"eventStatisticsByGroup": [StatisticByGroup],
"marketType": MarketTypeWithSettings,
"marketTypes": [MarketTypeWithSettings],
"currentLines": [{}],
"openingLines": [{}],
"bestLines": [{}],
"bettingOptions": [EventBettingOption],
"plays": [Play],
"eventGroup": EventGroup,
"eventTags": [EventTag],
"captions": [Caption],
"consensus": [Consensus],
"consensusV2": [ConsensusV2],
"weather": [WeatherOutput],
"eventMarketsCount": 987,
"tl": "xyz789",
"att": 987,
"fo": "abc123",
"tr": 123,
"lat": 123.45,
"lon": 123.45,
"seg": "abc123",
"slg": "xyz789",
"cov": "xyz789",
"rft": "xyz789",
"ipc": true,
"marketCounter": 123,
"marketResults": [MarketResult],
"lastRoster": Participant
}
]
}
}
historyLines
Description
Query multiple Lines
Response
Returns a GroupedHistoryLine
Example
Query
query historyLines(
$eid: Int!,
$mtid: Int!,
$paid: Int!,
$partid: [Int],
$boid: [Int]
) {
historyLines(
eid: $eid,
mtid: $mtid,
paid: $paid,
partid: $partid,
boid: $boid
) {
historyLine
}
}
Variables
{"eid": 987, "mtid": 987, "paid": 987, "partid": [987], "boid": [123]}
Response
{"data": {"historyLines": {"historyLine": [{}]}}}
images
Description
Query multiple Images
Example
Query
query images(
$query: String!,
$offset: Int,
$pageSize: Int
) {
images(
query: $query,
offset: $offset,
pageSize: $pageSize
) {
id
filename
title
description
tags
sizes {
original
thumb
xs
sm
md
lg
}
updatedAt
createdAt
}
}
Variables
{
"query": "xyz789",
"offset": 123,
"pageSize": 987
}
Response
{
"data": {
"images": [
{
"id": "abc123",
"filename": "xyz789",
"title": "abc123",
"description": "xyz789",
"tags": ["xyz789"],
"sizes": Size,
"updatedAt": 987.65,
"createdAt": 987.65
}
]
}
}
injuries
Response
Returns [InjuryResponse]
Example
Query
query injuries(
$tmid: [Int]!,
$seid: Int!,
$limit: Int,
$sort: SortInput,
$eventdate: Float,
$isPriority: Boolean
) {
injuries(
tmid: $tmid,
seid: $seid,
limit: $limit,
sort: $sort,
eventdate: $eventdate,
isPriority: $isPriority
) {
pid
tmid
seid
typ
stt
loc
det
side
retdt
disch
hl
not
newstim
newsdate
teamRosterPlayer {
teamRoster {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
...DepthChartFragment
}
startingGolie {
...DepthChartFragment
}
player {
...PlayerFragment
}
marketCounter
injuries {
...InjuryResponseFragment
}
}
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
}
prio
isKeyInjuredPlayer
}
}
Variables
{
"tmid": [123],
"seid": 987,
"limit": 987,
"sort": SortInput,
"eventdate": 987.65,
"isPriority": true
}
Response
{
"data": {
"injuries": [
{
"pid": 123,
"tmid": 123,
"seid": 987,
"typ": "xyz789",
"stt": "abc123",
"loc": "abc123",
"det": "abc123",
"side": "xyz789",
"retdt": 987.65,
"disch": true,
"hl": "abc123",
"not": "xyz789",
"newstim": 123.45,
"newsdate": 123.45,
"teamRosterPlayer": TeamRosterPlayer,
"prio": 987,
"isKeyInjuredPlayer": true
}
]
}
}
lastMatchupsByParticipants
Description
get latest matchups by participants
Response
Returns a MatchupEvents
Example
Query
query lastMatchupsByParticipants(
$participantId1: Int!,
$participantId2: Int!,
$homeParticipantId: Int,
$limit: Int,
$mtid: Int
) {
lastMatchupsByParticipants(
participantId1: $participantId1,
participantId2: $participantId2,
homeParticipantId: $homeParticipantId,
limit: $limit,
mtid: $mtid
) {
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
}
}
Variables
{
"participantId1": 123,
"participantId2": 123,
"homeParticipantId": 123,
"limit": 987,
"mtid": 123
}
Response
{
"data": {
"lastMatchupsByParticipants": {"events": [Event]}
}
}
league
Response
Returns a LeagueWithSettings
Arguments
Name | Description |
---|---|
lid - Int!
|
Example
Query
query league($lid: Int!) {
league(lid: $lid) {
lid
nam
rid
spid
did
sn
lurl
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
region {
rid
nam
sn
}
settings {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
sport {
spid
nam
settings {
spid
sitid
did
enabled
alias
mode
ord
nav
mtid
}
}
}
}
Variables
{"lid": 123}
Response
{
"data": {
"league": {
"lid": 123,
"nam": "abc123",
"rid": 987,
"spid": 123,
"did": 987,
"sn": "xyz789",
"lurl": "abc123",
"marketType": MarketTypeWithSettings,
"region": Region,
"settings": LeagueSetting,
"sport": Sport
}
}
}
leagueHierarchy
Response
Returns [LeagueHierarchy]
Example
Query
query leagueHierarchy(
$conferenceIds: [Int],
$divisionIds: [Int],
$leagueIds: [Int],
$eventDate: Float
) {
leagueHierarchy(
conferenceIds: $conferenceIds,
divisionIds: $divisionIds,
leagueIds: $leagueIds,
eventDate: $eventDate
) {
teamId
seasonId
leagueId
conference {
id
name
shortname
favoriteshortname
favoritename
imageurl
}
division {
id
name
shortname
favoriteshortname
imageurl
}
}
}
Variables
{
"conferenceIds": [987],
"divisionIds": [123],
"leagueIds": [987],
"eventDate": 987.65
}
Response
{
"data": {
"leagueHierarchy": [
{
"teamId": 987,
"seasonId": 123,
"leagueId": 123,
"conference": Conference,
"division": Division
}
]
}
}
leagueMarkets
Response
Returns [LeagueMarket]
Example
Query
query leagueMarkets(
$lid: [Int],
$mtid: [Int],
$limit: Int,
$skip: Int,
$sort: SortInput
) {
leagueMarkets(
lid: $lid,
mtid: $mtid,
limit: $limit,
skip: $skip,
sort: $sort
) {
lid
mtid
}
}
Variables
{
"lid": [987],
"mtid": [987],
"limit": 987,
"skip": 123,
"sort": SortInput
}
Response
{"data": {"leagueMarkets": [{"lid": 123, "mtid": 123}]}}
leagueSetting
Response
Returns a LeagueSetting
Arguments
Name | Description |
---|---|
lid - Int!
|
League Id |
Example
Query
query leagueSetting($lid: Int!) {
leagueSetting(lid: $lid) {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
}
Variables
{"lid": 987}
Response
{
"data": {
"leagueSetting": {
"lid": 987,
"sitid": 987,
"did": 987,
"enabled": false,
"alias": "xyz789",
"rotation": true,
"ord": 987,
"shortnamealias": "abc123",
"shortnamebreakpoint": "xyz789",
"matchupline": false,
"_isCustom": false,
"_isFavorite": false,
"_isDefaultFavorite": false
}
}
}
leagueSettingsV2
Response
Returns [LeagueV2]
Example
Query
query leagueSettingsV2(
$spid: Int,
$rid: Int,
$sitid: Int,
$did: Int,
$merge: Boolean,
$lid: [Int]
) {
leagueSettingsV2(
spid: $spid,
rid: $rid,
sitid: $sitid,
did: $did,
merge: $merge,
lid: $lid
) {
lid
nam
rid
spid
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
sport {
spid
nam
settings {
spid
sitid
did
enabled
alias
mode
ord
nav
mtid
}
}
sn
enabled
alias
rotation
sitid
did
region {
rid
nam
sn
}
lurl
settings {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
}
}
Variables
{"spid": 987, "rid": 123, "sitid": 123, "did": 123, "merge": true, "lid": [987]}
Response
{
"data": {
"leagueSettingsV2": [
{
"lid": 123,
"nam": "xyz789",
"rid": 987,
"spid": 987,
"marketType": MarketTypeWithSettings,
"sport": Sport,
"sn": "abc123",
"enabled": true,
"alias": "abc123",
"rotation": true,
"sitid": 987,
"did": 123,
"region": Region,
"lurl": "xyz789",
"settings": LeagueSetting
}
]
}
}
leagues
Response
Returns [LeagueWithSettings]
Example
Query
query leagues(
$lid: [Int],
$spid: Int,
$rid: Int,
$enabled: Boolean,
$alias: String,
$rotation: Boolean,
$limit: Int,
$skip: Int,
$sort: SortInput,
$distinct: [String]
) {
leagues(
lid: $lid,
spid: $spid,
rid: $rid,
enabled: $enabled,
alias: $alias,
rotation: $rotation,
limit: $limit,
skip: $skip,
sort: $sort,
distinct: $distinct
) {
lid
nam
rid
spid
did
sn
lurl
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
region {
rid
nam
sn
}
settings {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
sport {
spid
nam
settings {
spid
sitid
did
enabled
alias
mode
ord
nav
mtid
}
}
}
}
Variables
{
"lid": [123],
"spid": 123,
"rid": 987,
"enabled": false,
"alias": "xyz789",
"rotation": false,
"limit": 987,
"skip": 123,
"sort": SortInput,
"distinct": ["xyz789"]
}
Response
{
"data": {
"leagues": [
{
"lid": 123,
"nam": "abc123",
"rid": 987,
"spid": 987,
"did": 987,
"sn": "xyz789",
"lurl": "xyz789",
"marketType": MarketTypeWithSettings,
"region": Region,
"settings": LeagueSetting,
"sport": Sport
}
]
}
}
leaguesById
Example
Query
query leaguesById(
$lid: [Int],
$spid: [Int],
$rid: [Int]
) {
leaguesById(
lid: $lid,
spid: $spid,
rid: $rid
) {
lid
nam
rid
spid
sn
lurl
}
}
Variables
{"lid": [123], "spid": [123], "rid": [123]}
Response
{
"data": {
"leaguesById": [
{
"lid": 987,
"nam": "xyz789",
"rid": 123,
"spid": 123,
"sn": "xyz789",
"lurl": "xyz789"
}
]
}
}
leaguesByTeam
Description
Get the leagues to which a team belongs
Response
Returns [TeamLeague]
Example
Query
query leaguesByTeam(
$tmid: Int!,
$startYear: Int
) {
leaguesByTeam(
tmid: $tmid,
startYear: $startYear
) {
lid
lnam
seid
senam
}
}
Variables
{"tmid": 123, "startYear": 123}
Response
{
"data": {
"leaguesByTeam": [
{
"lid": 123,
"lnam": "xyz789",
"seid": 987,
"senam": "xyz789"
}
]
}
}
leaguesSetting
Response
Returns [LeagueSetting]
Example
Query
query leaguesSetting(
$lid: Int,
$enabled: Boolean,
$alias: String,
$rotation: Boolean,
$limit: Int,
$skip: Int,
$orderBy: String
) {
leaguesSetting(
lid: $lid,
enabled: $enabled,
alias: $alias,
rotation: $rotation,
limit: $limit,
skip: $skip,
orderBy: $orderBy
) {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
}
Variables
{
"lid": 987,
"enabled": false,
"alias": "xyz789",
"rotation": true,
"limit": 123,
"skip": 123,
"orderBy": "abc123"
}
Response
{
"data": {
"leaguesSetting": [
{
"lid": 987,
"sitid": 987,
"did": 987,
"enabled": false,
"alias": "xyz789",
"rotation": false,
"ord": 987,
"shortnamealias": "xyz789",
"shortnamebreakpoint": "xyz789",
"matchupline": false,
"_isCustom": true,
"_isFavorite": true,
"_isDefaultFavorite": false
}
]
}
}
leaguesWithEvents
Response
Returns [LeagueWithSettings]
Arguments
Name | Description |
---|---|
spid - [Int]
|
Sport ID |
rid - [Int]
|
Region Id |
mtid - [Int]
|
Market Type ID |
hl - Boolean
|
Has Lines? |
ic - Boolean
|
Is Competition? |
dt - RangeInput
|
Start Date |
timezoneOffset - Float
|
Client's timezone offset |
leagueFilter - LeagueFilter!
|
Use leagueFilter to filter the leagues by enabled in an specific sitid-did |
Example
Query
query leaguesWithEvents(
$spid: [Int],
$rid: [Int],
$mtid: [Int],
$hl: Boolean,
$ic: Boolean,
$dt: RangeInput,
$timezoneOffset: Float,
$leagueFilter: LeagueFilter!
) {
leaguesWithEvents(
spid: $spid,
rid: $rid,
mtid: $mtid,
hl: $hl,
ic: $ic,
dt: $dt,
timezoneOffset: $timezoneOffset,
leagueFilter: $leagueFilter
) {
lid
nam
rid
spid
did
sn
lurl
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
region {
rid
nam
sn
}
settings {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
sport {
spid
nam
settings {
spid
sitid
did
enabled
alias
mode
ord
nav
mtid
}
}
}
}
Variables
{
"spid": [123],
"rid": [987],
"mtid": [987],
"hl": true,
"ic": true,
"dt": RangeInput,
"timezoneOffset": 123.45,
"leagueFilter": LeagueFilter
}
Response
{
"data": {
"leaguesWithEvents": [
{
"lid": 987,
"nam": "xyz789",
"rid": 987,
"spid": 123,
"did": 987,
"sn": "abc123",
"lurl": "abc123",
"marketType": MarketTypeWithSettings,
"region": Region,
"settings": LeagueSetting,
"sport": Sport
}
]
}
}
leaguesWithSettings
Response
Returns [LeagueWithSettings]
Example
Query
query leaguesWithSettings(
$sitid: Int!,
$did: Int!,
$enabled: Boolean,
$spid: [Int],
$rid: [Int],
$lid: [Int]
) {
leaguesWithSettings(
sitid: $sitid,
did: $did,
enabled: $enabled,
spid: $spid,
rid: $rid,
lid: $lid
) {
lid
nam
rid
spid
did
sn
lurl
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
region {
rid
nam
sn
}
settings {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
sport {
spid
nam
settings {
spid
sitid
did
enabled
alias
mode
ord
nav
mtid
}
}
}
}
Variables
{
"sitid": 123,
"did": 987,
"enabled": true,
"spid": [123],
"rid": [987],
"lid": [987]
}
Response
{
"data": {
"leaguesWithSettings": [
{
"lid": 123,
"nam": "abc123",
"rid": 123,
"spid": 987,
"did": 123,
"sn": "abc123",
"lurl": "xyz789",
"marketType": MarketTypeWithSettings,
"region": Region,
"settings": LeagueSetting,
"sport": Sport
}
]
}
}
lineHistory
Description
Query multiple Lines
Response
Returns [HistoryLine]
Example
Query
query lineHistory(
$eid: Int!,
$mtid: Int!,
$paid: Int!,
$partid: [Int],
$boid: [Int],
$entrids: [Int]
) {
lineHistory(
eid: $eid,
mtid: $mtid,
paid: $paid,
partid: $partid,
boid: $boid,
entrids: $entrids
) {
tim
lines
}
}
Variables
{
"eid": 987,
"mtid": 123,
"paid": 987,
"partid": [123],
"boid": [123],
"entrids": [123]
}
Response
{"data": {"lineHistory": [{"tim": 987.65, "lines": [{}]}]}}
lineups
Example
Query
query lineups($eid: Int!) {
lineups(eid: $eid) {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
id
seid
tmid
pid
pposid
week
val
position {
id
spid
nam
sn
}
eid
cfrd
strtr
}
startingGolie {
id
seid
tmid
pid
pposid
week
val
position {
id
spid
nam
sn
}
eid
cfrd
strtr
}
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
...DepthChartFragment
}
startingGolie {
...DepthChartFragment
}
player {
...PlayerFragment
}
marketCounter
injuries {
...InjuryResponseFragment
}
}
}
position {
id
spid
nam
sn
}
confirmed
starter
}
}
Variables
{"eid": 123}
Response
{
"data": {
"lineups": [
{
"tmrid": 987,
"tmid": 987,
"pid": 987,
"seid": 987,
"act": false,
"pnum": 987,
"ppid": 123,
"ppnam": "abc123",
"ppsn": "abc123",
"ppprio": 123,
"depthChart": [DepthChart],
"startingGolie": DepthChart,
"player": Player,
"position": Position,
"confirmed": false,
"starter": true
}
]
}
}
liveLines
Response
Returns [JSON]
Arguments
Name | Description |
---|---|
catid - Int
|
Category Id |
eid - [Int]!
|
Event Id |
mtid - [Int]
|
Market Type Id |
sbid - [Int]
|
Sportsbook Id |
partid - [Int]
|
participant Id |
paid - [Int]
|
provider Acount Id |
boid - [Int]
|
Betting Option Id |
marketTypeLayout - String
|
Market Type Layout |
sort - SortInput
|
|
limit - Int
|
|
skip - Int
|
|
distinct - [String]
|
|
needSbid - Boolean
|
|
groupByEntity - Boolean
|
Example
Query
query liveLines(
$catid: Int,
$eid: [Int]!,
$mtid: [Int],
$sbid: [Int],
$partid: [Int],
$paid: [Int],
$boid: [Int],
$marketTypeLayout: String,
$sort: SortInput,
$limit: Int,
$skip: Int,
$distinct: [String],
$needSbid: Boolean,
$groupByEntity: Boolean
) {
liveLines(
catid: $catid,
eid: $eid,
mtid: $mtid,
sbid: $sbid,
partid: $partid,
paid: $paid,
boid: $boid,
marketTypeLayout: $marketTypeLayout,
sort: $sort,
limit: $limit,
skip: $skip,
distinct: $distinct,
needSbid: $needSbid,
groupByEntity: $groupByEntity
)
}
Variables
{
"catid": 123,
"eid": [123],
"mtid": [123],
"sbid": [987],
"partid": [123],
"paid": [123],
"boid": [987],
"marketTypeLayout": "abc123",
"sort": SortInput,
"limit": 987,
"skip": 123,
"distinct": ["xyz789"],
"needSbid": false,
"groupByEntity": true
}
Response
{"data": {"liveLines": [{}]}}
marketResultsByEvent
Response
Returns [Event]
Example
Query
query marketResultsByEvent(
$pid: Int!,
$eid: Int,
$tmid: Int,
$seid: Int,
$mtids: [Int],
$limit: Int,
$sort: SortInput,
$catid: Int,
$paid: [Int]
) {
marketResultsByEvent(
pid: $pid,
eid: $eid,
tmid: $tmid,
seid: $seid,
mtids: $mtids,
limit: $limit,
sort: $sort,
catid: $catid,
paid: $paid
) {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
region {
rid
nam
sn
}
settings {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
sport {
spid
nam
settings {
...SportSettingFragment
}
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
name
backgroundColor
textColor
dotColor
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
type
query
}
current_condition {
observation_time
temp_C
temp_F
weatherCode
weatherIconUrl {
...ValueFragment
}
weatherDesc {
...ValueFragment
}
windspeedMiles
windspeedKmph
winddirDegree
winddir16Point
precipMM
humidity
visibility
pressure
cloudcover
FeelsLikeC
FeelsLikeF
}
weather {
date
astronomy {
...AstronomyFragment
}
maxtempC
maxtempF
mintempC
mintempF
totalSnow_cm
sunHour
uvIndex
hourly {
...HourlyFragment
}
}
ClimateAverages {
month {
...MonthFragment
}
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
}
}
Variables
{
"pid": 987,
"eid": 987,
"tmid": 987,
"seid": 123,
"mtids": [123],
"limit": 123,
"sort": SortInput,
"catid": 987,
"paid": [123]
}
Response
{
"data": {
"marketResultsByEvent": [
{
"eid": 987,
"srid": "abc123",
"cit": "xyz789",
"dt": 987.65,
"des": "xyz789",
"es": "xyz789",
"ic": false,
"hl": true,
"lu": "abc123",
"lid": 987,
"rid": 987,
"spid": 987,
"sta": "abc123",
"st": "abc123",
"cou": "abc123",
"zcode": "xyz789",
"ven": "xyz789",
"tvs": "abc123",
"sequence": 123,
"seid": 987,
"writeingame": false,
"scores": [Score],
"league": LeagueWithSettings,
"participants": [Participant],
"statistics": [Statistic],
"statisticsByGroups": [StatisticByGroup],
"eventStatisticsByGroup": [StatisticByGroup],
"marketType": MarketTypeWithSettings,
"marketTypes": [MarketTypeWithSettings],
"currentLines": [{}],
"openingLines": [{}],
"bestLines": [{}],
"bettingOptions": [EventBettingOption],
"plays": [Play],
"eventGroup": EventGroup,
"eventTags": [EventTag],
"captions": [Caption],
"consensus": [Consensus],
"consensusV2": [ConsensusV2],
"weather": [WeatherOutput],
"eventMarketsCount": 123,
"tl": "abc123",
"att": 987,
"fo": "abc123",
"tr": 987,
"lat": 987.65,
"lon": 123.45,
"seg": "xyz789",
"slg": "abc123",
"cov": "xyz789",
"rft": "xyz789",
"ipc": true,
"marketCounter": 987,
"marketResults": [MarketResult],
"lastRoster": Participant
}
]
}
}
marketResultsByEvent__NEW
Response
Returns [Event]
Example
Query
query marketResultsByEvent__NEW(
$pid: Int!,
$eid: Int,
$tmid: Int,
$seid: Int,
$mtids: [Int],
$limit: Int,
$sort: SortInput,
$catid: Int,
$paid: [Int]
) {
marketResultsByEvent__NEW(
pid: $pid,
eid: $eid,
tmid: $tmid,
seid: $seid,
mtids: $mtids,
limit: $limit,
sort: $sort,
catid: $catid,
paid: $paid
) {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
region {
rid
nam
sn
}
settings {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
sport {
spid
nam
settings {
...SportSettingFragment
}
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
name
backgroundColor
textColor
dotColor
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
type
query
}
current_condition {
observation_time
temp_C
temp_F
weatherCode
weatherIconUrl {
...ValueFragment
}
weatherDesc {
...ValueFragment
}
windspeedMiles
windspeedKmph
winddirDegree
winddir16Point
precipMM
humidity
visibility
pressure
cloudcover
FeelsLikeC
FeelsLikeF
}
weather {
date
astronomy {
...AstronomyFragment
}
maxtempC
maxtempF
mintempC
mintempF
totalSnow_cm
sunHour
uvIndex
hourly {
...HourlyFragment
}
}
ClimateAverages {
month {
...MonthFragment
}
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
}
}
Variables
{
"pid": 123,
"eid": 987,
"tmid": 987,
"seid": 987,
"mtids": [987],
"limit": 123,
"sort": SortInput,
"catid": 123,
"paid": [987]
}
Response
{
"data": {
"marketResultsByEvent__NEW": [
{
"eid": 123,
"srid": "abc123",
"cit": "abc123",
"dt": 987.65,
"des": "abc123",
"es": "xyz789",
"ic": true,
"hl": true,
"lu": "abc123",
"lid": 987,
"rid": 987,
"spid": 123,
"sta": "xyz789",
"st": "xyz789",
"cou": "xyz789",
"zcode": "xyz789",
"ven": "xyz789",
"tvs": "abc123",
"sequence": 987,
"seid": 123,
"writeingame": true,
"scores": [Score],
"league": LeagueWithSettings,
"participants": [Participant],
"statistics": [Statistic],
"statisticsByGroups": [StatisticByGroup],
"eventStatisticsByGroup": [StatisticByGroup],
"marketType": MarketTypeWithSettings,
"marketTypes": [MarketTypeWithSettings],
"currentLines": [{}],
"openingLines": [{}],
"bestLines": [{}],
"bettingOptions": [EventBettingOption],
"plays": [Play],
"eventGroup": EventGroup,
"eventTags": [EventTag],
"captions": [Caption],
"consensus": [Consensus],
"consensusV2": [ConsensusV2],
"weather": [WeatherOutput],
"eventMarketsCount": 987,
"tl": "abc123",
"att": 987,
"fo": "abc123",
"tr": 987,
"lat": 987.65,
"lon": 987.65,
"seg": "abc123",
"slg": "xyz789",
"cov": "xyz789",
"rft": "xyz789",
"ipc": true,
"marketCounter": 987,
"marketResults": [MarketResult],
"lastRoster": Participant
}
]
}
}
marketType
Description
Query a single MarketType
Response
Returns a MarketTypeWithSettings
Example
Query
query marketType(
$mtid: Int!,
$spid: Int
) {
marketType(
mtid: $mtid,
spid: $spid
) {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
}
Variables
{"mtid": 987, "spid": 987}
Response
{
"data": {
"marketType": {
"mtid": 123,
"ord": 123,
"spid": 987,
"mtgid": 123,
"nam": "xyz789",
"des": "abc123",
"format": "abc123",
"layout": "xyz789",
"settings": MarketTypeSetting
}
}
}
marketTypeGroup
Description
Query a single Group
Response
Returns a MarketTypeGroupWithSettings
Example
Query
query marketTypeGroup(
$mtgid: Int!,
$spid: Int
) {
marketTypeGroup(
mtgid: $mtgid,
spid: $spid
) {
mtgid
spid
nam
sitid
did
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
settings {
sitid
mtgid
did
enabled
ord
alias
url
active
_isCustom
_isFavorite
_isDefaultFavorite
}
}
}
Variables
{"mtgid": 987, "spid": 987}
Response
{
"data": {
"marketTypeGroup": {
"mtgid": 987,
"spid": 987,
"nam": "xyz789",
"sitid": 987,
"did": 123,
"marketTypes": [MarketTypeWithSettings],
"settings": MarketTypeGroupSetting
}
}
}
marketTypeGroups
Description
Query multiple Groups
Response
Returns [MarketTypeGroupWithSettings]
Example
Query
query marketTypeGroups(
$mtgid: [Int],
$spid: [Int],
$sitid: Int!,
$did: Int,
$enabled: Boolean,
$mtid: [Int],
$merge: Boolean
) {
marketTypeGroups(
mtgid: $mtgid,
spid: $spid,
sitid: $sitid,
did: $did,
enabled: $enabled,
mtid: $mtid,
merge: $merge
) {
mtgid
spid
nam
sitid
did
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
settings {
sitid
mtgid
did
enabled
ord
alias
url
active
_isCustom
_isFavorite
_isDefaultFavorite
}
}
}
Variables
{
"mtgid": [123],
"spid": [123],
"sitid": 987,
"did": 123,
"enabled": false,
"mtid": [123],
"merge": true
}
Response
{
"data": {
"marketTypeGroups": [
{
"mtgid": 123,
"spid": 987,
"nam": "xyz789",
"sitid": 123,
"did": 123,
"marketTypes": [MarketTypeWithSettings],
"settings": MarketTypeGroupSetting
}
]
}
}
marketTypeGroupsById
Response
Returns [MarketTypeGroup]
Example
Query
query marketTypeGroupsById(
$mtgid: [Int],
$spid: [Int]
) {
marketTypeGroupsById(
mtgid: $mtgid,
spid: $spid
) {
mtgid
spid
nam
}
}
Variables
{"mtgid": [987], "spid": [123]}
Response
{
"data": {
"marketTypeGroupsById": [
{
"mtgid": 987,
"spid": 123,
"nam": "abc123"
}
]
}
}
marketTypeGroupsFiltered
Description
Queries Market Type Groups with a sport ID and mtgid Id
Response
Returns [MarketTypeGroupFiltered]
Example
Query
query marketTypeGroupsFiltered(
$eid: Int,
$spid: Int!,
$nam: String,
$sitid: Int!,
$did: Int!,
$sam: Boolean,
$mtgid: [Int]
) {
marketTypeGroupsFiltered(
eid: $eid,
spid: $spid,
nam: $nam,
sitid: $sitid,
did: $did,
sam: $sam,
mtgid: $mtgid
) {
mtgid
ord
spid
nam
alias
mtids {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
}
}
Variables
{
"eid": 123,
"spid": 123,
"nam": "xyz789",
"sitid": 987,
"did": 123,
"sam": false,
"mtgid": [987]
}
Response
{
"data": {
"marketTypeGroupsFiltered": [
{
"mtgid": 987,
"ord": 987,
"spid": 987,
"nam": "xyz789",
"alias": "xyz789",
"mtids": [MarketTypeWithSettings]
}
]
}
}
marketTypeGroupsWithMarketTypes
Description
Queries Market Type Groups with array of Market Types and their order in the Market Type Group
Response
Returns [MarketTypeGroupWithMarketTypes]
Arguments
Name | Description |
---|---|
mtgid - [Int]
|
MarketType Group Id |
Example
Query
query marketTypeGroupsWithMarketTypes($mtgid: [Int]) {
marketTypeGroupsWithMarketTypes(mtgid: $mtgid) {
mtgid
mtids {
mtid
ord
}
}
}
Variables
{"mtgid": [123]}
Response
{
"data": {
"marketTypeGroupsWithMarketTypes": [
{
"mtgid": 123,
"mtids": [MarketTypesByMarketTypeGroup]
}
]
}
}
marketTypes
Description
Query multiple MarketTypes
Response
Returns [MarketTypeWithSettings]
Example
Query
query marketTypes(
$mtid: [Int],
$spid: [Int],
$sitid: String,
$did: String,
$merge: Boolean,
$enabled: Boolean,
$onlyProps: Boolean
) {
marketTypes(
mtid: $mtid,
spid: $spid,
sitid: $sitid,
did: $did,
merge: $merge,
enabled: $enabled,
onlyProps: $onlyProps
) {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
}
Variables
{
"mtid": [987],
"spid": [123],
"sitid": "abc123",
"did": "xyz789",
"merge": false,
"enabled": true,
"onlyProps": false
}
Response
{
"data": {
"marketTypes": [
{
"mtid": 123,
"ord": 987,
"spid": 123,
"mtgid": 123,
"nam": "abc123",
"des": "abc123",
"format": "xyz789",
"layout": "abc123",
"settings": MarketTypeSetting
}
]
}
}
marketTypesById
Response
Returns [MarketType]
Example
Query
query marketTypesById(
$mtid: [Int],
$spid: [Int]
) {
marketTypesById(
mtid: $mtid,
spid: $spid
) {
mtid
spid
nam
des
}
}
Variables
{"mtid": [987], "spid": [123]}
Response
{
"data": {
"marketTypesById": [
{
"mtid": 987,
"spid": 123,
"nam": "abc123",
"des": "abc123"
}
]
}
}
marketsByPlayer
Response
Returns [MarketsByPlayer]
Example
Query
query marketsByPlayer(
$pid: Int,
$lid: Int,
$paid: [Int]!,
$mtids: [Int]!,
$seids: [Int]!
) {
marketsByPlayer(
pid: $pid,
lid: $lid,
paid: $paid,
mtids: $mtids,
seids: $seids
) {
seid
mtids
}
}
Variables
{"pid": 123, "lid": 987, "paid": [123], "mtids": [123], "seids": [123]}
Response
{"data": {"marketsByPlayer": [{"seid": 987, "mtids": [987]}]}}
matchups
Description
Query events with two participants
Response
Returns [MatchupId]
Example
Query
query matchups(
$participantId1: Int!,
$participantId2: Int!,
$homeParticipantId: Int
) {
matchups(
participantId1: $participantId1,
participantId2: $participantId2,
homeParticipantId: $homeParticipantId
) {
eid
}
}
Variables
{"participantId1": 987, "participantId2": 987, "homeParticipantId": 987}
Response
{"data": {"matchups": [{"eid": 987}]}}
maxSequences
Response
Returns a MaxSequences
Example
Query
query maxSequences {
maxSequences {
eventsMaxSequence
scoresMaxSequence
linesMaxSequence
liveLinesMaxSequence
statisticsMaxSequence
statisticsByGroupsMaxSequence
consensusMaxSequence
consensusV2MaxSequence
playsMaxSequence
}
}
Response
{
"data": {
"maxSequences": {
"eventsMaxSequence": 987.65,
"scoresMaxSequence": 123.45,
"linesMaxSequence": 123.45,
"liveLinesMaxSequence": 987.65,
"statisticsMaxSequence": 123.45,
"statisticsByGroupsMaxSequence": 123.45,
"consensusMaxSequence": 987.65,
"consensusV2MaxSequence": 987.65,
"playsMaxSequence": 987.65
}
}
}
multipleSearch
Response
Returns a MultipleResult
Example
Query
query multipleSearch(
$query: [String]!,
$did: Int!
) {
multipleSearch(
query: $query,
did: $did
) {
searchEvent {
des
date
league
sport
spid
region
eid
searchParticipants {
nam
lnam
fn
nn
sn
abbr
}
eventParticipants
lid
path
}
searchSport {
did
spid
nam
settings {
enabled
alias
ord
}
path
}
searchLeague {
did
lid
nam
rid
spid
sn
region {
nam
sn
}
settings {
enabled
alias
ord
shortnamealias
}
path
}
}
}
Variables
{"query": ["abc123"], "did": 987}
Response
{
"data": {
"multipleSearch": {
"searchEvent": [EventCatalog],
"searchSport": [SportCatalog],
"searchLeague": [LeagueCatalog]
}
}
}
myHash
Response
Returns a Boolean
Example
Query
query myHash {
myHash
}
Response
{"data": {"myHash": true}}
nearestSeasonEvents
Response
Returns an EventsWithMaxSequences
Example
Query
query nearestSeasonEvents(
$lid: Int,
$mtid: Int,
$seid: Int,
$timezoneOffset: Float,
$providerAcountOpener: Int,
$es: [String]
) {
nearestSeasonEvents(
lid: $lid,
mtid: $mtid,
seid: $seid,
timezoneOffset: $timezoneOffset,
providerAcountOpener: $providerAcountOpener,
es: $es
) {
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
maxSequences {
eventsMaxSequence
scoresMaxSequence
linesMaxSequence
liveLinesMaxSequence
statisticsMaxSequence
statisticsByGroupsMaxSequence
consensusMaxSequence
consensusV2MaxSequence
playsMaxSequence
}
}
}
Variables
{
"lid": 123,
"mtid": 123,
"seid": 123,
"timezoneOffset": 123.45,
"providerAcountOpener": 123,
"es": ["abc123"]
}
Response
{
"data": {
"nearestSeasonEvents": {
"events": [Event],
"maxSequences": MaxSequences
}
}
}
news
Example
Query
query news(
$pids: [Float]!,
$seid: Int!,
$sort: SortInput
) {
news(
pids: $pids,
seid: $seid,
sort: $sort
) {
hl
not
anly
prio
inid
pid
seid
act
tim
date
}
}
Variables
{"pids": [123.45], "seid": 987, "sort": SortInput}
Response
{
"data": {
"news": [
{
"hl": "xyz789",
"not": "abc123",
"anly": "xyz789",
"prio": 123,
"inid": 123,
"pid": 123,
"seid": 987,
"act": "abc123",
"tim": 123.45,
"date": 123.45
}
]
}
}
nextEventsByParticipant
Response
Returns [Event]
Arguments
Name | Description |
---|---|
startDate - Float
|
Start date epoch |
partid - [Int]!
|
Participant Ids |
seid - Int!
|
Season Id |
es - [String]
|
Event Status (Default: scheduled) |
hl - Boolean
|
The events have lines |
timeLimit - Int
|
Limit Event Dates From Current Date |
noTimeLimit - Boolean
|
Do not impose a time limit (ignore timeLimit parameter if set) |
limit - Int
|
Limit of events per participant |
skip - Int
|
Pagination: return limit rows, possibly advancing by skip rows first |
Example
Query
query nextEventsByParticipant(
$startDate: Float,
$partid: [Int]!,
$seid: Int!,
$es: [String],
$hl: Boolean,
$timeLimit: Int,
$noTimeLimit: Boolean,
$limit: Int,
$skip: Int
) {
nextEventsByParticipant(
startDate: $startDate,
partid: $partid,
seid: $seid,
es: $es,
hl: $hl,
timeLimit: $timeLimit,
noTimeLimit: $noTimeLimit,
limit: $limit,
skip: $skip
) {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
region {
rid
nam
sn
}
settings {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
sport {
spid
nam
settings {
...SportSettingFragment
}
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
name
backgroundColor
textColor
dotColor
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
type
query
}
current_condition {
observation_time
temp_C
temp_F
weatherCode
weatherIconUrl {
...ValueFragment
}
weatherDesc {
...ValueFragment
}
windspeedMiles
windspeedKmph
winddirDegree
winddir16Point
precipMM
humidity
visibility
pressure
cloudcover
FeelsLikeC
FeelsLikeF
}
weather {
date
astronomy {
...AstronomyFragment
}
maxtempC
maxtempF
mintempC
mintempF
totalSnow_cm
sunHour
uvIndex
hourly {
...HourlyFragment
}
}
ClimateAverages {
month {
...MonthFragment
}
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
}
}
Variables
{
"startDate": 123.45,
"partid": [123],
"seid": 123,
"es": ["xyz789"],
"hl": true,
"timeLimit": 123,
"noTimeLimit": false,
"limit": 987,
"skip": 987
}
Response
{
"data": {
"nextEventsByParticipant": [
{
"eid": 123,
"srid": "abc123",
"cit": "abc123",
"dt": 123.45,
"des": "xyz789",
"es": "xyz789",
"ic": false,
"hl": true,
"lu": "abc123",
"lid": 123,
"rid": 123,
"spid": 987,
"sta": "xyz789",
"st": "xyz789",
"cou": "xyz789",
"zcode": "abc123",
"ven": "abc123",
"tvs": "abc123",
"sequence": 123,
"seid": 123,
"writeingame": true,
"scores": [Score],
"league": LeagueWithSettings,
"participants": [Participant],
"statistics": [Statistic],
"statisticsByGroups": [StatisticByGroup],
"eventStatisticsByGroup": [StatisticByGroup],
"marketType": MarketTypeWithSettings,
"marketTypes": [MarketTypeWithSettings],
"currentLines": [{}],
"openingLines": [{}],
"bestLines": [{}],
"bettingOptions": [EventBettingOption],
"plays": [Play],
"eventGroup": EventGroup,
"eventTags": [EventTag],
"captions": [Caption],
"consensus": [Consensus],
"consensusV2": [ConsensusV2],
"weather": [WeatherOutput],
"eventMarketsCount": 987,
"tl": "abc123",
"att": 987,
"fo": "abc123",
"tr": 987,
"lat": 123.45,
"lon": 123.45,
"seg": "abc123",
"slg": "xyz789",
"cov": "abc123",
"rft": "abc123",
"ipc": false,
"marketCounter": 123,
"marketResults": [MarketResult],
"lastRoster": Participant
}
]
}
}
openingLines
Description
Query multiple Lines
Response
Returns [JSON]
Arguments
Name | Description |
---|---|
catid - Int
|
Category Id |
eid - [Int]!
|
Event Id |
mtid - [Int]!
|
Market Type Id |
marketTypeFormat - String
|
Market Type Format |
marketTypeLayout - String
|
Market Type Layout |
paid - [Int]
|
Provider account id |
groupByEntity - Boolean
|
|
entrids - [Int]
|
Entity Reference ids |
tmid - Int
|
Team Id |
Example
Query
query openingLines(
$catid: Int,
$eid: [Int]!,
$mtid: [Int]!,
$marketTypeFormat: String,
$marketTypeLayout: String,
$paid: [Int],
$groupByEntity: Boolean,
$entrids: [Int],
$tmid: Int
) {
openingLines(
catid: $catid,
eid: $eid,
mtid: $mtid,
marketTypeFormat: $marketTypeFormat,
marketTypeLayout: $marketTypeLayout,
paid: $paid,
groupByEntity: $groupByEntity,
entrids: $entrids,
tmid: $tmid
)
}
Variables
{
"catid": 987,
"eid": [987],
"mtid": [123],
"marketTypeFormat": "xyz789",
"marketTypeLayout": "xyz789",
"paid": [987],
"groupByEntity": true,
"entrids": [123],
"tmid": 987
}
Response
{"data": {"openingLines": [{}]}}
openingLinesByPlayer
Response
Returns a LinesByPlayer
Example
Query
query openingLinesByPlayer(
$mtid: [Int]!,
$paid: [Int]!,
$pid: Int!,
$lid: Int!,
$seid: Int!,
$eid: Int
) {
openingLinesByPlayer(
mtid: $mtid,
paid: $paid,
pid: $pid,
lid: $lid,
seid: $seid,
eid: $eid
)
}
Variables
{"mtid": [987], "paid": [987], "pid": 123, "lid": 123, "seid": 987, "eid": 987}
Response
{"data": {"openingLinesByPlayer": LinesByPlayer}}
outrightMarketTypes
Description
Query to get the Market outrights
Response
Returns [MarketTypeWithSettings]
Example
Query
query outrightMarketTypes(
$lid: [Int]!,
$spid: Int!,
$dt: String!,
$hl: Boolean!,
$mtid: [Int]
) {
outrightMarketTypes(
lid: $lid,
spid: $spid,
dt: $dt,
hl: $hl,
mtid: $mtid
) {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
}
Variables
{
"lid": [123],
"spid": 987,
"dt": "xyz789",
"hl": false,
"mtid": [987]
}
Response
{
"data": {
"outrightMarketTypes": [
{
"mtid": 123,
"ord": 123,
"spid": 987,
"mtgid": 987,
"nam": "abc123",
"des": "abc123",
"format": "xyz789",
"layout": "abc123",
"settings": MarketTypeSetting
}
]
}
}
participant
Description
Query a single Participant
Response
Returns a Participant
Example
Query
query participant(
$partid: Int,
$eid: Int,
$ptid: Int
) {
participant(
partid: $partid,
eid: $eid,
ptid: $ptid
) {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
...DepthChartFragment
}
startingGolie {
...DepthChartFragment
}
player {
...PlayerFragment
}
marketCounter
injuries {
...InjuryResponseFragment
}
}
}
source {
... on Team {
tmid
srid
lid
nam
tmblid
nn
sn
abbr
cit
sta
cou
act
stt
ven
seid
senam
conid
roster {
...TeamRosterFragment
}
statistics {
...StatisticByGroupFragment
}
divid
divname
hasteamstats
conname
consn
imageurl
statisticsByGroups {
...StatisticByGroupFragment
}
statisticsBySeason {
...StatisticByGroupFragment
}
socialNetworks {
...TeamSocialNetworkFragment
}
leagueHierarchy {
...LeagueHierarchyFragment
}
partid
iv
slg
tr
}
... on Player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
... on Division {
id
name
shortname
favoriteshortname
imageurl
}
... on Conference {
id
name
shortname
favoriteshortname
favoritename
imageurl
}
... on ParticipantGroup {
partgid
nam
lid
act
stt
participants {
...ParticipantFragment
}
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
}
}
}
Variables
{"partid": 987, "eid": 123, "ptid": 123}
Response
{
"data": {
"participant": {
"partid": 123,
"eid": 123,
"ptid": 123,
"psid": 987,
"partbeid": 123,
"act": true,
"stt": "xyz789",
"rot": 987,
"ih": false,
"sbrid": 123,
"sppil": "abc123",
"sppic": true,
"tr": 123,
"startingPitcher": Player,
"source": Team,
"statsIdentity": [StatisticByGroup],
"pbsid": 123,
"statisticsByGroups": [StatisticByGroup],
"participantSeasonStatistics": [StatisticByGroup],
"isFavorite": false,
"eventrosters": [EventRoster]
}
}
}
participantByEvent
Response
Returns [ParticipantByEvent]
Example
Query
query participantByEvent(
$eid: [Int]!,
$ptid: Int,
$seid: Int
) {
participantByEvent(
eid: $eid,
ptid: $ptid,
seid: $seid
) {
partid
eid
ptid
act
psid
rot
ih
tr
sbrid
sppil
sppic
sppid
partbeid
seid
pbsid
}
}
Variables
{"eid": [987], "ptid": 123, "seid": 987}
Response
{
"data": {
"participantByEvent": [
{
"partid": 987,
"eid": 123,
"ptid": 123,
"act": false,
"psid": 987,
"rot": 987,
"ih": true,
"tr": 987,
"sbrid": 123,
"sppil": "abc123",
"sppic": false,
"sppid": 987,
"partbeid": 987,
"seid": 987,
"pbsid": 123
}
]
}
}
participants
Description
Query multiple Participants
Response
Returns [Participant]
Example
Query
query participants(
$partid: [Int],
$eid: [Int],
$ptid: Int
) {
participants(
partid: $partid,
eid: $eid,
ptid: $ptid
) {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
...DepthChartFragment
}
startingGolie {
...DepthChartFragment
}
player {
...PlayerFragment
}
marketCounter
injuries {
...InjuryResponseFragment
}
}
}
source {
... on Team {
tmid
srid
lid
nam
tmblid
nn
sn
abbr
cit
sta
cou
act
stt
ven
seid
senam
conid
roster {
...TeamRosterFragment
}
statistics {
...StatisticByGroupFragment
}
divid
divname
hasteamstats
conname
consn
imageurl
statisticsByGroups {
...StatisticByGroupFragment
}
statisticsBySeason {
...StatisticByGroupFragment
}
socialNetworks {
...TeamSocialNetworkFragment
}
leagueHierarchy {
...LeagueHierarchyFragment
}
partid
iv
slg
tr
}
... on Player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
... on Division {
id
name
shortname
favoriteshortname
imageurl
}
... on Conference {
id
name
shortname
favoriteshortname
favoritename
imageurl
}
... on ParticipantGroup {
partgid
nam
lid
act
stt
participants {
...ParticipantFragment
}
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
}
}
}
Variables
{"partid": [123], "eid": [123], "ptid": 987}
Response
{
"data": {
"participants": [
{
"partid": 123,
"eid": 123,
"ptid": 987,
"psid": 123,
"partbeid": 987,
"act": true,
"stt": "abc123",
"rot": 987,
"ih": false,
"sbrid": 123,
"sppil": "xyz789",
"sppic": false,
"tr": 123,
"startingPitcher": Player,
"source": Team,
"statsIdentity": [StatisticByGroup],
"pbsid": 123,
"statisticsByGroups": [StatisticByGroup],
"participantSeasonStatistics": [StatisticByGroup],
"isFavorite": true,
"eventrosters": [EventRoster]
}
]
}
}
picksPage
Response
Returns [PicksPageType]
Example
Query
query picksPage(
$events: [EventInput!]!,
$mtid: [Int]!,
$seid: Int!,
$rankIdty: String!,
$catid: Int,
$paid: [Int],
$randomizeProviders: Boolean
) {
picksPage(
events: $events,
mtid: $mtid,
seid: $seid,
rankIdty: $rankIdty,
catid: $catid,
paid: $paid,
randomizeProviders: $randomizeProviders
) {
eid
consensusV2 {
eid
mtid
partid
perc
sequence
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
stats {
stat
val
idty
eid
partid
paid
}
}
}
Variables
{
"events": [EventInput],
"mtid": [987],
"seid": 987,
"rankIdty": "abc123",
"catid": 987,
"paid": [123],
"randomizeProviders": false
}
Response
{
"data": {
"picksPage": [
{
"eid": "abc123",
"consensusV2": [ConsensusV2],
"consensus": [Consensus],
"stats": [pickStats]
}
]
}
}
playByPlayByEvent
Example
Query
query playByPlayByEvent(
$eid: [Int!]!,
$driveid: [String]
) {
playByPlayByEvent(
eid: $eid,
driveid: $driveid
) {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
}
Variables
{"eid": [123], "driveid": ["xyz789"]}
Response
{
"data": {
"playByPlayByEvent": [
{
"eid": 123,
"sqid": 123,
"siid": 123,
"gid": 123,
"nam": "xyz789",
"val": "xyz789",
"tim": 987.65,
"sequence": 987,
"driveid": "xyz789",
"playid": "xyz789",
"seq": 987.65,
"hPoints": 987,
"aPoints": 987,
"typ": "xyz789",
"sspt": "abc123",
"sslt": "abc123",
"sslyl": 123,
"ssc": "abc123",
"ssd": 123,
"espt": "abc123",
"eslt": "abc123",
"eslyl": 987,
"esc": "abc123",
"esd": 987,
"desc": "abc123",
"scoretype": "xyz789",
"scoreteam": "abc123",
"qt": 123
}
]
}
}
playByPlayGroupByEvent
Response
Returns [PlayGroup]
Arguments
Name | Description |
---|---|
eid - [Int!]!
|
Example
Query
query playByPlayGroupByEvent($eid: [Int!]!) {
playByPlayGroupByEvent(eid: $eid) {
eid
gameid
driveid
seq
sr
er
dur
fd
gain
py
hPoints
aPoints
scoretype
qt
pc
sd
clock
yardline
tl
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
}
}
Variables
{"eid": [123]}
Response
{
"data": {
"playByPlayGroupByEvent": [
{
"eid": 123,
"gameid": "xyz789",
"driveid": "xyz789",
"seq": 123.45,
"sr": "xyz789",
"er": "xyz789",
"dur": "abc123",
"fd": 123,
"gain": 123,
"py": 987,
"hPoints": 123,
"aPoints": 987,
"scoretype": "abc123",
"qt": 987,
"pc": 987,
"sd": true,
"clock": "xyz789",
"yardline": 123,
"tl": "xyz789",
"plays": [Play]
}
]
}
}
player
Example
Query
query player(
$pid: Int!,
$fn: String,
$lnam: String
) {
player(
pid: $pid,
fn: $fn,
lnam: $lnam
) {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
id
seid
tmid
pid
pposid
week
val
position {
...PositionFragment
}
eid
cfrd
strtr
}
startingGolie {
id
seid
tmid
pid
pposid
week
val
position {
...PositionFragment
}
eid
cfrd
strtr
}
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
marketCounter
injuries {
pid
tmid
seid
typ
stt
loc
det
side
retdt
disch
hl
not
newstim
newsdate
teamRosterPlayer {
...TeamRosterPlayerFragment
}
prio
isKeyInjuredPlayer
}
}
}
}
Variables
{
"pid": 123,
"fn": "abc123",
"lnam": "abc123"
}
Response
{
"data": {
"player": {
"pid": 123,
"fn": "abc123",
"lnam": "abc123",
"cit": "abc123",
"sta": "abc123",
"cou": "abc123",
"act": true,
"stt": "abc123",
"hei": 987,
"wei": 987,
"bd": 123.45,
"age": 123,
"sch": "abc123",
"dy": 123.45,
"hsurl": "xyz789",
"srid": "abc123",
"playerTeamRosters": [TeamRoster]
}
}
}
playerDetails
Response
Returns a PlayerDetails
Example
Query
query playerDetails(
$pid: Int!,
$seid: Int!
) {
playerDetails(
pid: $pid,
seid: $seid
) {
nextEvent {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
teamRoster {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
id
seid
tmid
pid
pposid
week
val
position {
...PositionFragment
}
eid
cfrd
strtr
}
startingGolie {
id
seid
tmid
pid
pposid
week
val
position {
...PositionFragment
}
eid
cfrd
strtr
}
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
marketCounter
injuries {
pid
tmid
seid
typ
stt
loc
det
side
retdt
disch
hl
not
newstim
newsdate
teamRosterPlayer {
...TeamRosterPlayerFragment
}
prio
isKeyInjuredPlayer
}
}
}
}
Variables
{"pid": 123, "seid": 987}
Response
{
"data": {
"playerDetails": {
"nextEvent": Event,
"teamRoster": TeamRoster
}
}
}
playerEvents
Response
Returns [Event]
Example
Query
query playerEvents(
$pid: Int!,
$eid: Int!,
$limit: Int,
$headToHead: Boolean,
$sort: SortInput
) {
playerEvents(
pid: $pid,
eid: $eid,
limit: $limit,
headToHead: $headToHead,
sort: $sort
) {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
region {
rid
nam
sn
}
settings {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
sport {
spid
nam
settings {
...SportSettingFragment
}
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
name
backgroundColor
textColor
dotColor
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
type
query
}
current_condition {
observation_time
temp_C
temp_F
weatherCode
weatherIconUrl {
...ValueFragment
}
weatherDesc {
...ValueFragment
}
windspeedMiles
windspeedKmph
winddirDegree
winddir16Point
precipMM
humidity
visibility
pressure
cloudcover
FeelsLikeC
FeelsLikeF
}
weather {
date
astronomy {
...AstronomyFragment
}
maxtempC
maxtempF
mintempC
mintempF
totalSnow_cm
sunHour
uvIndex
hourly {
...HourlyFragment
}
}
ClimateAverages {
month {
...MonthFragment
}
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
}
}
Variables
{
"pid": 123,
"eid": 123,
"limit": 987,
"headToHead": true,
"sort": SortInput
}
Response
{
"data": {
"playerEvents": [
{
"eid": 987,
"srid": "xyz789",
"cit": "xyz789",
"dt": 123.45,
"des": "xyz789",
"es": "abc123",
"ic": false,
"hl": true,
"lu": "abc123",
"lid": 123,
"rid": 987,
"spid": 123,
"sta": "xyz789",
"st": "xyz789",
"cou": "abc123",
"zcode": "xyz789",
"ven": "xyz789",
"tvs": "xyz789",
"sequence": 987,
"seid": 987,
"writeingame": false,
"scores": [Score],
"league": LeagueWithSettings,
"participants": [Participant],
"statistics": [Statistic],
"statisticsByGroups": [StatisticByGroup],
"eventStatisticsByGroup": [StatisticByGroup],
"marketType": MarketTypeWithSettings,
"marketTypes": [MarketTypeWithSettings],
"currentLines": [{}],
"openingLines": [{}],
"bestLines": [{}],
"bettingOptions": [EventBettingOption],
"plays": [Play],
"eventGroup": EventGroup,
"eventTags": [EventTag],
"captions": [Caption],
"consensus": [Consensus],
"consensusV2": [ConsensusV2],
"weather": [WeatherOutput],
"eventMarketsCount": 123,
"tl": "xyz789",
"att": 987,
"fo": "abc123",
"tr": 987,
"lat": 987.65,
"lon": 987.65,
"seg": "xyz789",
"slg": "abc123",
"cov": "xyz789",
"rft": "abc123",
"ipc": false,
"marketCounter": 987,
"marketResults": [MarketResult],
"lastRoster": Participant
}
]
}
}
playerPerformance
Response
Returns a PlayerPerformanceInfo
Example
Query
query playerPerformance(
$pid: Int!,
$seid: Int!,
$ppid: Int
) {
playerPerformance(
pid: $pid,
seid: $seid,
ppid: $ppid
)
}
Variables
{"pid": 987, "seid": 123, "ppid": 123}
Response
{"data": {"playerPerformance": PlayerPerformanceInfo}}
players
Example
Query
query players(
$pid: [Int],
$fn: String,
$lnam: String
) {
players(
pid: $pid,
fn: $fn,
lnam: $lnam
) {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
id
seid
tmid
pid
pposid
week
val
position {
...PositionFragment
}
eid
cfrd
strtr
}
startingGolie {
id
seid
tmid
pid
pposid
week
val
position {
...PositionFragment
}
eid
cfrd
strtr
}
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
marketCounter
injuries {
pid
tmid
seid
typ
stt
loc
det
side
retdt
disch
hl
not
newstim
newsdate
teamRosterPlayer {
...TeamRosterPlayerFragment
}
prio
isKeyInjuredPlayer
}
}
}
}
Variables
{
"pid": [987],
"fn": "xyz789",
"lnam": "abc123"
}
Response
{
"data": {
"players": [
{
"pid": 123,
"fn": "abc123",
"lnam": "xyz789",
"cit": "abc123",
"sta": "abc123",
"cou": "abc123",
"act": false,
"stt": "xyz789",
"hei": 987,
"wei": 987,
"bd": 123.45,
"age": 987,
"sch": "xyz789",
"dy": 123.45,
"hsurl": "abc123",
"srid": "abc123",
"playerTeamRosters": [TeamRoster]
}
]
}
}
plays
Description
Query multiple plays
Response
Returns [Play]
Example
Query
query plays(
$eid: [Int]!,
$pgid: Int,
$limitLastSeq: Int,
$pgidWhenFinished: Int
) {
plays(
eid: $eid,
pgid: $pgid,
limitLastSeq: $limitLastSeq,
pgidWhenFinished: $pgidWhenFinished
) {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
}
Variables
{"eid": [123], "pgid": 123, "limitLastSeq": 123, "pgidWhenFinished": 987}
Response
{
"data": {
"plays": [
{
"eid": 123,
"sqid": 987,
"siid": 987,
"gid": 987,
"nam": "xyz789",
"val": "abc123",
"tim": 123.45,
"sequence": 123,
"driveid": "abc123",
"playid": "xyz789",
"seq": 987.65,
"hPoints": 987,
"aPoints": 987,
"typ": "xyz789",
"sspt": "abc123",
"sslt": "abc123",
"sslyl": 987,
"ssc": "abc123",
"ssd": 123,
"espt": "xyz789",
"eslt": "abc123",
"eslyl": 123,
"esc": "xyz789",
"esd": 123,
"desc": "abc123",
"scoretype": "abc123",
"scoreteam": "abc123",
"qt": 123
}
]
}
}
playsV2
Response
Returns a PlaysWithMaxSequence
Example
Query
query playsV2(
$eid: [Int]!,
$sequence: Int,
$pgid: Int,
$limitLastSeq: Int
) {
playsV2(
eid: $eid,
sequence: $sequence,
pgid: $pgid,
limitLastSeq: $limitLastSeq
) {
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
maxSequence
}
}
Variables
{"eid": [123], "sequence": 987, "pgid": 123, "limitLastSeq": 123}
Response
{
"data": {
"playsV2": {"plays": [Play], "maxSequence": 987.65}
}
}
propLinesByEntry
Response
Returns a PropLines
Arguments
Name | Description |
---|---|
eid - Int!
|
Event Id |
mtid - [Int]!
|
Market Types |
sbid - [Int]!
|
SportBook Ids |
pid - Int
|
(optional) Players Reference Id, If this Param is required can't send the tmid or entrid Params |
tmid - Int
|
(optional) Teams Reference Id, If this Param is required can't send the pid or entrid Params |
entrid - Int
|
(optional) Entity Reference Id, If this Param is required can't send the pid or tmid Params |
linesoptions - [LINESOPTIONS]
|
Lines to get |
catid - Int
|
Category id (bestlines order) |
Example
Query
query propLinesByEntry(
$eid: Int!,
$mtid: [Int]!,
$sbid: [Int]!,
$pid: Int,
$tmid: Int,
$entrid: Int,
$linesoptions: [LINESOPTIONS],
$catid: Int
) {
propLinesByEntry(
eid: $eid,
mtid: $mtid,
sbid: $sbid,
pid: $pid,
tmid: $tmid,
entrid: $entrid,
linesoptions: $linesoptions,
catid: $catid
)
}
Variables
{
"eid": 123,
"mtid": [123],
"sbid": [123],
"pid": 987,
"tmid": 123,
"entrid": 123,
"linesoptions": ["BESTLINES"],
"catid": 123
}
Response
{"data": {"propLinesByEntry": PropLines}}
region
regions
Response
Returns [Region]
Example
Query
query regions(
$rid: [Int],
$sort: SortInput,
$limit: Int,
$skip: Int
) {
regions(
rid: $rid,
sort: $sort,
limit: $limit,
skip: $skip
) {
rid
nam
sn
}
}
Variables
{
"rid": [123],
"sort": SortInput,
"limit": 987,
"skip": 123
}
Response
{
"data": {
"regions": [
{
"rid": 123,
"nam": "xyz789",
"sn": "xyz789"
}
]
}
}
regionsBySport
Response
Returns a RegionsBySport
Arguments
Name | Description |
---|---|
spid - Int!
|
SportId |
dt - InputQueryFloat
|
Input Query of dates in milliseconds |
mtid - Int
|
MarketTypeId |
ic - Boolean
|
|
hl - Boolean
|
Example
Query
query regionsBySport(
$spid: Int!,
$dt: InputQueryFloat,
$mtid: Int,
$ic: Boolean,
$hl: Boolean
) {
regionsBySport(
spid: $spid,
dt: $dt,
mtid: $mtid,
ic: $ic,
hl: $hl
) {
active
available
}
}
Variables
{
"spid": 987,
"dt": InputQueryFloat,
"mtid": 987,
"ic": false,
"hl": false
}
Response
{"data": {"regionsBySport": {"active": [123], "available": [123]}}}
scores
Description
Query multiple Scores
Response
Returns [Score]
Example
Query
query scores(
$eid: [Int]!,
$partid: Int,
$pn: Int
) {
scores(
eid: $eid,
partid: $partid,
pn: $pn
) {
eid
partid
pn
val
sequence
}
}
Variables
{"eid": [123], "partid": 987, "pn": 123}
Response
{
"data": {
"scores": [
{
"eid": 123,
"partid": 123,
"pn": 123,
"val": "abc123",
"sequence": 123
}
]
}
}
searchEvent
Description
Query the results
Response
Returns [EventCatalog]
Arguments
Name | Description |
---|---|
query - [String]!
|
Text to search |
Example
Query
query searchEvent($query: [String]!) {
searchEvent(query: $query) {
des
date
league
sport
spid
region
eid
searchParticipants {
nam
lnam
fn
nn
sn
abbr
}
eventParticipants
lid
path
}
}
Variables
{"query": ["abc123"]}
Response
{
"data": {
"searchEvent": [
{
"des": "xyz789",
"date": "xyz789",
"league": "abc123",
"sport": "xyz789",
"spid": "abc123",
"region": "xyz789",
"eid": 123,
"searchParticipants": [SearchParticipant],
"eventParticipants": "abc123",
"lid": 987,
"path": "xyz789"
}
]
}
}
seasonInfoByLeague
Response
Returns [LeagueSeasonInfo]
Arguments
Name | Description |
---|---|
lid - [Int]!
|
League Id |
Example
Query
query seasonInfoByLeague($lid: [Int]!) {
seasonInfoByLeague(lid: $lid) {
lid
lnam
seid
senam
spid
spnam
rid
rnam
sdt
edt
}
}
Variables
{"lid": [987]}
Response
{
"data": {
"seasonInfoByLeague": [
{
"lid": 123,
"lnam": "abc123",
"seid": 123,
"senam": "xyz789",
"spid": 987,
"spnam": "xyz789",
"rid": 987,
"rnam": "xyz789",
"sdt": 123.45,
"edt": 123.45
}
]
}
}
seasonTeams
Response
Returns [TeamByLeague]
Example
Query
query seasonTeams(
$lid: [Int!]!,
$seid: Int
) {
seasonTeams(
lid: $lid,
seid: $seid
) {
tmid
lid
seid
senam
act
tmblid
conid
conname
divid
divname
isCurrent
eventGroups {
egid
nam
alias
ceg
seid
disord
sdt
edt
eids
mtids
hl
isCurrent
}
}
}
Variables
{"lid": [987], "seid": 987}
Response
{
"data": {
"seasonTeams": [
{
"tmid": 987,
"lid": 987,
"seid": 123,
"senam": "xyz789",
"act": true,
"tmblid": 987,
"conid": 123,
"conname": "abc123",
"divid": 987,
"divname": "xyz789",
"isCurrent": false,
"eventGroups": [EventGroupBySeason]
}
]
}
}
sport
Example
Query
query sport($spid: Int!) {
sport(spid: $spid) {
spid
nam
settings {
spid
sitid
did
enabled
alias
mode
ord
nav
mtid
}
}
}
Variables
{"spid": 123}
Response
{
"data": {
"sport": {
"spid": 987,
"nam": "abc123",
"settings": SportSetting
}
}
}
sportSetting
Response
Returns a SportSetting
Example
Query
query sportSetting(
$spid: Int!,
$sitid: String,
$did: String
) {
sportSetting(
spid: $spid,
sitid: $sitid,
did: $did
) {
spid
sitid
did
enabled
alias
mode
ord
nav
mtid
}
}
Variables
{
"spid": 123,
"sitid": "abc123",
"did": "xyz789"
}
Response
{
"data": {
"sportSetting": {
"spid": 987,
"sitid": 987,
"did": 987,
"enabled": false,
"alias": "xyz789",
"mode": "xyz789",
"ord": 123,
"nav": "abc123",
"mtid": 987
}
}
}
sportSettingsV2
Example
Query
query sportSettingsV2($sitid: Int!) {
sportSettingsV2(sitid: $sitid) {
spid
nam
sportHasCustomLeagueSettings {
value
parentid
}
sportHasCustomMarketTypeSettings {
value
parentid
}
sportHasCustomMarketTypeGroupSettings {
value
parentid
}
settings {
spid
sitid
did
enabled
alias
mode
ord
nav
mtid
}
}
}
Variables
{"sitid": 123}
Response
{
"data": {
"sportSettingsV2": [
{
"spid": 987,
"nam": "abc123",
"sportHasCustomLeagueSettings": Customized,
"sportHasCustomMarketTypeSettings": Customized,
"sportHasCustomMarketTypeGroupSettings": Customized,
"settings": SportSetting
}
]
}
}
sportbooksByCategory
Response
Returns [SportbooksByCategory]
Example
Query
query sportbooksByCategory(
$sitid: Int!,
$did: Int!,
$cid: Int!,
$spid: Int!,
$enabled: Boolean,
$sortWith: Boolean,
$famid: Int
) {
sportbooksByCategory(
sitid: $sitid,
did: $did,
cid: $cid,
spid: $spid,
enabled: $enabled,
sortWith: $sortWith,
famid: $famid
) {
cid
afid
shortafid
safid
categoryName
affiliateURL
mainAffiliate {
nam
enabled
}
enabled
sportsbooksadmin {
sbid
paid
nam
iid
pre
suf
afid
settings {
sbid
sitid
did
spid
cid
ord
enabled
alias
}
image {
id
filename
title
description
tags
sizes {
...SizeFragment
}
updatedAt
createdAt
}
}
}
}
Variables
{
"sitid": 987,
"did": 987,
"cid": 987,
"spid": 123,
"enabled": false,
"sortWith": true,
"famid": 123
}
Response
{
"data": {
"sportbooksByCategory": [
{
"cid": 987,
"afid": "xyz789",
"shortafid": "abc123",
"safid": "abc123",
"categoryName": "abc123",
"affiliateURL": "abc123",
"mainAffiliate": MainAffiliate,
"enabled": true,
"sportsbooksadmin": Sportsbook
}
]
}
}
sports
Response
Returns [Sport]
Example
Query
query sports(
$spid: [Int],
$enabled: Boolean,
$alias: String,
$mode: String,
$sort: SortInput,
$limit: Int,
$skip: Int
) {
sports(
spid: $spid,
enabled: $enabled,
alias: $alias,
mode: $mode,
sort: $sort,
limit: $limit,
skip: $skip
) {
spid
nam
settings {
spid
sitid
did
enabled
alias
mode
ord
nav
mtid
}
}
}
Variables
{
"spid": [987],
"enabled": true,
"alias": "abc123",
"mode": "abc123",
"sort": SortInput,
"limit": 123,
"skip": 987
}
Response
{
"data": {
"sports": [
{
"spid": 123,
"nam": "abc123",
"settings": SportSetting
}
]
}
}
sportsWithLiveEvents
Example
Query
query sportsWithLiveEvents(
$days: Int!,
$spid: [Int]!
) {
sportsWithLiveEvents(
days: $days,
spid: $spid
) {
spids
}
}
Variables
{"days": 987, "spid": [123]}
Response
{"data": {"sportsWithLiveEvents": [{"spids": [123]}]}}
sportsbook
Response
Returns a Sportsbook
Arguments
Name | Description |
---|---|
sbid - Int!
|
Sportsbook ID |
Example
Query
query sportsbook($sbid: Int!) {
sportsbook(sbid: $sbid) {
sbid
paid
nam
iid
pre
suf
afid
settings {
sbid
sitid
did
spid
cid
ord
enabled
alias
}
image {
id
filename
title
description
tags
sizes {
original
thumb
xs
sm
md
lg
}
updatedAt
createdAt
}
}
}
Variables
{"sbid": 987}
Response
{
"data": {
"sportsbook": {
"sbid": 123,
"paid": 123,
"nam": "xyz789",
"iid": "abc123",
"pre": "xyz789",
"suf": "xyz789",
"afid": "xyz789",
"settings": SportsbookSetting,
"image": Image
}
}
}
sportsbookSetting
Response
Returns a SportsbookSetting
Arguments
Name | Description |
---|---|
sbid - Int!
|
Sportsbook ID |
Example
Query
query sportsbookSetting($sbid: Int!) {
sportsbookSetting(sbid: $sbid) {
sbid
sitid
did
spid
cid
ord
enabled
alias
}
}
Variables
{"sbid": 987}
Response
{
"data": {
"sportsbookSetting": {
"sbid": 987,
"sitid": 123,
"did": 987,
"spid": 123,
"cid": 987,
"ord": 987,
"enabled": false,
"alias": "abc123"
}
}
}
sportsbooks
Response
Returns [Sportsbook]
Example
Query
query sportsbooks(
$sitid: Int,
$did: Int,
$enabled: Boolean,
$sbids: [Int],
$limit: Int,
$skip: Int
) {
sportsbooks(
sitid: $sitid,
did: $did,
enabled: $enabled,
sbids: $sbids,
limit: $limit,
skip: $skip
) {
sbid
paid
nam
iid
pre
suf
afid
settings {
sbid
sitid
did
spid
cid
ord
enabled
alias
}
image {
id
filename
title
description
tags
sizes {
original
thumb
xs
sm
md
lg
}
updatedAt
createdAt
}
}
}
Variables
{
"sitid": 123,
"did": 123,
"enabled": false,
"sbids": [987],
"limit": 987,
"skip": 987
}
Response
{
"data": {
"sportsbooks": [
{
"sbid": 987,
"paid": 123,
"nam": "abc123",
"iid": "xyz789",
"pre": "xyz789",
"suf": "xyz789",
"afid": "abc123",
"settings": SportsbookSetting,
"image": Image
}
]
}
}
sportsbooksByCategory
Response
Returns [SportsbooksByCategory]
Arguments
Name | Description |
---|---|
catid - Int!
|
Example
Query
query sportsbooksByCategory($catid: Int!) {
sportsbooksByCategory(catid: $catid) {
sbid
catid
affiliate
prefix
suffix
enabled
ord
paid
nam
iid
image {
id
filename
title
description
tags
sizes {
original
thumb
xs
sm
md
lg
}
updatedAt
createdAt
}
}
}
Variables
{"catid": 123}
Response
{
"data": {
"sportsbooksByCategory": [
{
"sbid": 123,
"catid": 123,
"affiliate": "xyz789",
"prefix": "abc123",
"suffix": "xyz789",
"enabled": true,
"ord": 123,
"paid": 987,
"nam": "xyz789",
"iid": "xyz789",
"image": Image
}
]
}
}
statistic
Description
Query a single Statistic
Response
Returns a Statistic
Example
Query
query statistic(
$eid: Int!,
$partid: Int,
$pid: Int,
$typ: String,
$sgid: Int
) {
statistic(
eid: $eid,
partid: $partid,
pid: $pid,
typ: $typ,
sgid: $sgid
) {
typ
eid
partid
pid
nam
val
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
...DepthChartFragment
}
startingGolie {
...DepthChartFragment
}
player {
...PlayerFragment
}
marketCounter
injuries {
...InjuryResponseFragment
}
}
}
siid
sequence
}
}
Variables
{
"eid": 987,
"partid": 987,
"pid": 123,
"typ": "abc123",
"sgid": 123
}
Response
{
"data": {
"statistic": {
"typ": "xyz789",
"eid": 123,
"partid": 123,
"pid": 987,
"nam": "xyz789",
"val": "xyz789",
"player": Player,
"siid": 123.45,
"sequence": 987.65
}
}
}
statistics
Description
Query multiple Statistics
Response
Returns [Statistic]
Example
Query
query statistics(
$eid: [Int]!,
$partid: Int,
$pid: Int,
$typ: String,
$sgid: Int
) {
statistics(
eid: $eid,
partid: $partid,
pid: $pid,
typ: $typ,
sgid: $sgid
) {
typ
eid
partid
pid
nam
val
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
...DepthChartFragment
}
startingGolie {
...DepthChartFragment
}
player {
...PlayerFragment
}
marketCounter
injuries {
...InjuryResponseFragment
}
}
}
siid
sequence
}
}
Variables
{
"eid": [987],
"partid": 987,
"pid": 987,
"typ": "xyz789",
"sgid": 987
}
Response
{
"data": {
"statistics": [
{
"typ": "abc123",
"eid": 987,
"partid": 987,
"pid": 123,
"nam": "xyz789",
"val": "abc123",
"player": Player,
"siid": 123.45,
"sequence": 987.65
}
]
}
}
statisticsBettingOddsTrends
Response
Returns [Trends]
Example
Query
query statisticsBettingOddsTrends(
$participantByEventIds: [Int],
$ws: String,
$ls: String
) {
statisticsBettingOddsTrends(
participantByEventIds: $participantByEventIds,
ws: $ws,
ls: $ls
) {
vltext
vln
partbeid
identity
}
}
Variables
{
"participantByEventIds": [123],
"ws": "xyz789",
"ls": "xyz789"
}
Response
{
"data": {
"statisticsBettingOddsTrends": [
{
"vltext": "xyz789",
"vln": "xyz789",
"partbeid": 123,
"identity": "xyz789"
}
]
}
}
statisticsByEvent
Response
Returns [StatisticByGroup]
Example
Query
query statisticsByEvent(
$eids: [Int]!,
$idtys: [String],
$grps: [String],
$stats: [String],
$entrids: [Int],
$entgids: [Int],
$limit: Int,
$skip: Int,
$orderBy: SortInput
) {
statisticsByEvent(
eids: $eids,
idtys: $idtys,
grps: $grps,
stats: $stats,
entrids: $entrids,
entgids: $entgids,
limit: $limit,
skip: $skip,
orderBy: $orderBy
) {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
}
Variables
{
"eids": [123],
"idtys": ["xyz789"],
"grps": ["xyz789"],
"stats": ["xyz789"],
"entrids": [123],
"entgids": [123],
"limit": 987,
"skip": 987,
"orderBy": SortInput
}
Response
{
"data": {
"statisticsByEvent": [
{
"ent": "abc123",
"grp": "xyz789",
"stat": "xyz789",
"tim": 123.45,
"val": "abc123",
"sequence": 123.45,
"valid": 123.45,
"entid": 123,
"gid": 987,
"statid": 987,
"entgid": 123,
"idty": "xyz789",
"entrid": 123,
"sctim": 123.45,
"eid": 987,
"partbeid": 987,
"partid": 123,
"pid": 987,
"seid": 123,
"lid": 987,
"tmid": 987,
"tmblid": 987,
"partname": "xyz789",
"partabbreviation": "xyz789",
"partshortname": "abc123",
"pfn": "xyz789",
"pln": "xyz789",
"stgnam": "abc123"
}
]
}
}
statisticsByGroups
Response
Returns [StatisticByGroup]
Example
Query
query statisticsByGroups(
$statisticGroup: [String]!,
$teamByLeagueIds: [Int],
$participantByEventIds: [Int],
$teamRosterIds: [Int],
$identities: [String],
$eids: [Int],
$tmids: [Int],
$partids: [Int],
$seids: [Int],
$ent: [ENT]
) {
statisticsByGroups(
statisticGroup: $statisticGroup,
teamByLeagueIds: $teamByLeagueIds,
participantByEventIds: $participantByEventIds,
teamRosterIds: $teamRosterIds,
identities: $identities,
eids: $eids,
tmids: $tmids,
partids: $partids,
seids: $seids,
ent: $ent
) {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
}
Variables
{
"statisticGroup": ["xyz789"],
"teamByLeagueIds": [987],
"participantByEventIds": [123],
"teamRosterIds": [987],
"identities": ["abc123"],
"eids": [123],
"tmids": [987],
"partids": [123],
"seids": [123],
"ent": ["EVENT"]
}
Response
{
"data": {
"statisticsByGroups": [
{
"ent": "abc123",
"grp": "abc123",
"stat": "abc123",
"tim": 987.65,
"val": "xyz789",
"sequence": 987.65,
"valid": 987.65,
"entid": 123,
"gid": 987,
"statid": 123,
"entgid": 123,
"idty": "xyz789",
"entrid": 123,
"sctim": 123.45,
"eid": 987,
"partbeid": 987,
"partid": 123,
"pid": 123,
"seid": 987,
"lid": 123,
"tmid": 987,
"tmblid": 987,
"partname": "abc123",
"partabbreviation": "abc123",
"partshortname": "xyz789",
"pfn": "abc123",
"pln": "xyz789",
"stgnam": "xyz789"
}
]
}
}
statisticsBySeason
Description
WARNING (statisticsBySeason): Many results could be generated by this query and timeouts are possible, always filter by some of these combination of parameters at least: (seid + grp + stat) or (seid + entrid + stat) or (seid + idty)
Response
Returns [StatisticByGroup]
Example
Query
query statisticsBySeason(
$seid: [Int]!,
$idty: [String],
$grp: [String],
$stat: [String],
$entrid: [Int],
$entgid: [Int],
$statisticGroup: [String],
$ent: ENT
) {
statisticsBySeason(
seid: $seid,
idty: $idty,
grp: $grp,
stat: $stat,
entrid: $entrid,
entgid: $entgid,
statisticGroup: $statisticGroup,
ent: $ent
) {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
}
Variables
{
"seid": [123],
"idty": ["abc123"],
"grp": ["xyz789"],
"stat": ["abc123"],
"entrid": [987],
"entgid": [123],
"statisticGroup": ["abc123"],
"ent": "EVENT"
}
Response
{
"data": {
"statisticsBySeason": [
{
"ent": "xyz789",
"grp": "xyz789",
"stat": "abc123",
"tim": 987.65,
"val": "xyz789",
"sequence": 123.45,
"valid": 123.45,
"entid": 123,
"gid": 123,
"statid": 123,
"entgid": 123,
"idty": "abc123",
"entrid": 987,
"sctim": 987.65,
"eid": 987,
"partbeid": 123,
"partid": 987,
"pid": 987,
"seid": 987,
"lid": 123,
"tmid": 123,
"tmblid": 123,
"partname": "xyz789",
"partabbreviation": "xyz789",
"partshortname": "abc123",
"pfn": "xyz789",
"pln": "abc123",
"stgnam": "xyz789"
}
]
}
}
statisticsUmpire
Response
Returns [StatisticByGroup]
Example
Query
query statisticsUmpire(
$eventId: Int!,
$seasonId: Int!
) {
statisticsUmpire(
eventId: $eventId,
seasonId: $seasonId
) {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
}
Variables
{"eventId": 123, "seasonId": 123}
Response
{
"data": {
"statisticsUmpire": [
{
"ent": "xyz789",
"grp": "xyz789",
"stat": "xyz789",
"tim": 987.65,
"val": "xyz789",
"sequence": 123.45,
"valid": 123.45,
"entid": 123,
"gid": 123,
"statid": 987,
"entgid": 987,
"idty": "abc123",
"entrid": 987,
"sctim": 987.65,
"eid": 987,
"partbeid": 987,
"partid": 123,
"pid": 123,
"seid": 987,
"lid": 987,
"tmid": 123,
"tmblid": 123,
"partname": "xyz789",
"partabbreviation": "abc123",
"partshortname": "abc123",
"pfn": "abc123",
"pln": "xyz789",
"stgnam": "abc123"
}
]
}
}
team
Response
Returns a Team
Example
Query
query team(
$tmid: Int!,
$nam: String,
$seid: Int,
$senam: String,
$lid: Int
) {
team(
tmid: $tmid,
nam: $nam,
seid: $seid,
senam: $senam,
lid: $lid
) {
tmid
srid
lid
nam
tmblid
nn
sn
abbr
cit
sta
cou
act
stt
ven
seid
senam
conid
roster {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
id
seid
tmid
pid
pposid
week
val
position {
...PositionFragment
}
eid
cfrd
strtr
}
startingGolie {
id
seid
tmid
pid
pposid
week
val
position {
...PositionFragment
}
eid
cfrd
strtr
}
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
marketCounter
injuries {
pid
tmid
seid
typ
stt
loc
det
side
retdt
disch
hl
not
newstim
newsdate
teamRosterPlayer {
...TeamRosterPlayerFragment
}
prio
isKeyInjuredPlayer
}
}
statistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
divid
divname
hasteamstats
conname
consn
imageurl
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
statisticsBySeason {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
socialNetworks {
network
account
}
leagueHierarchy {
teamId
seasonId
leagueId
conference {
id
name
shortname
favoriteshortname
favoritename
imageurl
}
division {
id
name
shortname
favoriteshortname
imageurl
}
}
partid
iv
slg
tr
}
}
Variables
{
"tmid": 123,
"nam": "abc123",
"seid": 987,
"senam": "abc123",
"lid": 123
}
Response
{
"data": {
"team": {
"tmid": 987,
"srid": "abc123",
"lid": 987,
"nam": "xyz789",
"tmblid": 123,
"nn": "xyz789",
"sn": "abc123",
"abbr": "abc123",
"cit": "abc123",
"sta": "xyz789",
"cou": "xyz789",
"act": true,
"stt": "xyz789",
"ven": "xyz789",
"seid": 123,
"senam": "xyz789",
"conid": 123,
"roster": [TeamRoster],
"statistics": [StatisticByGroup],
"divid": 987,
"divname": "abc123",
"hasteamstats": false,
"conname": "xyz789",
"consn": "xyz789",
"imageurl": "xyz789",
"statisticsByGroups": [StatisticByGroup],
"statisticsBySeason": [StatisticByGroup],
"socialNetworks": [TeamSocialNetwork],
"leagueHierarchy": [LeagueHierarchy],
"partid": 987,
"iv": false,
"slg": "abc123",
"tr": 987
}
}
}
teamPerformance
Response
Returns [teamPerformanceType]
Example
Query
query teamPerformance(
$tmid: Int!,
$seid: Int!,
$spid: Int!
) {
teamPerformance(
tmid: $tmid,
seid: $seid,
spid: $spid
) {
wins
losses
ties
winPercentage
rank
streak
conferenceRank
divisionRank
}
}
Variables
{"tmid": 123, "seid": 987, "spid": 123}
Response
{
"data": {
"teamPerformance": [
{
"wins": 123,
"losses": 123,
"ties": 123,
"winPercentage": "xyz789",
"rank": "xyz789",
"streak": "xyz789",
"conferenceRank": "xyz789",
"divisionRank": "xyz789"
}
]
}
}
teamRosters
Response
Returns [TeamRoster]
Example
Query
query teamRosters(
$tmid: [Int!]!,
$seid: Int!,
$pid: [Int],
$act: Boolean,
$all: Boolean
) {
teamRosters(
tmid: $tmid,
seid: $seid,
pid: $pid,
act: $act,
all: $all
) {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
id
seid
tmid
pid
pposid
week
val
position {
id
spid
nam
sn
}
eid
cfrd
strtr
}
startingGolie {
id
seid
tmid
pid
pposid
week
val
position {
id
spid
nam
sn
}
eid
cfrd
strtr
}
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
...DepthChartFragment
}
startingGolie {
...DepthChartFragment
}
player {
...PlayerFragment
}
marketCounter
injuries {
...InjuryResponseFragment
}
}
}
marketCounter
injuries {
pid
tmid
seid
typ
stt
loc
det
side
retdt
disch
hl
not
newstim
newsdate
teamRosterPlayer {
teamRoster {
...TeamRosterFragment
}
player {
...PlayerFragment
}
}
prio
isKeyInjuredPlayer
}
}
}
Variables
{"tmid": [123], "seid": 123, "pid": [123], "act": false, "all": false}
Response
{
"data": {
"teamRosters": [
{
"tmrid": 987,
"tmid": 987,
"pid": 123,
"seid": 987,
"act": true,
"pnum": 987,
"ppid": 987,
"ppnam": "abc123",
"ppsn": "xyz789",
"ppprio": 987,
"depthChart": [DepthChart],
"startingGolie": DepthChart,
"player": Player,
"marketCounter": 987,
"injuries": InjuryResponse
}
]
}
}
teamStatistics
Response
Returns [StatisticByGroup]
Example
Query
query teamStatistics(
$statisticGroup: [String]!,
$teamIds: [Int],
$seasonIds: [Int]
) {
teamStatistics(
statisticGroup: $statisticGroup,
teamIds: $teamIds,
seasonIds: $seasonIds
) {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
}
Variables
{
"statisticGroup": ["abc123"],
"teamIds": [987],
"seasonIds": [987]
}
Response
{
"data": {
"teamStatistics": [
{
"ent": "xyz789",
"grp": "abc123",
"stat": "xyz789",
"tim": 123.45,
"val": "xyz789",
"sequence": 987.65,
"valid": 123.45,
"entid": 123,
"gid": 123,
"statid": 123,
"entgid": 123,
"idty": "abc123",
"entrid": 123,
"sctim": 123.45,
"eid": 123,
"partbeid": 987,
"partid": 123,
"pid": 123,
"seid": 987,
"lid": 987,
"tmid": 987,
"tmblid": 987,
"partname": "xyz789",
"partabbreviation": "xyz789",
"partshortname": "abc123",
"pfn": "abc123",
"pln": "xyz789",
"stgnam": "xyz789"
}
]
}
}
teams
Response
Returns [Team]
Arguments
Name | Description |
---|---|
tmid - [Int]
|
Team Id |
lid - [Int]
|
League Id |
seid - [Int]
|
Season id |
nam - String
|
Name |
act - Boolean
|
Is the team active |
divids - [Int]
|
Division Id |
conids - [Int]
|
Conference Id |
istmlhrchy - Boolean
|
Is team league hierarchy? If true divids and conids values are obtained from TeamLeagueHierarchy |
isSpecial - Boolean
|
Is Special |
virtual - Boolean
|
add virtuals teams |
rankLimit - Int
|
Example
Query
query teams(
$tmid: [Int],
$lid: [Int],
$seid: [Int],
$nam: String,
$act: Boolean,
$divids: [Int],
$conids: [Int],
$istmlhrchy: Boolean,
$isSpecial: Boolean,
$virtual: Boolean,
$rankLimit: Int
) {
teams(
tmid: $tmid,
lid: $lid,
seid: $seid,
nam: $nam,
act: $act,
divids: $divids,
conids: $conids,
istmlhrchy: $istmlhrchy,
isSpecial: $isSpecial,
virtual: $virtual,
rankLimit: $rankLimit
) {
tmid
srid
lid
nam
tmblid
nn
sn
abbr
cit
sta
cou
act
stt
ven
seid
senam
conid
roster {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
id
seid
tmid
pid
pposid
week
val
position {
...PositionFragment
}
eid
cfrd
strtr
}
startingGolie {
id
seid
tmid
pid
pposid
week
val
position {
...PositionFragment
}
eid
cfrd
strtr
}
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
marketCounter
injuries {
pid
tmid
seid
typ
stt
loc
det
side
retdt
disch
hl
not
newstim
newsdate
teamRosterPlayer {
...TeamRosterPlayerFragment
}
prio
isKeyInjuredPlayer
}
}
statistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
divid
divname
hasteamstats
conname
consn
imageurl
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
statisticsBySeason {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
socialNetworks {
network
account
}
leagueHierarchy {
teamId
seasonId
leagueId
conference {
id
name
shortname
favoriteshortname
favoritename
imageurl
}
division {
id
name
shortname
favoriteshortname
imageurl
}
}
partid
iv
slg
tr
}
}
Variables
{
"tmid": [987],
"lid": [123],
"seid": [987],
"nam": "xyz789",
"act": false,
"divids": [987],
"conids": [987],
"istmlhrchy": true,
"isSpecial": true,
"virtual": false,
"rankLimit": 987
}
Response
{
"data": {
"teams": [
{
"tmid": 123,
"srid": "xyz789",
"lid": 123,
"nam": "abc123",
"tmblid": 123,
"nn": "abc123",
"sn": "xyz789",
"abbr": "xyz789",
"cit": "abc123",
"sta": "abc123",
"cou": "abc123",
"act": false,
"stt": "abc123",
"ven": "abc123",
"seid": 987,
"senam": "xyz789",
"conid": 987,
"roster": [TeamRoster],
"statistics": [StatisticByGroup],
"divid": 987,
"divname": "xyz789",
"hasteamstats": true,
"conname": "xyz789",
"consn": "abc123",
"imageurl": "xyz789",
"statisticsByGroups": [StatisticByGroup],
"statisticsBySeason": [StatisticByGroup],
"socialNetworks": [TeamSocialNetwork],
"leagueHierarchy": [LeagueHierarchy],
"partid": 987,
"iv": false,
"slg": "abc123",
"tr": 987
}
]
}
}
teamsByName
Response
Returns [TeamSearchResult]
Example
Query
query teamsByName(
$name: String!,
$seasonIds: [Int]
) {
teamsByName(
name: $name,
seasonIds: $seasonIds
) {
tmid
nam
nn
sn
abbr
cit
sta
cou
lid
seid
senam
conname
divname
partid
}
}
Variables
{"name": "abc123", "seasonIds": [123]}
Response
{
"data": {
"teamsByName": [
{
"tmid": 123,
"nam": "abc123",
"nn": "abc123",
"sn": "abc123",
"abbr": "xyz789",
"cit": "xyz789",
"sta": "xyz789",
"cou": "xyz789",
"lid": 123,
"seid": 987,
"senam": "xyz789",
"conname": "xyz789",
"divname": "abc123",
"partid": 123
}
]
}
}
topPerformers
Response
Returns a TopPerformer
Arguments
Name | Description |
---|---|
spid - Int!
|
|
stgnam - String!
|
|
seid - Int!
|
|
tmids - [Int!]!
|
|
idty - TopPerformerIdentity!
|
Example
Query
query topPerformers(
$spid: Int!,
$stgnam: String!,
$seid: Int!,
$tmids: [Int!]!,
$idty: TopPerformerIdentity!
) {
topPerformers(
spid: $spid,
stgnam: $stgnam,
seid: $seid,
tmids: $tmids,
idty: $idty
) {
topRosters {
teamRoster {
tmrid
tmid
pid
seid
act
pnum
ppid
ppnam
ppsn
ppprio
depthChart {
...DepthChartFragment
}
startingGolie {
...DepthChartFragment
}
player {
...PlayerFragment
}
marketCounter
injuries {
...InjuryResponseFragment
}
}
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
}
statistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
}
}
Variables
{
"spid": 123,
"stgnam": "abc123",
"seid": 987,
"tmids": [987],
"idty": "PASSING"
}
Response
{
"data": {
"topPerformers": {
"topRosters": [TopPerformerRoster],
"statistics": [StatisticByGroup]
}
}
}
topTeams
Response
Returns [TopTeam]
Example
Query
query topTeams(
$seid: Int!,
$topLimit: Int,
$istmlhrchy: Boolean,
$identity: String
) {
topTeams(
seid: $seid,
topLimit: $topLimit,
istmlhrchy: $istmlhrchy,
identity: $identity
) {
tmid
srid
lid
nam
tmblid
nn
sn
abbr
cit
sta
cou
act
stt
ven
seid
senam
conid
divid
divname
hasteamstats
conname
imageurl
partid
rank
slg
}
}
Variables
{
"seid": 123,
"topLimit": 123,
"istmlhrchy": false,
"identity": "xyz789"
}
Response
{
"data": {
"topTeams": [
{
"tmid": 123,
"srid": "abc123",
"lid": 987,
"nam": "xyz789",
"tmblid": 123,
"nn": "xyz789",
"sn": "abc123",
"abbr": "xyz789",
"cit": "xyz789",
"sta": "abc123",
"cou": "xyz789",
"act": false,
"stt": "xyz789",
"ven": "xyz789",
"seid": 987,
"senam": "xyz789",
"conid": 123,
"divid": 123,
"divname": "xyz789",
"hasteamstats": true,
"conname": "xyz789",
"imageurl": "abc123",
"partid": 987,
"rank": 987,
"slg": "xyz789"
}
]
}
}
totalCaptionsGenerated
Response
Returns [TotalCaptionsGenerated]
Arguments
Name | Description |
---|---|
eid - [Int]!
|
Example
Query
query totalCaptionsGenerated($eid: [Int]!) {
totalCaptionsGenerated(eid: $eid) {
eventId
total
}
}
Variables
{"eid": [123]}
Response
{"data": {"totalCaptionsGenerated": [{"eventId": 123, "total": 123}]}}
upcomingEvents
Response
Returns [Event]
Arguments
Name | Description |
---|---|
lids - [Int!]!
|
League ids |
startDate - Float
|
Start date in epoch format |
hoursRange - Float
|
Hours range from the start date |
daysRange - Int
|
Days range from the start date |
showEmptyEvents - Boolean
|
Show events without lines |
location - GeolocationIntput
|
Filters using a location |
limit - Int
|
Limit the amount of results expected |
sort - SortInput
|
Sort results by |
participantId - Int
|
|
seid - Int
|
Example
Query
query upcomingEvents(
$lids: [Int!]!,
$startDate: Float,
$hoursRange: Float,
$daysRange: Int,
$showEmptyEvents: Boolean,
$location: GeolocationIntput,
$limit: Int,
$sort: SortInput,
$participantId: Int,
$seid: Int
) {
upcomingEvents(
lids: $lids,
startDate: $startDate,
hoursRange: $hoursRange,
daysRange: $daysRange,
showEmptyEvents: $showEmptyEvents,
location: $location,
limit: $limit,
sort: $sort,
participantId: $participantId,
seid: $seid
) {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
region {
rid
nam
sn
}
settings {
lid
sitid
did
enabled
alias
rotation
ord
shortnamealias
shortnamebreakpoint
matchupline
_isCustom
_isFavorite
_isDefaultFavorite
}
sport {
spid
nam
settings {
...SportSettingFragment
}
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
mtid
spid
sitid
did
enabled
alias
url
sort
template
format
layout
_isCustom
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
name
backgroundColor
textColor
dotColor
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
type
query
}
current_condition {
observation_time
temp_C
temp_F
weatherCode
weatherIconUrl {
...ValueFragment
}
weatherDesc {
...ValueFragment
}
windspeedMiles
windspeedKmph
winddirDegree
winddir16Point
precipMM
humidity
visibility
pressure
cloudcover
FeelsLikeC
FeelsLikeF
}
weather {
date
astronomy {
...AstronomyFragment
}
maxtempC
maxtempF
mintempC
mintempF
totalSnow_cm
sunHour
uvIndex
hourly {
...HourlyFragment
}
}
ClimateAverages {
month {
...MonthFragment
}
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
pid
fn
lnam
cit
sta
cou
act
stt
hei
wei
bd
age
sch
dy
hsurl
srid
playerTeamRosters {
...TeamRosterFragment
}
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
pbsid
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
participantSeasonStatistics {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
isFavorite
eventrosters {
erid
eid
sid
pid
partid
act
sequence
ilu
luo
roster {
...PlayerFragment
}
statisticsByGroups {
...StatisticByGroupFragment
}
}
}
}
}
Variables
{
"lids": [123],
"startDate": 987.65,
"hoursRange": 987.65,
"daysRange": 123,
"showEmptyEvents": true,
"location": GeolocationIntput,
"limit": 987,
"sort": SortInput,
"participantId": 987,
"seid": 123
}
Response
{
"data": {
"upcomingEvents": [
{
"eid": 123,
"srid": "abc123",
"cit": "abc123",
"dt": 123.45,
"des": "abc123",
"es": "abc123",
"ic": false,
"hl": true,
"lu": "xyz789",
"lid": 123,
"rid": 123,
"spid": 987,
"sta": "abc123",
"st": "xyz789",
"cou": "xyz789",
"zcode": "xyz789",
"ven": "xyz789",
"tvs": "xyz789",
"sequence": 123,
"seid": 123,
"writeingame": false,
"scores": [Score],
"league": LeagueWithSettings,
"participants": [Participant],
"statistics": [Statistic],
"statisticsByGroups": [StatisticByGroup],
"eventStatisticsByGroup": [StatisticByGroup],
"marketType": MarketTypeWithSettings,
"marketTypes": [MarketTypeWithSettings],
"currentLines": [{}],
"openingLines": [{}],
"bestLines": [{}],
"bettingOptions": [EventBettingOption],
"plays": [Play],
"eventGroup": EventGroup,
"eventTags": [EventTag],
"captions": [Caption],
"consensus": [Consensus],
"consensusV2": [ConsensusV2],
"weather": [WeatherOutput],
"eventMarketsCount": 987,
"tl": "abc123",
"att": 123,
"fo": "xyz789",
"tr": 987,
"lat": 123.45,
"lon": 123.45,
"seg": "xyz789",
"slg": "xyz789",
"cov": "abc123",
"rft": "xyz789",
"ipc": true,
"marketCounter": 123,
"marketResults": [MarketResult],
"lastRoster": Participant
}
]
}
}
upcomingEventsNew
Description
Upcoming events by participant
Response
Returns [EventsByParticipant]
Arguments
Name | Description |
---|---|
lids - [Int!]!
|
League ids |
participantIds - [Int]
|
|
seid - Int
|
|
limitByParticipant - Int
|
Limit the amount of results expected by participant |
startDate - Float
|
Start date in epoch format (deprecated) |
hoursRange - Float
|
Hours range from the start date (deprecated) |
showEmptyEvents - Boolean
|
Show events without lines (deprecated) |
sort - SortInput
|
Sort results by (deprecated) |
Example
Query
query upcomingEventsNew(
$lids: [Int!]!,
$participantIds: [Int],
$seid: Int,
$limitByParticipant: Int,
$startDate: Float,
$hoursRange: Float,
$showEmptyEvents: Boolean,
$sort: SortInput
) {
upcomingEventsNew(
lids: $lids,
participantIds: $participantIds,
seid: $seid,
limitByParticipant: $limitByParticipant,
startDate: $startDate,
hoursRange: $hoursRange,
showEmptyEvents: $showEmptyEvents,
sort: $sort
) {
partid
events {
eid
srid
cit
dt
des
es
ic
hl
lu
lid
rid
spid
sta
st
cou
zcode
ven
tvs
sequence
seid
writeingame
scores {
eid
partid
pn
val
sequence
}
league {
lid
nam
rid
spid
did
sn
lurl
marketType {
...MarketTypeWithSettingsFragment
}
region {
...RegionFragment
}
settings {
...LeagueSettingFragment
}
sport {
...SportFragment
}
}
participants {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
statistics {
typ
eid
partid
pid
nam
val
player {
...PlayerFragment
}
siid
sequence
}
statisticsByGroups {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
eventStatisticsByGroup {
ent
grp
stat
tim
val
sequence
valid
entid
gid
statid
entgid
idty
entrid
sctim
eid
partbeid
partid
pid
seid
lid
tmid
tmblid
partname
partabbreviation
partshortname
pfn
pln
stgnam
}
marketType {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
marketTypes {
mtid
ord
spid
mtgid
nam
des
format
layout
settings {
...MarketTypeSettingFragment
}
}
currentLines
openingLines
bestLines
bettingOptions {
eid
partid
boid
nam
mtid
spid
sequence
}
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
eventGroup {
egid
nam
alias
lid
eid
disord
ic
sdt
edt
parentname
parentid
}
eventTags {
ID
link
tag {
...TagFragment
}
eid
}
captions {
eventId
tab
summary
insights
seoKeywordsUsed
bestBet
pageTitle
pageH1
metaDescription
faqsQuestions
faqsAnswers
createdDate
updatedDate
updatesCount
}
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
consensusV2 {
eid
mtid
partid
perc
sequence
}
weather {
location
offset
ep
request {
...RequestFragment
}
current_condition {
...CurrentConditionFragment
}
weather {
...WeatherFragment
}
ClimateAverages {
...ClimateAveragesFragment
}
}
eventMarketsCount
tl
att
fo
tr
lat
lon
seg
slg
cov
rft
ipc
marketCounter
marketResults {
mtid
resultValue
adj
val
pri
paid
ap
entref
result
lineid
partid
}
lastRoster {
partid
eid
ptid
psid
partbeid
act
stt
rot
ih
sbrid
sppil
sppic
tr
startingPitcher {
...PlayerFragment
}
source {
... on Team {
...TeamFragment
}
... on Player {
...PlayerFragment
}
... on Division {
...DivisionFragment
}
... on Conference {
...ConferenceFragment
}
... on ParticipantGroup {
...ParticipantGroupFragment
}
}
statsIdentity {
...StatisticByGroupFragment
}
pbsid
statisticsByGroups {
...StatisticByGroupFragment
}
participantSeasonStatistics {
...StatisticByGroupFragment
}
isFavorite
eventrosters {
...EventRosterFragment
}
}
}
}
}
Variables
{
"lids": [987],
"participantIds": [987],
"seid": 987,
"limitByParticipant": 123,
"startDate": 123.45,
"hoursRange": 123.45,
"showEmptyEvents": true,
"sort": SortInput
}
Response
{
"data": {
"upcomingEventsNew": [
{"partid": 123, "events": [Event]}
]
}
}
updatedConsensus
Description
get all the updated consensus for the event ids, greater than the sequence
Response
Returns a ConsensusWithMaxSequence
Example
Query
query updatedConsensus(
$eid: [Int]!,
$mtid: [Int],
$sequence: Int!
) {
updatedConsensus(
eid: $eid,
mtid: $mtid,
sequence: $sequence
) {
consensus {
eid
mtid
bb
boid
partid
sbid
paid
lineid
wag
perc
vol
tvol
sequence
tim
wb
line
}
maxSequence
}
}
Variables
{"eid": [987], "mtid": [987], "sequence": 987}
Response
{
"data": {
"updatedConsensus": {
"consensus": [Consensus],
"maxSequence": 987.65
}
}
}
updatedPlays
Description
get all the updated plays for the event ids, greater than the sequence
Response
Returns a PlaysWithMaxSequence
Example
Query
query updatedPlays(
$eid: [Int]!,
$sequence: Int!,
$pgid: Int
) {
updatedPlays(
eid: $eid,
sequence: $sequence,
pgid: $pgid
) {
plays {
eid
sqid
siid
gid
nam
val
tim
sequence
driveid
playid
seq
hPoints
aPoints
typ
sspt
sslt
sslyl
ssc
ssd
espt
eslt
eslyl
esc
esd
desc
scoretype
scoreteam
qt
}
maxSequence
}
}
Variables
{"eid": [123], "sequence": 987, "pgid": 987}
Response
{
"data": {
"updatedPlays": {
"plays": [Play],
"maxSequence": 123.45
}
}
}
weather
Response
Returns [WeatherOutput]
Arguments
Name | Description |
---|---|
cities - [LocationInput]!
|
|
numberOfDays - Int
|
|
ti - Int
|
Time Interval: 1 = hour by hour, 2 = every two hours and so on |
Example
Query
query weather(
$cities: [LocationInput]!,
$numberOfDays: Int,
$ti: Int
) {
weather(
cities: $cities,
numberOfDays: $numberOfDays,
ti: $ti
) {
location
offset
ep
request {
type
query
}
current_condition {
observation_time
temp_C
temp_F
weatherCode
weatherIconUrl {
value
}
weatherDesc {
value
}
windspeedMiles
windspeedKmph
winddirDegree
winddir16Point
precipMM
humidity
visibility
pressure
cloudcover
FeelsLikeC
FeelsLikeF
}
weather {
date
astronomy {
sunrise
sunset
moonrise
moonset
}
maxtempC
maxtempF
mintempC
mintempF
totalSnow_cm
sunHour
uvIndex
hourly {
time
UTCdate
UTCtime
tempC
tempF
windspeedMiles
windspeedKmph
winddirDegree
winddir16Point
weatherCode
weatherIconUrl {
...ValueFragment
}
weatherDesc {
...ValueFragment
}
precipMM
humidity
visibility
pressure
cloudcover
HeatIndexC
HeatIndexF
DewPointC
DewPointF
WindChillC
WindChillF
WindGustMiles
WindGustKmph
FeelsLikeC
FeelsLikeF
chanceofrain
chanceofremdry
chanceofwindy
chanceofovercast
chanceofsunshine
chanceoffrost
chanceofhightemp
chanceoffog
chanceofsnow
chanceofthunder
}
}
ClimateAverages {
month {
index
name
avgMinTemp
avgMinTemp_F
absMaxTemp
absMaxTemp_F
avgDailyRainfall
}
}
}
}
Variables
{
"cities": [LocationInput],
"numberOfDays": 123,
"ti": 123
}
Response
{
"data": {
"weather": [
{
"location": "xyz789",
"offset": 123,
"ep": 123.45,
"request": [Request],
"current_condition": [CurrentCondition],
"weather": [Weather],
"ClimateAverages": [ClimateAverages]
}
]
}
}
weekWeatherForecast
Response
Returns [weekWeatherOutput]
Example
Query
query weekWeatherForecast(
$place: String!,
$dt: String,
$ep: Float
) {
weekWeatherForecast(
place: $place,
dt: $dt,
ep: $ep
) {
location
offset
ep
date
avgDayForecast {
time
UTCdate
UTCtime
tempC
tempF
windspeedMiles
windspeedKmph
winddirDegree
winddir16Point
weatherCode
weatherIconUrl {
value
}
weatherDesc {
value
}
precipMM
humidity
visibility
pressure
cloudcover
HeatIndexC
HeatIndexF
DewPointC
DewPointF
WindChillC
WindChillF
WindGustMiles
WindGustKmph
FeelsLikeC
FeelsLikeF
chanceofrain
chanceofremdry
chanceofwindy
chanceofovercast
chanceofsunshine
chanceoffrost
chanceofhightemp
chanceoffog
chanceofsnow
chanceofthunder
}
dayForecast {
time
UTCdate
UTCtime
tempC
tempF
windspeedMiles
windspeedKmph
winddirDegree
winddir16Point
weatherCode
weatherIconUrl {
value
}
weatherDesc {
value
}
precipMM
humidity
visibility
pressure
cloudcover
HeatIndexC
HeatIndexF
DewPointC
DewPointF
WindChillC
WindChillF
WindGustMiles
WindGustKmph
FeelsLikeC
FeelsLikeF
chanceofrain
chanceofremdry
chanceofwindy
chanceofovercast
chanceofsunshine
chanceoffrost
chanceofhightemp
chanceoffog
chanceofsnow
chanceofthunder
}
nightForecast {
time
UTCdate
UTCtime
tempC
tempF
windspeedMiles
windspeedKmph
winddirDegree
winddir16Point
weatherCode
weatherIconUrl {
value
}
weatherDesc {
value
}
precipMM
humidity
visibility
pressure
cloudcover
HeatIndexC
HeatIndexF
DewPointC
DewPointF
WindChillC
WindChillF
WindGustMiles
WindGustKmph
FeelsLikeC
FeelsLikeF
chanceofrain
chanceofremdry
chanceofwindy
chanceofovercast
chanceofsunshine
chanceoffrost
chanceofhightemp
chanceoffog
chanceofsnow
chanceofthunder
}
}
}
Variables
{
"place": "xyz789",
"dt": "xyz789",
"ep": 123.45
}
Response
{
"data": {
"weekWeatherForecast": [
{
"location": "xyz789",
"offset": 123,
"ep": 987.65,
"date": "abc123",
"avgDayForecast": Hourly,
"dayForecast": Hourly,
"nightForecast": Hourly
}
]
}
}
Types
Astronomy
BestLine
Example
BestLine
BetSlipArgs
BetSlipInfo
Fields
Field Name | Description |
---|---|
events - [Event]
|
|
currentLines - [JSON]
|
|
Arguments
|
|
marketTypes - [MarketTypeWithSettings]
|
Example
{
"events": [Event],
"currentLines": [{}],
"marketTypes": [MarketTypeWithSettings]
}
BettingOption
BettingOptionsV2
Possible Types
BettingOptionsV2 Types |
---|
Example
{
"id": 987,
"type": "abc123",
"bestLines": LinesV2
}
Boolean
Description
The Boolean
scalar type represents true
or false
.
Example
true
CMSRegion
CMSSportsbook
Caption
Fields
Field Name | Description |
---|---|
eventId - Int
|
|
tab - String
|
|
summary - String
|
|
insights - [String]
|
|
seoKeywordsUsed - [String]
|
|
bestBet - String
|
|
pageTitle - String
|
|
pageH1 - String
|
|
metaDescription - String
|
|
faqsQuestions - [String]
|
|
faqsAnswers - [String]
|
|
createdDate - Float
|
|
updatedDate - Float
|
|
updatesCount - Int
|
Example
{
"eventId": 987,
"tab": "abc123",
"summary": "xyz789",
"insights": ["xyz789"],
"seoKeywordsUsed": ["xyz789"],
"bestBet": "xyz789",
"pageTitle": "xyz789",
"pageH1": "xyz789",
"metaDescription": "abc123",
"faqsQuestions": ["abc123"],
"faqsAnswers": ["abc123"],
"createdDate": 987.65,
"updatedDate": 123.45,
"updatesCount": 123
}
Category
CategoryBySportsbook
Example
{
"catid": 987,
"nam": "xyz789",
"alias": "abc123",
"sitid": 123,
"enabled": true,
"ord": 123,
"generateBestLines": true,
"sbid": 123,
"affiliate": "abc123",
"prefix": "xyz789",
"suffix": "abc123",
"paid": 123,
"iid": "abc123"
}
ClimateAverages
Fields
Field Name | Description |
---|---|
month - [Month]
|
Example
{"month": [Month]}
CompetitionWinner
Conference
Consensus
Fields
Field Name | Description |
---|---|
eid - Int
|
Event Id |
mtid - Int
|
Market Type Id |
bb - Int
|
Best Bet |
boid - Int
|
Betting Option Id |
partid - Int
|
Participant Id |
sbid - Int
|
Sportsbook Id |
paid - Int
|
Provider Id |
lineid - Float
|
Line Id |
wag - Int
|
Wager |
perc - Float
|
Consensus Percentage |
vol - Float
|
Consensus Volume |
tvol - Float
|
Consensus Volume Total |
sequence - Int
|
Sequence |
tim - Float
|
Timestamp |
wb - Int
|
WhaleBets |
line - JSON
|
Line from line history |
Example
{
"eid": 987,
"mtid": 987,
"bb": 123,
"boid": 123,
"partid": 987,
"sbid": 123,
"paid": 123,
"lineid": 987.65,
"wag": 123,
"perc": 123.45,
"vol": 123.45,
"tvol": 987.65,
"sequence": 987,
"tim": 123.45,
"wb": 123,
"line": {}
}
ConsensusV2
ConsensusWithMaxSequence
Fields
Field Name | Description |
---|---|
consensus - [Consensus]
|
list of consensus |
maxSequence - Float
|
max sequence in consensus |
Example
{"consensus": [Consensus], "maxSequence": 987.65}
CurrentCondition
Fields
Field Name | Description |
---|---|
observation_time - String
|
|
temp_C - String
|
|
temp_F - String
|
|
weatherCode - String
|
|
weatherIconUrl - [Value]
|
|
weatherDesc - [Value]
|
|
windspeedMiles - String
|
|
windspeedKmph - String
|
|
winddirDegree - String
|
|
winddir16Point - String
|
|
precipMM - String
|
|
humidity - String
|
|
visibility - String
|
|
pressure - String
|
|
cloudcover - String
|
|
FeelsLikeC - String
|
|
FeelsLikeF - String
|
Example
{
"observation_time": "xyz789",
"temp_C": "xyz789",
"temp_F": "xyz789",
"weatherCode": "abc123",
"weatherIconUrl": [Value],
"weatherDesc": [Value],
"windspeedMiles": "abc123",
"windspeedKmph": "abc123",
"winddirDegree": "abc123",
"winddir16Point": "abc123",
"precipMM": "xyz789",
"humidity": "abc123",
"visibility": "xyz789",
"pressure": "abc123",
"cloudcover": "abc123",
"FeelsLikeC": "xyz789",
"FeelsLikeF": "xyz789"
}
CurrentLinesWithMaxSequence
Customized
DefaultEntity
DepthChart
Example
{
"id": 123,
"seid": 987,
"tmid": 987,
"pid": 987,
"pposid": 123,
"week": 987,
"val": 123,
"position": Position,
"eid": 987,
"cfrd": true,
"strtr": false
}
Division
Domain
Fields
Field Name | Description |
---|---|
did - Int
|
Domain Id |
sitid - Int
|
Site Id |
nam - String
|
Domain Name |
isSportCustomized - Customized
|
Are Domain Sports Customized? |
isLeagueCustomized - Customized
|
Indicates if domain has custom league settings |
isMarketTypeCustomized - Customized
|
Indicates if domain has custom market type settings |
isMarketTypeGroupCustomized - Customized
|
Indicates if domain has custom market type group settings |
isFooterBarCustomized - Customized
|
Indicates if domain has footer bar options settings |
isFamilyBarCustomized - Customized
|
Indicates if domain has family bar options settings |
ord - Int
|
Domain List Order |
ismainregion - Boolean
|
Is Main region |
countries - String
|
Country Id List |
enabled - Boolean
|
Is Domain enabled |
Example
{
"did": 987,
"sitid": 987,
"nam": "abc123",
"isSportCustomized": Customized,
"isLeagueCustomized": Customized,
"isMarketTypeCustomized": Customized,
"isMarketTypeGroupCustomized": Customized,
"isFooterBarCustomized": Customized,
"isFamilyBarCustomized": Customized,
"ord": 123,
"ismainregion": true,
"countries": "abc123",
"enabled": false
}
ENT
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"EVENT"
EntityReference
Example
EntityReference
EntityV2
Possible Types
EntityV2 Types |
---|
Example
{"id": 987, "type": "abc123"}
Event
Fields
Field Name | Description |
---|---|
eid - Int
|
|
srid - String
|
|
cit - String
|
|
dt - Float
|
|
des - String
|
|
es - String
|
|
ic - Boolean
|
|
hl - Boolean
|
|
lu - String
|
|
lid - Int
|
|
rid - Int
|
|
spid - Int
|
|
sta - String
|
|
st - String
|
|
cou - String
|
|
zcode - String
|
|
ven - String
|
|
tvs - String
|
|
sequence - Int
|
|
seid - Int
|
|
writeingame - Boolean
|
|
scores - [Score]
|
|
league - LeagueWithSettings
|
|
participants - [Participant]
|
|
Arguments
|
|
statistics - [Statistic]
|
Event statistics Statistics Group Id: Int |
statisticsByGroups - [StatisticByGroup]
|
|
eventStatisticsByGroup - [StatisticByGroup]
|
Event statistics by EventId on entity reference id |
Arguments
|
|
marketType - MarketTypeWithSettings
|
|
marketTypes - [MarketTypeWithSettings]
|
|
currentLines - [JSON]
|
|
openingLines - [JSON]
|
|
bestLines - [JSON]
|
|
bettingOptions - [EventBettingOption]
|
|
plays - [Play]
|
Event play by play Play Group Id: Int |
eventGroup - EventGroup
|
|
eventTags - [EventTag]
|
|
captions - [Caption]
|
|
consensus - [Consensus]
|
|
consensusV2 - [ConsensusV2]
|
|
weather - [WeatherOutput]
|
|
eventMarketsCount - Int
|
|
tl - String
|
|
att - Int
|
|
fo - String
|
|
tr - Int
|
|
lat - Float
|
|
lon - Float
|
|
seg - String
|
Season Group |
slg - String
|
Slug |
cov - String
|
Coverage |
rft - String
|
Roof type |
ipc - Boolean
|
Is prop competition? |
marketCounter - Int
|
Market Types Counter |
marketResults - [MarketResult]
|
|
lastRoster - Participant
|
Example
{
"eid": 987,
"srid": "xyz789",
"cit": "abc123",
"dt": 987.65,
"des": "xyz789",
"es": "abc123",
"ic": true,
"hl": false,
"lu": "xyz789",
"lid": 123,
"rid": 987,
"spid": 123,
"sta": "xyz789",
"st": "abc123",
"cou": "abc123",
"zcode": "abc123",
"ven": "abc123",
"tvs": "abc123",
"sequence": 987,
"seid": 987,
"writeingame": false,
"scores": [Score],
"league": LeagueWithSettings,
"participants": [Participant],
"statistics": [Statistic],
"statisticsByGroups": [StatisticByGroup],
"eventStatisticsByGroup": [StatisticByGroup],
"marketType": MarketTypeWithSettings,
"marketTypes": [MarketTypeWithSettings],
"currentLines": [{}],
"openingLines": [{}],
"bestLines": [{}],
"bettingOptions": [EventBettingOption],
"plays": [Play],
"eventGroup": EventGroup,
"eventTags": [EventTag],
"captions": [Caption],
"consensus": [Consensus],
"consensusV2": [ConsensusV2],
"weather": [WeatherOutput],
"eventMarketsCount": 987,
"tl": "xyz789",
"att": 123,
"fo": "abc123",
"tr": 987,
"lat": 987.65,
"lon": 123.45,
"seg": "abc123",
"slg": "xyz789",
"cov": "abc123",
"rft": "abc123",
"ipc": true,
"marketCounter": 987,
"marketResults": [MarketResult],
"lastRoster": Participant
}
EventBettingOption
Example
{
"eid": 123,
"partid": 123,
"boid": 987,
"nam": "abc123",
"mtid": 987,
"spid": 123,
"sequence": 987
}
EventCatalog
Fields
Field Name | Description |
---|---|
des - String
|
Event description |
date - String
|
Date |
league - String
|
League |
sport - String
|
Sport |
spid - String
|
Sport Id |
region - String
|
Region |
eid - Int
|
Event Id |
searchParticipants - [SearchParticipant]
|
Participants used to filter |
eventParticipants - String
|
Participants from events |
lid - Int
|
League Id |
path - String
|
Path |
Example
{
"des": "xyz789",
"date": "abc123",
"league": "xyz789",
"sport": "xyz789",
"spid": "xyz789",
"region": "abc123",
"eid": 987,
"searchParticipants": [SearchParticipant],
"eventParticipants": "abc123",
"lid": 987,
"path": "xyz789"
}
EventDateCount
EventEntity
EventFilter
Fields
Field Name | Description |
---|---|
efid - String
|
EventFilterId |
nam - String
|
Event Filter Name |
efgids - String
|
Event Filter Groups Ids |
spid - Int
|
Sport Id |
mtids - [Int]
|
Market Types Ids |
events - [Event]
|
Array of Events |
lids - [Int]
|
Array of Leagues Ids |
eids - [Int]
|
Array of Event Ids for filter |
rids - [Int]
|
Array of Event Ids for filter |
sortmode - String
|
|
filtertype - String
|
Form Select Type |
eventtoshow - Int
|
Number of Events to Show |
cutoffpoint - String
|
Hours or Days option |
amount - Int
|
Amount of Game to Appears |
ord - Int
|
Order on the list |
showlive - Boolean
|
is Event Show Live |
minutes - Int
|
Minutes to Show Live |
enabled - Boolean
|
is Event Filter Enabled |
active - Boolean
|
Logical delete |
Example
{
"efid": "xyz789",
"nam": "abc123",
"efgids": "abc123",
"spid": 123,
"mtids": [987],
"events": [Event],
"lids": [987],
"eids": [123],
"rids": [987],
"sortmode": "xyz789",
"filtertype": "abc123",
"eventtoshow": 123,
"cutoffpoint": "xyz789",
"amount": 123,
"ord": 987,
"showlive": true,
"minutes": 987,
"enabled": true,
"active": true
}
EventFilterGroup
Fields
Field Name | Description |
---|---|
efgid - String
|
Event Filter Group Id |
nam - String
|
Event Filter Group Name |
sitid - Int
|
Site Id |
ord - Int
|
Order on the list |
maxshow - Int
|
Maximum number of events to show |
enabled - Boolean
|
is Event Group Enabled |
active - Boolean
|
Logical delete |
eventsFilters - [EventFilter]
|
|
maxSequences - MaxSequences
|
Example
{
"efgid": "xyz789",
"nam": "xyz789",
"sitid": 987,
"ord": 123,
"maxshow": 987,
"enabled": false,
"active": false,
"eventsFilters": [EventFilter],
"maxSequences": MaxSequences
}
EventFilterGroupLegacy
Fields
Field Name | Description |
---|---|
egid - String
|
Event filter Group Id |
sitid - Int
|
Site Id |
settings - EventFilterGroupSettings
|
|
Example
{
"egid": "abc123",
"sitid": 987,
"settings": EventFilterGroupSettings
}
EventFilterGroupMarketTypeSetting
EventFilterGroupSettings
EventFilterGroupWithEventIds
Fields
Field Name | Description |
---|---|
egid - String
|
Event Group Id |
sitid - Int
|
Site Id |
eventIdsBySport - [EventIdsBySport]
|
Event Ids grouped by Sport |
Arguments
|
|
eventIdsByFilter - [eventIdsByFilter]
|
|
Arguments
|
Example
{
"egid": "xyz789",
"sitid": 123,
"eventIdsBySport": [EventIdsBySport],
"eventIdsByFilter": [eventIdsByFilter]
}
EventFilterGroupWithEvents
Fields
Field Name | Description |
---|---|
egid - String
|
Event filter Group Id |
eventsBySport - [EventsBySport]
|
Events Grouped by Sport |
eventsByFilter - [EventsByFilter]
|
|
maxSequences - MaxSequences
|
Example
{
"egid": "abc123",
"eventsBySport": [EventsBySport],
"eventsByFilter": [EventsByFilter],
"maxSequences": MaxSequences
}
EventFilterGroupsArgs
Fields
Input Field | Description |
---|---|
efgids - [String]
|
Event Filter Group |
sitid - Int
|
Site id |
timeZoneOffset - Float
|
Time zone offset |
startdate - Float
|
Start date |
showLive - ShowLive
|
Setting to manage live events |
spid - [Int]
|
Setting to filter event filter groups by sport ids |
marketTypes - [EventFilterGroupMarketTypeSetting]
|
|
active - Boolean
|
|
enabled - Boolean
|
Example
{
"efgids": ["abc123"],
"sitid": 123,
"timeZoneOffset": 987.65,
"startdate": 987.65,
"showLive": "ONLY_LIVE_EVENTS",
"spid": [123],
"marketTypes": [EventFilterGroupMarketTypeSetting],
"active": false,
"enabled": false
}
EventGroup
Example
{
"egid": 123,
"nam": "abc123",
"alias": "xyz789",
"lid": 987,
"eid": 123,
"disord": 987,
"ic": false,
"sdt": 123.45,
"edt": 987.65,
"parentname": "xyz789",
"parentid": 123
}
EventGroupBySeason
Fields
Field Name | Description |
---|---|
egid - Int
|
Event Group Id |
nam - String
|
Event Group Name |
alias - String
|
Event Group Alias |
ceg - Int
|
Current Event Group |
seid - Int
|
Season Id |
disord - Int
|
Display Order |
sdt - Float
|
Start Date |
edt - Float
|
End Date |
eids - [Int]
|
Event Group Events Ids |
mtids - [Int]
|
Event Group Market Types Ids |
hl - Boolean
|
Have Event Group Lines? |
Arguments
|
|
isCurrent - Boolean
|
Is this the current season? |
Example
{
"egid": 987,
"nam": "abc123",
"alias": "xyz789",
"ceg": 987,
"seid": 123,
"disord": 123,
"sdt": 987.65,
"edt": 123.45,
"eids": [987],
"mtids": [987],
"hl": true,
"isCurrent": true
}
EventIdsBySport
EventIdsSlugInfo
EventInfoByParticipant
Example
{
"partid": 987,
"eid": [123],
"events": [Event],
"eventsByParticipant": [Event]
}
EventInput
EventLines
Fields
Field Name | Description |
---|---|
eid - Int
|
|
markettypes - [MarkettypeV2]
|
Example
{"eid": 123, "markettypes": [MarkettypeV2]}
EventLinesInput
Fields
Input Field | Description |
---|---|
eid - Int!
|
Event Id |
markets - [MarketsInput]
|
Example
{"eid": 987, "markets": [MarketsInput]}
EventLocation
Example
{
"eid": 987,
"lat": 123.45,
"lon": 987.65,
"add": "abc123",
"cou": "abc123",
"sta": "xyz789",
"ven": "xyz789",
"cit": "xyz789",
"zcode": "xyz789",
"att": 123,
"fo": "xyz789"
}
EventMarketLine
EventMarkets
Fields
Field Name | Description |
---|---|
mtids - [Int]
|
Example
{"mtids": [987]}
EventRegion
EventRoster
Fields
Field Name | Description |
---|---|
erid - Int
|
EventRoster Id |
eid - Int
|
Event Id |
sid - Int
|
Side Id |
pid - Int
|
PlayerId |
partid - Int
|
Participant Id |
act - Boolean
|
Is Active? |
sequence - Int
|
Sequence |
ilu - Boolean
|
Is line up? |
luo - Int
|
Line up order |
roster - Player
|
Event Player |
statisticsByGroups - [StatisticByGroup]
|
Statistics By Groups |
Example
{
"erid": 123,
"eid": 987,
"sid": 123,
"pid": 987,
"partid": 987,
"act": true,
"sequence": 987,
"ilu": true,
"luo": 123,
"roster": Player,
"statisticsByGroups": [StatisticByGroup]
}
EventTag
EventWithPrediction
EventsByFilter
EventsByParticipant
EventsBySport
EventsCarousel
Fields
Field Name | Description |
---|---|
eventFilterGroups - [EventFilterGroup]
|
|
sportbooksByCategory - [SportbooksByCategory]
|
|
maxSequences - MaxSequences
|
Example
{
"eventFilterGroups": [EventFilterGroup],
"sportbooksByCategory": [SportbooksByCategory],
"maxSequences": MaxSequences
}
EventsWithMaxSequence
EventsWithMaxSequences
Fields
Field Name | Description |
---|---|
events - [Event]
|
|
maxSequences - MaxSequences
|
Example
{
"events": [Event],
"maxSequences": MaxSequences
}
Float
Description
The Float
scalar type represents signed double-precision fractional values as specified by IEEE 754.
Example
987.65
GenericBettingOption
GeolocationIntput
GroupInput
Fields
Input Field | Description |
---|---|
by - [String]!
|
Example
{"by": ["abc123"]}
GroupedHistoryLine
HistoryLine
Hourly
Fields
Field Name | Description |
---|---|
time - String
|
|
UTCdate - String
|
|
UTCtime - String
|
|
tempC - String
|
|
tempF - String
|
|
windspeedMiles - String
|
|
windspeedKmph - String
|
|
winddirDegree - String
|
|
winddir16Point - String
|
|
weatherCode - String
|
|
weatherIconUrl - [Value]
|
|
weatherDesc - [Value]
|
|
precipMM - String
|
|
humidity - String
|
|
visibility - String
|
|
pressure - String
|
|
cloudcover - String
|
|
HeatIndexC - String
|
|
HeatIndexF - String
|
|
DewPointC - String
|
|
DewPointF - String
|
|
WindChillC - String
|
|
WindChillF - String
|
|
WindGustMiles - String
|
|
WindGustKmph - String
|
|
FeelsLikeC - String
|
|
FeelsLikeF - String
|
|
chanceofrain - String
|
|
chanceofremdry - String
|
|
chanceofwindy - String
|
|
chanceofovercast - String
|
|
chanceofsunshine - String
|
|
chanceoffrost - String
|
|
chanceofhightemp - String
|
|
chanceoffog - String
|
|
chanceofsnow - String
|
|
chanceofthunder - String
|
Example
{
"time": "abc123",
"UTCdate": "xyz789",
"UTCtime": "xyz789",
"tempC": "abc123",
"tempF": "xyz789",
"windspeedMiles": "xyz789",
"windspeedKmph": "abc123",
"winddirDegree": "xyz789",
"winddir16Point": "abc123",
"weatherCode": "xyz789",
"weatherIconUrl": [Value],
"weatherDesc": [Value],
"precipMM": "abc123",
"humidity": "abc123",
"visibility": "abc123",
"pressure": "abc123",
"cloudcover": "abc123",
"HeatIndexC": "xyz789",
"HeatIndexF": "xyz789",
"DewPointC": "xyz789",
"DewPointF": "abc123",
"WindChillC": "xyz789",
"WindChillF": "abc123",
"WindGustMiles": "abc123",
"WindGustKmph": "abc123",
"FeelsLikeC": "abc123",
"FeelsLikeF": "xyz789",
"chanceofrain": "abc123",
"chanceofremdry": "abc123",
"chanceofwindy": "xyz789",
"chanceofovercast": "xyz789",
"chanceofsunshine": "xyz789",
"chanceoffrost": "xyz789",
"chanceofhightemp": "xyz789",
"chanceoffog": "xyz789",
"chanceofsnow": "xyz789",
"chanceofthunder": "xyz789"
}
Image
Example
{
"id": "xyz789",
"filename": "xyz789",
"title": "xyz789",
"description": "abc123",
"tags": ["abc123"],
"sizes": Size,
"updatedAt": 987.65,
"createdAt": 987.65
}
InjuryResponse
Fields
Field Name | Description |
---|---|
pid - Int
|
Player ID |
tmid - Int
|
Team ID |
seid - Int
|
Season ID |
typ - String
|
Injury type |
stt - String
|
Injury status |
loc - String
|
Location |
det - String
|
Injury detail |
side - String
|
Injury side |
retdt - Float
|
Return date |
disch - Boolean
|
Discharged |
hl - String
|
|
not - String
|
|
newstim - Float
|
|
newsdate - Float
|
|
teamRosterPlayer - TeamRosterPlayer
|
|
prio - Int
|
Priority |
isKeyInjuredPlayer - Boolean
|
Is Injured a key Player? |
Example
{
"pid": 123,
"tmid": 987,
"seid": 987,
"typ": "xyz789",
"stt": "abc123",
"loc": "abc123",
"det": "xyz789",
"side": "xyz789",
"retdt": 987.65,
"disch": false,
"hl": "xyz789",
"not": "xyz789",
"newstim": 987.65,
"newsdate": 987.65,
"teamRosterPlayer": TeamRosterPlayer,
"prio": 123,
"isKeyInjuredPlayer": false
}
InputQueryFloat
Int
Description
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Example
987
JSON
Description
The JSON
scalar type represents JSON values as specified by ECMA-404.
Example
{}
JSON
Description
The JSON
scalar type represents JSON values as specified by ECMA-404.
Example
{}
JSON
Description
The JSON
scalar type represents JSON values as specified by ECMA-404.
Example
{}
LINESOPTIONS
Values
Enum Value | Description |
---|---|
|
|
|
|
|
Example
"BESTLINES"
League
LeagueCatalog
Fields
Field Name | Description |
---|---|
did - Int
|
Domain Id |
lid - Int
|
League Id |
nam - String
|
League Name |
rid - Int
|
Region Id |
spid - Int
|
Sport Id |
sn - String
|
League Short Name |
region - RegionLeague
|
Region |
settings - LeagueSettings
|
Settings |
path - String
|
Path |
Example
{
"did": 123,
"lid": 987,
"nam": "xyz789",
"rid": 987,
"spid": 987,
"sn": "abc123",
"region": RegionLeague,
"settings": LeagueSettings,
"path": "xyz789"
}
LeagueFilter
LeagueGroup
LeagueHierarchy
Fields
Field Name | Description |
---|---|
teamId - Int
|
|
seasonId - Int
|
|
leagueId - Int
|
|
conference - Conference
|
|
division - Division
|
Example
{
"teamId": 123,
"seasonId": 987,
"leagueId": 987,
"conference": Conference,
"division": Division
}
LeagueMarket
LeagueSeasonInfo
Example
{
"lid": 987,
"lnam": "xyz789",
"seid": 123,
"senam": "abc123",
"spid": 123,
"spnam": "xyz789",
"rid": 987,
"rnam": "xyz789",
"sdt": 987.65,
"edt": 123.45
}
LeagueSetting
Fields
Field Name | Description |
---|---|
lid - Int
|
League Id |
sitid - Int
|
Site Id |
did - Int
|
Domain Id |
enabled - Boolean
|
Is Enabled? |
alias - String
|
|
rotation - Boolean
|
Show Rotation? |
ord - Int
|
Order |
shortnamealias - String
|
Short name for alias |
shortnamebreakpoint - String
|
Specifies the breakpoint to display the short name alias instead of the alias |
matchupline - Boolean
|
Matchup link? |
_isCustom - Boolean
|
Is Custom League |
_isFavorite - Boolean
|
Is Favorite League |
_isDefaultFavorite - Boolean
|
Is Default Favorite Setting |
Example
{
"lid": 987,
"sitid": 123,
"did": 987,
"enabled": true,
"alias": "abc123",
"rotation": false,
"ord": 987,
"shortnamealias": "abc123",
"shortnamebreakpoint": "abc123",
"matchupline": true,
"_isCustom": true,
"_isFavorite": false,
"_isDefaultFavorite": true
}
LeagueSettings
LeagueV2
Fields
Field Name | Description |
---|---|
lid - Int
|
|
nam - String
|
|
rid - Int
|
|
spid - Int
|
|
marketType - MarketTypeWithSettings
|
|
sport - Sport
|
|
sn - String
|
|
enabled - Boolean
|
|
alias - String
|
|
rotation - Boolean
|
|
sitid - Int
|
|
did - Int
|
|
region - Region
|
|
lurl - String
|
League Logo URL |
settings - LeagueSetting
|
Custom Settings for the league Domain Name did: Int! |
Example
{
"lid": 987,
"nam": "abc123",
"rid": 987,
"spid": 123,
"marketType": MarketTypeWithSettings,
"sport": Sport,
"sn": "abc123",
"enabled": false,
"alias": "xyz789",
"rotation": true,
"sitid": 123,
"did": 987,
"region": Region,
"lurl": "abc123",
"settings": LeagueSetting
}
LeagueWithSettings
Fields
Field Name | Description |
---|---|
lid - Int
|
League Id |
nam - String
|
Name |
rid - Int
|
Region Id |
spid - Int
|
Sport Id |
did - Int
|
Domain id |
sn - String
|
Short Name |
lurl - String
|
logo image url |
marketType - MarketTypeWithSettings
|
League MarketType |
region - Region
|
|
settings - LeagueSetting
|
League Settings coalesced between site - domain specific and default |
sport - Sport
|
League Sport |
Example
{
"lid": 123,
"nam": "xyz789",
"rid": 123,
"spid": 987,
"did": 987,
"sn": "abc123",
"lurl": "xyz789",
"marketType": MarketTypeWithSettings,
"region": Region,
"settings": LeagueSetting,
"sport": Sport
}
LeagueWithSettingsV2
Fields
Field Name | Description |
---|---|
lid - Int
|
League Id |
nam - String
|
Name |
rid - Int
|
Region Id |
spid - Int
|
Sport Id |
did - Int
|
Domain id |
lurl - String
|
logo image url |
sn - String
|
Short Name |
marketType - MarketTypeWithSettings
|
League MarketType |
region - RegionLeagueV2
|
|
settings - LeagueSetting
|
League Settings coalesced between site - domain specific and default |
Example
{
"lid": 123,
"nam": "abc123",
"rid": 987,
"spid": 123,
"did": 123,
"lurl": "abc123",
"sn": "xyz789",
"marketType": MarketTypeWithSettings,
"region": RegionLeagueV2,
"settings": LeagueSetting
}
LeaguesAndRegionsBySport
Fields
Field Name | Description |
---|---|
sitid - Int
|
Site Id |
did - Int
|
Domain Id |
sports - [SportsWithRegions]
|
Example
{"sitid": 123, "did": 123, "sports": [SportsWithRegions]}
LeaguesWithEventGroups
Example
{
"lid": 987,
"nam": "abc123",
"sn": "xyz789",
"enabled": false,
"alias": "abc123",
"rotation": true,
"domainOrd": 987,
"defaultOrd": 123,
"shortnamealias": "xyz789",
"shortnamebreakpoint": "abc123",
"matchupline": false,
"lurl": "abc123",
"eventGroupsByLeague": [EventGroup]
}
LineById
Fields
Field Name | Description |
---|---|
lineid - Float
|
|
mtid - Int
|
|
eid - Int
|
|
boid - Int
|
|
paid - Int
|
|
sbid - Int
|
|
tim - Float
|
|
partid - Int
|
|
sequence - Float
|
|
adj - Float
|
|
pri - Float
|
|
dp - Float
|
|
bs - String
|
|
iof - Boolean
|
|
ap - Int
|
|
fpd - Int
|
|
fpn - Int
|
|
entrid - Float
|
|
mtgrp - String
|
|
tmid - Int
|
|
isbestline - Boolean
|
|
event - Event
|
|
entityReference - EntityReference
|
|
player - PlayerInfo
|
|
team - TeamInfo
|
Example
{
"lineid": 123.45,
"mtid": 987,
"eid": 987,
"boid": 123,
"paid": 987,
"sbid": 987,
"tim": 987.65,
"partid": 987,
"sequence": 987.65,
"adj": 987.65,
"pri": 123.45,
"dp": 123.45,
"bs": "abc123",
"iof": true,
"ap": 987,
"fpd": 123,
"fpn": 123,
"entrid": 987.65,
"mtgrp": "xyz789",
"tmid": 123,
"isbestline": false,
"event": Event,
"entityReference": EntityReference,
"player": PlayerInfo,
"team": TeamInfo
}
LineUp
Fields
Field Name | Description |
---|---|
tmrid - Int
|
Team Roster Id |
tmid - Int
|
Team Id |
pid - Int
|
Player Id |
seid - Int
|
Season Id |
act - Boolean
|
Is Active? |
pnum - Int
|
Player Number |
ppid - Int
|
Player Position Id |
ppnam - String
|
Player Position Name |
ppsn - String
|
Player Position Short Name |
ppprio - Int
|
Player Position Priority |
depthChart - [DepthChart]
|
|
startingGolie - DepthChart
|
Starting Golies for Hockey |
Arguments
|
|
player - Player
|
|
position - Position
|
|
confirmed - Boolean
|
|
starter - Boolean
|
Example
{
"tmrid": 123,
"tmid": 123,
"pid": 987,
"seid": 987,
"act": false,
"pnum": 123,
"ppid": 987,
"ppnam": "abc123",
"ppsn": "xyz789",
"ppprio": 123,
"depthChart": [DepthChart],
"startingGolie": DepthChart,
"player": Player,
"position": Position,
"confirmed": false,
"starter": false
}
LinesByPlayer
Example
LinesByPlayer
LinesV2
Example
{
"lineid": 123.45,
"sequence": 123.45,
"mtid": 123,
"eid": 987,
"boid": 123,
"paid": 123,
"sbid": 123,
"tim": 123.45,
"partid": 123,
"adj": 987.65,
"pri": 987.65,
"dp": 123.45,
"bs": "abc123",
"iof": true,
"ap": 123,
"fpd": 123,
"fpn": 123,
"entrid": 123.45,
"mtgrp": "xyz789",
"tmid": 123
}
LocationInput
MainAffiliate
MarketResult
Example
{
"mtid": 987,
"resultValue": 987.65,
"adj": 987.65,
"val": 123.45,
"pri": 123.45,
"paid": 123,
"ap": 987.65,
"entref": 123,
"result": "xyz789",
"lineid": 987.65,
"partid": 987
}
MarketType
MarketTypeGroup
MarketTypeGroupFiltered
Example
{
"mtgid": 987,
"ord": 987,
"spid": 987,
"nam": "xyz789",
"alias": "abc123",
"mtids": [MarketTypeWithSettings]
}
MarketTypeGroupSetting
Fields
Field Name | Description |
---|---|
sitid - Int
|
Site Id |
mtgid - Int
|
MarketType Id |
did - Int
|
Domain Id |
enabled - Boolean
|
Is Market Type enabled? |
ord - Int
|
Order on the list |
alias - String
|
MarketType alias |
url - String
|
MarketType url |
active - Boolean
|
MarketTypeGroup active? |
_isCustom - Boolean
|
|
_isFavorite - Boolean
|
|
_isDefaultFavorite - Boolean
|
Example
{
"sitid": 123,
"mtgid": 123,
"did": 987,
"enabled": false,
"ord": 123,
"alias": "xyz789",
"url": "abc123",
"active": true,
"_isCustom": false,
"_isFavorite": true,
"_isDefaultFavorite": true
}
MarketTypeGroupWithMarketTypes
Fields
Field Name | Description |
---|---|
mtgid - Int!
|
Market Type Group Id |
mtids - [MarketTypesByMarketTypeGroup!]
|
List of Market Types |
Example
{"mtgid": 987, "mtids": [MarketTypesByMarketTypeGroup]}
MarketTypeGroupWithSettings
Fields
Field Name | Description |
---|---|
mtgid - Int
|
MarketType Group Id |
spid - Int
|
Sport Id |
nam - String
|
Name |
sitid - Int
|
Site Id |
did - Int
|
Domain Id |
marketTypes - [MarketTypeWithSettings]
|
MarketTypes List |
settings - MarketTypeGroupSetting
|
Example
{
"mtgid": 987,
"spid": 123,
"nam": "xyz789",
"sitid": 987,
"did": 123,
"marketTypes": [MarketTypeWithSettings],
"settings": MarketTypeGroupSetting
}
MarketTypeLayout
Values
Enum Value | Description |
---|---|
|
|
|
Example
"PARTICIPANTS"
MarketTypeSetting
Fields
Field Name | Description |
---|---|
mtid - Int
|
MarketType Id |
spid - Int
|
Sport Id |
sitid - Int
|
Site Id |
did - Int
|
Domain Id |
enabled - Boolean
|
Is Market Type enabled? |
alias - String
|
MarketType alias |
url - String
|
MarketType url |
sort - String
|
MarketType sortable option |
template - String
|
MarketType template |
format - String
|
MarketType format |
layout - String
|
MarketType layout |
_isCustom - Boolean
|
Example
{
"mtid": 123,
"spid": 123,
"sitid": 123,
"did": 123,
"enabled": true,
"alias": "abc123",
"url": "abc123",
"sort": "xyz789",
"template": "abc123",
"format": "xyz789",
"layout": "abc123",
"_isCustom": true
}
MarketTypeWithSettings
Example
{
"mtid": 987,
"ord": 987,
"spid": 987,
"mtgid": 987,
"nam": "xyz789",
"des": "abc123",
"format": "abc123",
"layout": "xyz789",
"settings": MarketTypeSetting
}
MarketTypesByMarketTypeGroup
MarketsByPlayer
MarketsInput
MarkettypeV2
Example
{
"mtid": 987,
"nam": "xyz789",
"des": "xyz789",
"entitytype": "xyz789",
"participanttype": "abc123",
"entities": EntityV2,
"bettingOptions": [BettingOptionsV2]
}
MatchupEvents
Fields
Field Name | Description |
---|---|
events - [Event]
|
Example
{"events": [Event]}
MatchupId
Fields
Field Name | Description |
---|---|
eid - Int
|
Event Id |
Example
{"eid": 987}
MaxSequences
Example
{
"eventsMaxSequence": 987.65,
"scoresMaxSequence": 987.65,
"linesMaxSequence": 987.65,
"liveLinesMaxSequence": 987.65,
"statisticsMaxSequence": 987.65,
"statisticsByGroupsMaxSequence": 123.45,
"consensusMaxSequence": 123.45,
"consensusV2MaxSequence": 987.65,
"playsMaxSequence": 987.65
}
MenuOption
Fields
Field Name | Description |
---|---|
mid - String
|
Menu Option Id |
sitid - Int
|
Site Id |
mbid - Int
|
Menu Bar Id |
parentlink - String
|
|
level - Int
|
Menu level |
settings - MenuOptionSetting
|
Menu Option Settings |
submenuoptions - [MenuOption]
|
Submenu Options |
Example
{
"mid": "abc123",
"sitid": 987,
"mbid": 987,
"parentlink": "xyz789",
"level": 123,
"settings": MenuOptionSetting,
"submenuoptions": [MenuOption]
}
MenuOptionSetting
Example
{
"mid": "abc123",
"did": 123,
"title": "abc123",
"url": "abc123",
"iconurl": "xyz789",
"showicon": "xyz789",
"showtext": "abc123",
"enabled": false,
"ord": 123
}
Month
Example
{
"index": "abc123",
"name": "abc123",
"avgMinTemp": "xyz789",
"avgMinTemp_F": "abc123",
"absMaxTemp": "xyz789",
"absMaxTemp_F": "abc123",
"avgDailyRainfall": "abc123"
}
MultipleResult
Fields
Field Name | Description |
---|---|
searchEvent - [EventCatalog]
|
|
searchSport - [SportCatalog]
|
|
searchLeague - [LeagueCatalog]
|
Example
{
"searchEvent": [EventCatalog],
"searchSport": [SportCatalog],
"searchLeague": [LeagueCatalog]
}
New
Example
{
"hl": "xyz789",
"not": "abc123",
"anly": "abc123",
"prio": 987,
"inid": 123,
"pid": 123,
"seid": 123,
"act": "abc123",
"tim": 123.45,
"date": 123.45
}
ORDER
Values
Enum Value | Description |
---|---|
|
|
|
Example
"ASC"
OddFormat
Participant
Fields
Field Name | Description |
---|---|
partid - Int
|
Participant Id |
eid - Int
|
Event Id |
ptid - Int
|
Participant Type Id (1=Team, 2=Player, 3=Group, 5=Division, 6=Conference) |
psid - Int
|
Participant Source Id (Team, Player, Group, Division or Conference ID) |
partbeid - Int
|
Particpant by Event Id |
act - Boolean
|
Is Active? |
stt - String
|
Status |
rot - Int
|
Rotation |
ih - Boolean
|
Is Home? |
sbrid - Int
|
Sports BookReview Id |
sppil - String
|
Starting Pitcher Player Laterality |
sppic - Boolean
|
Starting Pitcher Player Change |
tr - Int
|
Team Rank |
startingPitcher - Player
|
|
source - Source
|
|
statsIdentity - [StatisticByGroup]
|
|
pbsid - Int
|
ParticpantBySeason Id |
statisticsByGroups - [StatisticByGroup]
|
|
participantSeasonStatistics - [StatisticByGroup]
|
|
isFavorite - Boolean
|
|
eventrosters - [EventRoster]
|
Example
{
"partid": 987,
"eid": 987,
"ptid": 987,
"psid": 123,
"partbeid": 987,
"act": false,
"stt": "abc123",
"rot": 123,
"ih": true,
"sbrid": 987,
"sppil": "abc123",
"sppic": true,
"tr": 123,
"startingPitcher": Player,
"source": Team,
"statsIdentity": [StatisticByGroup],
"pbsid": 123,
"statisticsByGroups": [StatisticByGroup],
"participantSeasonStatistics": [StatisticByGroup],
"isFavorite": true,
"eventrosters": [EventRoster]
}
ParticipantByEvent
Fields
Field Name | Description |
---|---|
partid - Int
|
Participant Id |
eid - Int
|
Event Id |
ptid - Int
|
Participant Type Id |
act - Boolean
|
Is Active? |
psid - Int
|
Participant Source Id |
rot - Int
|
Rotation |
ih - Boolean
|
Is Home? |
tr - Int
|
Team Rank |
sbrid - Int
|
Sports BookReview Id |
sppil - String
|
Starting Pitcher Player Laterality |
sppic - Boolean
|
Starting Pitcher Player Change |
sppid - Int
|
Starting Pitcher Player Id |
partbeid - Int
|
ParticipantByEventId |
seid - Int
|
Season Id |
pbsid - Int
|
ParticpantBySeason Id |
Example
{
"partid": 123,
"eid": 987,
"ptid": 123,
"act": false,
"psid": 987,
"rot": 123,
"ih": false,
"tr": 987,
"sbrid": 987,
"sppil": "abc123",
"sppic": true,
"sppid": 123,
"partbeid": 123,
"seid": 987,
"pbsid": 987
}
ParticipantGroup
PicksPageType
Fields
Field Name | Description |
---|---|
eid - String
|
|
consensusV2 - [ConsensusV2]
|
|
consensus - [Consensus]
|
|
stats - [pickStats]
|
Example
{
"eid": "abc123",
"consensusV2": [ConsensusV2],
"consensus": [Consensus],
"stats": [pickStats]
}
Play
Fields
Field Name | Description |
---|---|
eid - Int
|
Event Id |
sqid - Int
|
Sequence Id |
siid - Int
|
Stat Info Id |
gid - Int
|
Group Id |
nam - String
|
Play Name |
val - String
|
Play Value |
tim - Float
|
Timestamp |
sequence - Int
|
Sequence |
driveid - String
|
|
playid - String
|
|
seq - Float
|
Play Sequence |
hPoints - Int
|
Home Points |
aPoints - Int
|
Away Points |
typ - String
|
Play Type |
sspt - String
|
Start Situation Possession Team |
sslt - String
|
Start Situation Location Team |
sslyl - Int
|
Start Situation Location Yardline |
ssc - String
|
Start Situation Clock |
ssd - Int
|
Start Situation Down |
espt - String
|
End Situation Possession Team |
eslt - String
|
End Situation Location Team |
eslyl - Int
|
End Situation Location Yardline |
esc - String
|
End Situation Clock |
esd - Int
|
End Situation Down |
desc - String
|
Play Description |
scoretype - String
|
|
scoreteam - String
|
|
qt - Int
|
Play Period Number (Quarter) |
Example
{
"eid": 123,
"sqid": 987,
"siid": 123,
"gid": 987,
"nam": "xyz789",
"val": "xyz789",
"tim": 987.65,
"sequence": 987,
"driveid": "abc123",
"playid": "xyz789",
"seq": 987.65,
"hPoints": 123,
"aPoints": 987,
"typ": "xyz789",
"sspt": "xyz789",
"sslt": "xyz789",
"sslyl": 123,
"ssc": "abc123",
"ssd": 123,
"espt": "abc123",
"eslt": "abc123",
"eslyl": 987,
"esc": "xyz789",
"esd": 987,
"desc": "xyz789",
"scoretype": "xyz789",
"scoreteam": "abc123",
"qt": 987
}
PlayGroup
Fields
Field Name | Description |
---|---|
eid - Int
|
Event Id |
gameid - String
|
|
driveid - String
|
|
seq - Float
|
PlayGroup Sequence |
sr - String
|
Start Reason |
er - String
|
End Reason |
dur - String
|
Duration |
fd - Int
|
First Downs |
gain - Int
|
|
py - Int
|
Penalty Yards |
hPoints - Int
|
Home Points |
aPoints - Int
|
Away Points |
scoretype - String
|
|
qt - Int
|
Period Number (Quarter) |
pc - Int
|
Play Count |
sd - Boolean
|
Scoring Drive? |
clock - String
|
|
yardline - Int
|
|
tl - String
|
Team Logo (SportRadarId) |
plays - [Play]
|
Example
{
"eid": 987,
"gameid": "xyz789",
"driveid": "abc123",
"seq": 123.45,
"sr": "abc123",
"er": "abc123",
"dur": "xyz789",
"fd": 987,
"gain": 987,
"py": 123,
"hPoints": 987,
"aPoints": 123,
"scoretype": "abc123",
"qt": 987,
"pc": 123,
"sd": true,
"clock": "xyz789",
"yardline": 123,
"tl": "xyz789",
"plays": [Play]
}
Player
Example
{
"pid": 123,
"fn": "xyz789",
"lnam": "abc123",
"cit": "abc123",
"sta": "xyz789",
"cou": "abc123",
"act": true,
"stt": "abc123",
"hei": 123,
"wei": 123,
"bd": 987.65,
"age": 987,
"sch": "abc123",
"dy": 123.45,
"hsurl": "xyz789",
"srid": "abc123",
"playerTeamRosters": [TeamRoster]
}
PlayerBettingOption
PlayerDetails
Fields
Field Name | Description |
---|---|
nextEvent - Event
|
|
teamRoster - TeamRoster
|
Example
{
"nextEvent": Event,
"teamRoster": TeamRoster
}
PlayerEntity
PlayerInfo
Example
PlayerInfo
PlayerPerformanceInfo
Example
PlayerPerformanceInfo
PlaysWithMaxSequence
Position
PropLines
Example
PropLines
RangeInput
Region
RegionLeague
RegionLeagueV2
RegionWithLeagues
Fields
Field Name | Description |
---|---|
rid - Int
|
RegionId |
nam - String
|
|
sn - String
|
Region Short name |
leagues - [LeaguesWithEventGroups]
|
Example
{
"rid": 987,
"nam": "abc123",
"sn": "xyz789",
"leagues": [LeaguesWithEventGroups]
}
RegionsBySport
Request
SEASONGROUP
Values
Enum Value | Description |
---|---|
|
|
|
|
|
Example
"PRE"
Score
ScoreWithMaxSequence
SearchParticipant
ShowLive
Values
Enum Value | Description |
---|---|
|
|
|
|
|
Example
"ONLY_LIVE_EVENTS"
Size
Example
{
"original": "xyz789",
"thumb": "xyz789",
"xs": "abc123",
"sm": "xyz789",
"md": "xyz789",
"lg": "abc123"
}
SortInput
Source
Types
Union Types |
---|
Example
Team
Sport
Fields
Field Name | Description |
---|---|
spid - Int
|
Sport Id |
nam - String
|
Name |
settings - SportSetting
|
Sport Settings |
Example
{
"spid": 987,
"nam": "xyz789",
"settings": SportSetting
}
SportCatalog
Fields
Field Name | Description |
---|---|
did - Int
|
Domain Id |
spid - Int
|
Sport Id |
nam - String
|
Sport Name |
settings - SportSettings
|
Settings |
path - String
|
Path |
Example
{
"did": 123,
"spid": 987,
"nam": "xyz789",
"settings": SportSettings,
"path": "abc123"
}
SportSetting
Example
{
"spid": 987,
"sitid": 987,
"did": 123,
"enabled": true,
"alias": "xyz789",
"mode": "abc123",
"ord": 123,
"nav": "abc123",
"mtid": 123
}
SportSettings
SportSettingsV2
Example
{
"spid": 123,
"act": true,
"enabled": true,
"alias": "abc123",
"mode": "abc123",
"nav": "xyz789",
"mtid": 123,
"ord": 123,
"_isCustom": true,
"_isFavorite": false
}
SportV2
Fields
Field Name | Description |
---|---|
spid - Int
|
Sport Id |
nam - String
|
Name |
sportHasCustomLeagueSettings - Customized
|
Sport has one o more leagues with custom settings |
Arguments
|
|
sportHasCustomMarketTypeSettings - Customized
|
Sport has one o more market types with custom settings |
Arguments
|
|
sportHasCustomMarketTypeGroupSettings - Customized
|
Sport has one o more market type groups with custom settings |
Arguments
|
|
settings - SportSetting
|
Custom Settings for the sport Domain Name did: Int!, Merge indicates if custom and default settings should be merged |
Example
{
"spid": 987,
"nam": "xyz789",
"sportHasCustomLeagueSettings": Customized,
"sportHasCustomMarketTypeSettings": Customized,
"sportHasCustomMarketTypeGroupSettings": Customized,
"settings": SportSetting
}
SportWithSettings
Fields
Field Name | Description |
---|---|
spid - Int
|
Sport Id |
nam - String
|
Name |
act - Boolean
|
Active |
settings - SportSettingsV2
|
Settings |
Example
{
"spid": 123,
"nam": "xyz789",
"act": false,
"settings": SportSettingsV2
}
SportbooksByCategory
Fields
Field Name | Description |
---|---|
cid - Int
|
Category Id |
afid - String
|
Affiliate Id |
shortafid - String
|
Short Affiliate ID |
safid - String
|
SubAffiliate Id |
categoryName - String
|
Category name |
affiliateURL - String
|
Affiliate Url |
mainAffiliate - MainAffiliate
|
Main Affiliate |
enabled - Boolean
|
Is Link enabled |
sportsbooksadmin - Sportsbook
|
Sportbook |
Example
{
"cid": 123,
"afid": "xyz789",
"shortafid": "abc123",
"safid": "abc123",
"categoryName": "xyz789",
"affiliateURL": "abc123",
"mainAffiliate": MainAffiliate,
"enabled": false,
"sportsbooksadmin": Sportsbook
}
SportbooksByCategoryArgs
Example
{
"sitid": 987,
"did": 123,
"cid": 987,
"spid": 987,
"enabled": true,
"sortWith": true,
"famid": 987
}
Sports
Fields
Field Name | Description |
---|---|
spids - [Int]
|
Example
{"spids": [987]}
SportsWithRegions
Example
{
"spid": 123,
"nam": "abc123",
"alias": "abc123",
"enabled": false,
"nav": "xyz789",
"mode": "xyz789",
"domainOrd": 123,
"defaultOrd": 123,
"regions": [RegionWithLeagues]
}
Sportsbook
Example
{
"sbid": 987,
"paid": 123,
"nam": "abc123",
"iid": "abc123",
"pre": "xyz789",
"suf": "abc123",
"afid": "xyz789",
"settings": SportsbookSetting,
"image": Image
}
SportsbookBonus
Fields
Field Name | Description |
---|---|
ID - Int
|
|
title - String
|
|
subtitle - String
|
|
tag - String
|
|
sportsbook - CMSSportsbook
|
|
regions - [CMSRegion]
|
Example
{
"ID": 987,
"title": "abc123",
"subtitle": "xyz789",
"tag": "abc123",
"sportsbook": CMSSportsbook,
"regions": [CMSRegion]
}
SportsbookBonusList
Fields
Field Name | Description |
---|---|
ID - Int
|
|
name - String
|
|
sportsbookBonuses - [SportsbookBonus]
|
Example
{
"ID": 987,
"name": "xyz789",
"sportsbookBonuses": [SportsbookBonus]
}
SportsbookSetting
Example
{
"sbid": 987,
"sitid": 987,
"did": 123,
"spid": 987,
"cid": 987,
"ord": 987,
"enabled": true,
"alias": "xyz789"
}
SportsbooksByCategory
Example
{
"sbid": 123,
"catid": 123,
"affiliate": "abc123",
"prefix": "abc123",
"suffix": "abc123",
"enabled": true,
"ord": 987,
"paid": 987,
"nam": "abc123",
"iid": "xyz789",
"image": Image
}
Statistic
Example
{
"typ": "abc123",
"eid": 123,
"partid": 123,
"pid": 123,
"nam": "abc123",
"val": "xyz789",
"player": Player,
"siid": 987.65,
"sequence": 987.65
}
StatisticByGroup
Fields
Field Name | Description |
---|---|
ent - String
|
Entity |
grp - String
|
Group |
stat - String
|
Statistic name |
tim - Float
|
Timestamp |
val - String
|
Value |
sequence - Float
|
Sequence |
valid - Float
|
Value Id |
entid - Int
|
Entity Id |
gid - Int
|
Group Id |
statid - Int
|
Stat Id |
entgid - Int
|
EntityGroup Id |
idty - String
|
Identity |
entrid - Int
|
EntityReference id |
sctim - Float
|
Source Timestamp |
eid - Int
|
EventId |
partbeid - Int
|
participant by event id |
partid - Int
|
participant Id |
pid - Int
|
player id |
seid - Int
|
session id |
lid - Int
|
league id |
tmid - Int
|
Team Id |
tmblid - Int
|
TeamByLeagueId |
partname - String
|
ParticipantName |
partabbreviation - String
|
ParticipantAbbreviation |
partshortname - String
|
ParticipantShortName |
pfn - String
|
PlayerFirstName |
pln - String
|
PlayerLastName |
stgnam - String
|
Statistic Group Name |
Example
{
"ent": "xyz789",
"grp": "abc123",
"stat": "abc123",
"tim": 987.65,
"val": "abc123",
"sequence": 123.45,
"valid": 987.65,
"entid": 987,
"gid": 987,
"statid": 123,
"entgid": 123,
"idty": "abc123",
"entrid": 987,
"sctim": 123.45,
"eid": 123,
"partbeid": 987,
"partid": 987,
"pid": 123,
"seid": 987,
"lid": 123,
"tmid": 987,
"tmblid": 987,
"partname": "xyz789",
"partabbreviation": "xyz789",
"partshortname": "abc123",
"pfn": "abc123",
"pln": "xyz789",
"stgnam": "xyz789"
}
StatisticWithMaxSequence
Fields
Field Name | Description |
---|---|
statistics - [Statistic]
|
|
maxSequence - Float
|
Example
{"statistics": [Statistic], "maxSequence": 987.65}
String
Description
The String
scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Example
"xyz789"
Tab
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"MATCHUP"
Tag
Team
Fields
Field Name | Description |
---|---|
tmid - Int
|
Team Id |
srid - String
|
Sportradar Id |
lid - Int
|
League Id |
nam - String
|
Name |
tmblid - Int
|
Team By League ID |
nn - String
|
Nick Name |
sn - String
|
Short Name |
abbr - String
|
Abbreviation |
cit - String
|
City |
sta - String
|
State |
cou - String
|
Country |
act - Boolean
|
Is Active? |
stt - String
|
Status |
ven - String
|
Venue |
seid - Int
|
SeasonId |
senam - String
|
Season Name |
conid - Int
|
Conference Id |
roster - [TeamRoster]
|
Players Rooster |
statistics - [StatisticByGroup]
|
Statistics |
Arguments
|
|
divid - Int
|
Division Id |
divname - String
|
Division Name |
hasteamstats - Boolean
|
Has team statistics |
conname - String
|
Conference Name |
consn - String
|
Conference Short Name |
imageurl - String
|
Image URL |
statisticsByGroups - [StatisticByGroup]
|
Statistics By Group |
statisticsBySeason - [StatisticByGroup]
|
Statistics By Season |
Arguments |
|
socialNetworks - [TeamSocialNetwork]
|
Social Networks |
leagueHierarchy - [LeagueHierarchy]
|
|
partid - Int
|
Participant Id |
iv - Boolean
|
Is Virtual? |
slg - String
|
Team Slug |
tr - Int
|
Team Rank |
Example
{
"tmid": 987,
"srid": "abc123",
"lid": 123,
"nam": "abc123",
"tmblid": 123,
"nn": "xyz789",
"sn": "xyz789",
"abbr": "xyz789",
"cit": "abc123",
"sta": "xyz789",
"cou": "abc123",
"act": true,
"stt": "xyz789",
"ven": "abc123",
"seid": 987,
"senam": "xyz789",
"conid": 987,
"roster": [TeamRoster],
"statistics": [StatisticByGroup],
"divid": 123,
"divname": "xyz789",
"hasteamstats": true,
"conname": "xyz789",
"consn": "abc123",
"imageurl": "xyz789",
"statisticsByGroups": [StatisticByGroup],
"statisticsBySeason": [StatisticByGroup],
"socialNetworks": [TeamSocialNetwork],
"leagueHierarchy": [LeagueHierarchy],
"partid": 987,
"iv": true,
"slg": "xyz789",
"tr": 123
}
TeamBettingOption
TeamByLeague
Fields
Field Name | Description |
---|---|
tmid - Int
|
Team Id |
lid - Int
|
League Id |
seid - Int
|
SeasonId |
senam - String
|
Season Name |
act - Boolean
|
Is Active? |
tmblid - Int
|
Team By League ID |
conid - Int
|
Conference Id |
conname - String
|
Conference Name |
divid - Int
|
Division Id |
divname - String
|
Division Name |
isCurrent - Boolean
|
Is this the current season? |
eventGroups - [EventGroupBySeason]
|
Events Groups Ordered with the current Event Group |
Arguments
|
Example
{
"tmid": 123,
"lid": 123,
"seid": 987,
"senam": "abc123",
"act": false,
"tmblid": 123,
"conid": 123,
"conname": "xyz789",
"divid": 987,
"divname": "abc123",
"isCurrent": true,
"eventGroups": [EventGroupBySeason]
}
TeamDepthChart
Example
TeamDepthChart
TeamEntity
TeamInfo
Example
TeamInfo
TeamLeague
TeamRoster
Fields
Field Name | Description |
---|---|
tmrid - Int
|
Team Roster Id |
tmid - Int
|
Team Id |
pid - Int
|
Player Id |
seid - Int
|
Season Id |
act - Boolean
|
Is Active? |
pnum - Int
|
Player Number |
ppid - Int
|
Player Position Id |
ppnam - String
|
Player Position Name |
ppsn - String
|
Player Position Short Name |
ppprio - Int
|
Player Position Priority |
depthChart - [DepthChart]
|
|
startingGolie - DepthChart
|
Starting Golies for Hockey |
Arguments
|
|
player - Player
|
|
marketCounter - Int
|
Market Type Counter |
injuries - InjuryResponse
|
Injuries |
Example
{
"tmrid": 987,
"tmid": 987,
"pid": 987,
"seid": 123,
"act": false,
"pnum": 987,
"ppid": 987,
"ppnam": "abc123",
"ppsn": "xyz789",
"ppprio": 987,
"depthChart": [DepthChart],
"startingGolie": DepthChart,
"player": Player,
"marketCounter": 123,
"injuries": InjuryResponse
}
TeamRosterPlayer
Fields
Field Name | Description |
---|---|
teamRoster - TeamRoster
|
|
player - Player
|
Example
{
"teamRoster": TeamRoster,
"player": Player
}
TeamSearchResult
Fields
Field Name | Description |
---|---|
tmid - Int
|
Team Id |
nam - String
|
Team Name |
nn - String
|
Nick Name |
sn - String
|
Short Name |
abbr - String
|
Abbreviation |
cit - String
|
City |
sta - String
|
State |
cou - String
|
Country |
lid - Int
|
League Id |
seid - Int
|
Season Id |
senam - String
|
Season Name |
conname - String
|
Conference Name |
divname - String
|
Division Name |
partid - Int
|
Participant Id |
Example
{
"tmid": 123,
"nam": "abc123",
"nn": "xyz789",
"sn": "abc123",
"abbr": "xyz789",
"cit": "xyz789",
"sta": "xyz789",
"cou": "abc123",
"lid": 987,
"seid": 987,
"senam": "xyz789",
"conname": "xyz789",
"divname": "abc123",
"partid": 987
}
TeamSocialNetwork
TopPerformer
Fields
Field Name | Description |
---|---|
topRosters - [TopPerformerRoster]
|
|
statistics - [StatisticByGroup]
|
Example
{
"topRosters": [TopPerformerRoster],
"statistics": [StatisticByGroup]
}
TopPerformerIdentity
Values
Enum Value | Description |
---|---|
|
|
|
|
|
Example
"PASSING"
TopPerformerRoster
Fields
Field Name | Description |
---|---|
teamRoster - TeamRoster
|
|
player - Player
|
Example
{
"teamRoster": TeamRoster,
"player": Player
}
TopTeam
Fields
Field Name | Description |
---|---|
tmid - Int
|
Team Id |
srid - String
|
Sportradar Id |
lid - Int
|
League Id |
nam - String
|
Name |
tmblid - Int
|
Team By League ID |
nn - String
|
Nick Name |
sn - String
|
Short Name |
abbr - String
|
Abbreviation |
cit - String
|
City |
sta - String
|
State |
cou - String
|
Country |
act - Boolean
|
Is Active? |
stt - String
|
Status |
ven - String
|
Venue |
seid - Int
|
SeasonId |
senam - String
|
Season Name |
conid - Int
|
Conference Id |
divid - Int
|
Division Id |
divname - String
|
Division Name |
hasteamstats - Boolean
|
Has team statistics |
conname - String
|
Conference Name |
imageurl - String
|
Image URL |
partid - Int
|
Participant Id |
rank - Int
|
Team Rank |
slg - String
|
Team Slug |
Example
{
"tmid": 123,
"srid": "abc123",
"lid": 987,
"nam": "abc123",
"tmblid": 123,
"nn": "xyz789",
"sn": "xyz789",
"abbr": "abc123",
"cit": "xyz789",
"sta": "xyz789",
"cou": "abc123",
"act": true,
"stt": "xyz789",
"ven": "xyz789",
"seid": 987,
"senam": "abc123",
"conid": 987,
"divid": 123,
"divname": "xyz789",
"hasteamstats": false,
"conname": "abc123",
"imageurl": "xyz789",
"partid": 123,
"rank": 123,
"slg": "xyz789"
}
TotalCaptionsGenerated
Trends
TwitterFeed
TwitterResponse
Fields
Field Name | Description |
---|---|
first - [TwitterFeed]
|
|
second - [TwitterFeed]
|
|
firstCacheStatus - String
|
|
secondCacheStatus - String
|
Example
{
"first": [TwitterFeed],
"second": [TwitterFeed],
"firstCacheStatus": "abc123",
"secondCacheStatus": "abc123"
}
TypeInput
Values
Enum Value | Description |
---|---|
|
|
|
Example
"TOP"
Value
Fields
Field Name | Description |
---|---|
value - String
|
Example
{"value": "abc123"}
Weather
Example
{
"date": "xyz789",
"astronomy": [Astronomy],
"maxtempC": "xyz789",
"maxtempF": "xyz789",
"mintempC": "xyz789",
"mintempF": "xyz789",
"totalSnow_cm": "abc123",
"sunHour": "abc123",
"uvIndex": "xyz789",
"hourly": [Hourly]
}
WeatherOutput
Fields
Field Name | Description |
---|---|
location - String
|
|
offset - Int
|
|
ep - Float
|
|
request - [Request]
|
|
current_condition - [CurrentCondition]
|
|
weather - [Weather]
|
|
ClimateAverages - [ClimateAverages]
|
Example
{
"location": "xyz789",
"offset": 987,
"ep": 123.45,
"request": [Request],
"current_condition": [CurrentCondition],
"weather": [Weather],
"ClimateAverages": [ClimateAverages]
}
WinnerLineByEvent
Example
WinnerLineByEvent
eventIdsByFilter
pickStats
teamPerformanceType
Example
{
"wins": 123,
"losses": 987,
"ties": 123,
"winPercentage": "xyz789",
"rank": "xyz789",
"streak": "xyz789",
"conferenceRank": "xyz789",
"divisionRank": "xyz789"
}
weekWeatherOutput
Example
{
"location": "xyz789",
"offset": 987,
"ep": 123.45,
"date": "xyz789",
"avgDayForecast": Hourly,
"dayForecast": Hourly,
"nightForecast": Hourly
}