SportsbookReview GraphQL API Reference

SportsbookReview GraphQL API

API Endpoints
# Production:
https://ms.production-us-east-1.bookmakersreview.com/ms-odds-v2/odds-v2-service
# Oddstrader production:
https://www.oddstrader.com/odds-v2/odds-v2-service

Queries

bestLines

Response

Returns [BestLine]

Arguments
Name Description
catid - Int Category Id (Please use one catid or paid)
paid - [Int] Provider Acount Id (Please use one catid or paid)
eid - [Int]! Event Id
mtid - [Int] Market Type Id
groupByEntity - Boolean
tmid - Int Team Id

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": 123,
  "paid": [987],
  "eid": [123],
  "mtid": [123],
  "groupByEntity": true,
  "tmid": 987
}
Response
{"data": {"bestLines": [BestLine]}}

bestLinesByPlayer

Response

Returns a LinesByPlayer

Arguments
Name Description
mtid - [Int]! Array of Market Type ids.
paid - [Int]! Array of Provider account ids.
pid - Int! Player id
lid - Int! League Id
seid - Int! Season Id
eid - Int Event Id (Optional)

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": [987], "pid": 123, "lid": 987, "seid": 123, "eid": 123}
Response
{"data": {"bestLinesByPlayer": LinesByPlayer}}

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 {
      ...EventFragment
    }
    currentLines
    marketTypes {
      ...MarketTypeWithSettingsFragment
    }
  }
}
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": [123]}
Response
{
  "data": {
    "bettingOptions": [
      {
        "boid": 987,
        "nam": "xyz789",
        "sequence": 987
      }
    ]
  }
}

bettingOptionsByEvent

Response

Returns [EventBettingOption]

Arguments
Name Description
eid - [Int]!
mtid - Int

Example

Query
query bettingOptionsByEvent(
  $eid: [Int]!,
  $mtid: Int
) {
  bettingOptionsByEvent(
    eid: $eid,
    mtid: $mtid
  ) {
    eid
    partid
    boid
    nam
    mtid
    spid
    sequence
  }
}
Variables
{"eid": [987], "mtid": 987}
Response
{
  "data": {
    "bettingOptionsByEvent": [
      {
        "eid": 123,
        "partid": 123,
        "boid": 987,
        "nam": "xyz789",
        "mtid": 123,
        "spid": 987,
        "sequence": 987
      }
    ]
  }
}

calendarEventsByEventGroup

Response

Returns [Event]

Arguments
Name Description
egid - Int! Event Group ID
dt - RangeInput Datetime Range
ic - Boolean Is competition?
lid - Int League Id
spid - Int Sport Id
limit - Int
skip - Int
sort - SortInput

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 {
      ...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
    }
    consensus {
      ...ConsensusFragment
    }
    consensusV2 {
      ...ConsensusV2Fragment
    }
    weather {
      ...WeatherOutputFragment
    }
    eventMarketsCount
    tl
    att
    fo
    tr
    lat
    lon
    seg
    slg
    cov
    rft
    ipc
    marketCounter
    marketResults {
      ...MarketResultFragment
    }
    lastRoster {
      ...ParticipantFragment
    }
  }
}
Variables
{
  "egid": 123,
  "dt": RangeInput,
  "ic": false,
  "lid": 987,
  "spid": 987,
  "limit": 123,
  "skip": 123,
  "sort": SortInput
}
Response
{
  "data": {
    "calendarEventsByEventGroup": [
      {
        "eid": 987,
        "srid": "abc123",
        "cit": "xyz789",
        "dt": 987.65,
        "des": "abc123",
        "es": "abc123",
        "ic": true,
        "hl": true,
        "lu": "abc123",
        "lid": 987,
        "rid": 987,
        "spid": 987,
        "sta": "xyz789",
        "st": "abc123",
        "cou": "abc123",
        "zcode": "abc123",
        "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],
        "consensus": [Consensus],
        "consensusV2": [ConsensusV2],
        "weather": [WeatherOutput],
        "eventMarketsCount": 123,
        "tl": "xyz789",
        "att": 123,
        "fo": "abc123",
        "tr": 123,
        "lat": 987.65,
        "lon": 123.45,
        "seg": "abc123",
        "slg": "abc123",
        "cov": "abc123",
        "rft": "abc123",
        "ipc": true,
        "marketCounter": 987,
        "marketResults": [MarketResult],
        "lastRoster": Participant
      }
    ]
  }
}

calendarEventsByEventGroupV2

Response

Returns an EventsWithMaxSequences

Arguments
Name Description
egid - Int! Event Group ID
dt - RangeInput Datetime Range
ic - Boolean Is competition?
lid - Int League Id
spid - Int Sport Id
limit - Int
skip - Int
sort - SortInput

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 {
      ...EventFragment
    }
    maxSequences {
      ...MaxSequencesFragment
    }
  }
}
Variables
{
  "egid": 123,
  "dt": RangeInput,
  "ic": true,
  "lid": 123,
  "spid": 987,
  "limit": 123,
  "skip": 987,
  "sort": SortInput
}
Response
{
  "data": {
    "calendarEventsByEventGroupV2": {
      "events": [Event],
      "maxSequences": MaxSequences
    }
  }
}

categories

Response

Returns [Category]

Arguments
Name Description
sitid - Int
enabled - Boolean

Example

Query
query categories(
  $sitid: Int,
  $enabled: Boolean
) {
  categories(
    sitid: $sitid,
    enabled: $enabled
  ) {
    catid
    nam
    alias
    sitid
    enabled
    ord
    generateBestLines
  }
}
Variables
{"sitid": 987, "enabled": true}
Response
{
  "data": {
    "categories": [
      {
        "catid": 123,
        "nam": "abc123",
        "alias": "xyz789",
        "sitid": 123,
        "enabled": false,
        "ord": 123,
        "generateBestLines": true
      }
    ]
  }
}

categoriesBySportsbook

Response

Returns [CategoryBySportsbook]

Arguments
Name Description
sbid - Int!
sitid - Int!
enabled - Boolean

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": "xyz789",
        "alias": "abc123",
        "sitid": 987,
        "enabled": false,
        "ord": 987,
        "generateBestLines": true,
        "sbid": 123,
        "affiliate": "abc123",
        "prefix": "abc123",
        "suffix": "xyz789",
        "paid": 987,
        "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": [987]}
Response
{"data": {"competitionWinners": [{"eid": 987, "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": "abc123",
        "favoriteshortname": "abc123",
        "favoritename": "abc123",
        "imageurl": "xyz789"
      }
    ]
  }
}

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": [987]}
Response
{
  "data": {
    "conferencesV2": [
      {
        "id": 987,
        "name": "xyz789",
        "shortname": "abc123",
        "favoriteshortname": "xyz789",
        "favoritename": "abc123",
        "imageurl": "abc123"
      }
    ]
  }
}

consensus

Description

Query multiple consensus

Response

Returns [Consensus]

Arguments
Name Description
eid - [Int]! Event Id
mtid - [Int] Market Type Id
sequence - Int Sequence
marketTypeLayout - String Sequence

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": [987],
  "mtid": [987],
  "sequence": 123,
  "marketTypeLayout": "xyz789"
}
Response
{
  "data": {
    "consensus": [
      {
        "eid": 987,
        "mtid": 987,
        "bb": 987,
        "boid": 987,
        "partid": 123,
        "sbid": 987,
        "paid": 987,
        "lineid": 123.45,
        "wag": 123,
        "perc": 987.65,
        "vol": 987.65,
        "tvol": 123.45,
        "sequence": 123,
        "tim": 987.65,
        "wb": 123,
        "line": {}
      }
    ]
  }
}

consensusHistory

Description

Get consensus history

Response

Returns [Consensus]

Arguments
Name Description
eid - Int! Event Id
mtid - [Int] Market Type Id
sortBy - String Sort: default to tmid
order - String Order by: default DESC

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": 987,
  "mtid": [123],
  "sortBy": "abc123",
  "order": "xyz789"
}
Response
{
  "data": {
    "consensusHistory": [
      {
        "eid": 987,
        "mtid": 123,
        "bb": 987,
        "boid": 987,
        "partid": 987,
        "sbid": 123,
        "paid": 987,
        "lineid": 987.65,
        "wag": 987,
        "perc": 123.45,
        "vol": 987.65,
        "tvol": 123.45,
        "sequence": 987,
        "tim": 123.45,
        "wb": 987,
        "line": {}
      }
    ]
  }
}

consensusV2

Description

Query multiple consensusV2

Response

Returns [ConsensusV2]

Arguments
Name Description
eid - [Int]! Event Id
mtid - [Int] Market Type Id

Example

Query
query consensusV2(
  $eid: [Int]!,
  $mtid: [Int]
) {
  consensusV2(
    eid: $eid,
    mtid: $mtid
  ) {
    eid
    mtid
    partid
    perc
    sequence
  }
}
Variables
{"eid": [987], "mtid": [123]}
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

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
) {
  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
  )
}
Variables
{
  "catid": 123,
  "eid": [987],
  "mtid": [987],
  "boid": [987],
  "partid": [987],
  "sbid": [987],
  "paid": [987],
  "sort": SortInput,
  "limit": 987,
  "skip": 987,
  "distinct": ["abc123"],
  "group": ["abc123"],
  "marketTypeFormat": "abc123",
  "marketTypeLayout": "abc123",
  "needSbid": false,
  "groupByEntity": true,
  "tmid": 123
}
Response
{"data": {"currentLines": [{}]}}

currentLinesByPlayer

Response

Returns a LinesByPlayer

Arguments
Name Description
mtid - [Int]! Array of Market Type ids.
paid - [Int]! Array of Provider account ids.
pid - Int! Player id
lid - Int! League Id
seid - Int! Season Id
eid - Int Event Id (Optional)

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": [123], "paid": [987], "pid": 987, "lid": 123, "seid": 123, "eid": 123}
Response
{"data": {"currentLinesByPlayer": LinesByPlayer}}

depthChart

Response

Returns [DepthChart]

Arguments
Name Description
teamIds - [Int]!
seasonIds - [Int]!
eventIds - [Int]
typeOfSeason - String

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 {
      ...PositionFragment
    }
    eid
    cfrd
    strtr
  }
}
Variables
{
  "teamIds": [123],
  "seasonIds": [987],
  "eventIds": [123],
  "typeOfSeason": "xyz789"
}
Response
{
  "data": {
    "depthChart": [
      {
        "id": 123,
        "seid": 123,
        "tmid": 987,
        "pid": 987,
        "pposid": 987,
        "week": 123,
        "val": 987,
        "position": Position,
        "eid": 123,
        "cfrd": false,
        "strtr": true
      }
    ]
  }
}

divisionTeams

Response

Returns [Team]

Arguments
Name Description
divid - Int
divname - String
seid - Int
act - Boolean

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 {
      ...TeamRosterFragment
    }
    statistics {
      ...StatisticByGroupFragment
    }
    divid
    divname
    hasteamstats
    conname
    consn
    imageurl
    statisticsByGroups {
      ...StatisticByGroupFragment
    }
    statisticsBySeason {
      ...StatisticByGroupFragment
    }
    socialNetworks {
      ...TeamSocialNetworkFragment
    }
    leagueHierarchy {
      ...LeagueHierarchyFragment
    }
    partid
    iv
    slg
    tr
  }
}
Variables
{
  "divid": 987,
  "divname": "abc123",
  "seid": 987,
  "act": true
}
Response
{
  "data": {
    "divisionTeams": [
      {
        "tmid": 987,
        "srid": "xyz789",
        "lid": 987,
        "nam": "xyz789",
        "tmblid": 987,
        "nn": "abc123",
        "sn": "xyz789",
        "abbr": "xyz789",
        "cit": "xyz789",
        "sta": "abc123",
        "cou": "xyz789",
        "act": true,
        "stt": "abc123",
        "ven": "xyz789",
        "seid": 123,
        "senam": "abc123",
        "conid": 987,
        "roster": [TeamRoster],
        "statistics": [StatisticByGroup],
        "divid": 123,
        "divname": "xyz789",
        "hasteamstats": true,
        "conname": "xyz789",
        "consn": "xyz789",
        "imageurl": "xyz789",
        "statisticsByGroups": [StatisticByGroup],
        "statisticsBySeason": [StatisticByGroup],
        "socialNetworks": [TeamSocialNetwork],
        "leagueHierarchy": [LeagueHierarchy],
        "partid": 123,
        "iv": true,
        "slg": "xyz789",
        "tr": 123
      }
    ]
  }
}

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": [987]}
Response
{
  "data": {
    "divisions": [
      {
        "id": 987,
        "name": "xyz789",
        "shortname": "xyz789",
        "favoriteshortname": "xyz789",
        "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": 987,
        "name": "xyz789",
        "shortname": "abc123",
        "favoriteshortname": "abc123",
        "imageurl": "xyz789"
      }
    ]
  }
}

domains

Response

Returns [Domain]

Arguments
Name Description
sitid - Int!
enabled - Boolean

Example

Query
query domains(
  $sitid: Int!,
  $enabled: Boolean
) {
  domains(
    sitid: $sitid,
    enabled: $enabled
  ) {
    did
    sitid
    nam
    isSportCustomized {
      ...CustomizedFragment
    }
    isLeagueCustomized {
      ...CustomizedFragment
    }
    isMarketTypeCustomized {
      ...CustomizedFragment
    }
    isMarketTypeGroupCustomized {
      ...CustomizedFragment
    }
    isFooterBarCustomized {
      ...CustomizedFragment
    }
    isFamilyBarCustomized {
      ...CustomizedFragment
    }
    ord
    ismainregion
    countries
    enabled
  }
}
Variables
{"sitid": 987, "enabled": true}
Response
{
  "data": {
    "domains": [
      {
        "did": 123,
        "sitid": 123,
        "nam": "xyz789",
        "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

Arguments
Name Description
egid - String! Event Filter Group
did - Int Domain Id
sitid - Int! Site Id

Example

Query
query eventFilterGroupWithEventIds(
  $egid: String!,
  $did: Int,
  $sitid: Int!
) {
  eventFilterGroupWithEventIds(
    egid: $egid,
    did: $did,
    sitid: $sitid
  ) {
    egid
    sitid
    eventIdsBySport {
      ...EventIdsBySportFragment
    }
    eventIdsByFilter {
      ...eventIdsByFilterFragment
    }
  }
}
Variables
{"egid": "xyz789", "did": 987, "sitid": 123}
Response
{
  "data": {
    "eventFilterGroupWithEventIds": {
      "egid": "xyz789",
      "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 {
      ...EventFilterFragment
    }
    maxSequences {
      ...MaxSequencesFragment
    }
  }
}
Variables
{
  "efgids": ["abc123"],
  "sitid": 987,
  "timeZoneOffset": 987.65,
  "startdate": 987.65,
  "showLive": "ONLY_LIVE_EVENTS",
  "mtid": 123,
  "active": false,
  "enabled": false,
  "useExactStartDate": false,
  "showEmptyEvents": true,
  "hoursRange": 987,
  "marketTypes": [EventFilterGroupMarketTypeSetting],
  "spid": [987]
}
Response
{
  "data": {
    "eventFilterGroups": [
      {
        "efgid": "xyz789",
        "nam": "abc123",
        "sitid": 123,
        "ord": 987,
        "maxshow": 987,
        "enabled": false,
        "active": true,
        "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": [123]}
Response
{
  "data": {
    "eventGroupByEvent": [
      {
        "egid": 123,
        "nam": "abc123",
        "alias": "abc123",
        "lid": 987,
        "eid": 123,
        "disord": 987,
        "ic": false,
        "sdt": 123.45,
        "edt": 123.45,
        "parentname": "abc123",
        "parentid": 987
      }
    ]
  }
}

eventGroupsByLeague

Response

Returns [EventGroup]

Arguments
Name Description
lid - Int! League Id
hl - Boolean Events Have Lines?
ic - Boolean Is competition
dt - RangeInput Events Datetime Range
limit - Int
skip - Int
sort - SortInput

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": 123,
        "nam": "abc123",
        "alias": "abc123",
        "lid": 987,
        "eid": 987,
        "disord": 123,
        "ic": false,
        "sdt": 987.65,
        "edt": 123.45,
        "parentname": "abc123",
        "parentid": 987
      }
    ]
  }
}

eventGroupsByLeagues

Response

Returns [EventGroup]

Arguments
Name Description
lid - [Int]! League Id
hl - Boolean Events Have Lines ?
ic - Boolean Is competition
dt - RangeInput
limit - Int
skip - Int
sort - SortInput

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": [987],
  "hl": true,
  "ic": false,
  "dt": RangeInput,
  "limit": 987,
  "skip": 987,
  "sort": SortInput
}
Response
{
  "data": {
    "eventGroupsByLeagues": [
      {
        "egid": 123,
        "nam": "abc123",
        "alias": "abc123",
        "lid": 123,
        "eid": 987,
        "disord": 123,
        "ic": false,
        "sdt": 123.45,
        "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": 987,
  "sort": SortInput,
  "rid": [123],
  "timezoneOffset": 123,
  "exactDate": false
}
Response
{
  "data": {
    "eventGroupsBySport": [
      {
        "egid": 987,
        "nam": "abc123",
        "alias": "abc123",
        "lid": 987,
        "eid": 123,
        "disord": 123,
        "ic": false,
        "sdt": 987.65,
        "edt": 123.45,
        "parentname": "xyz789",
        "parentid": 987
      }
    ]
  }
}

eventMarkets

Response

Returns an EventMarkets

Arguments
Name Description
eid - Int Event ID

Example

Query
query eventMarkets($eid: Int) {
  eventMarkets(eid: $eid) {
    mtids
  }
}
Variables
{"eid": 987}
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 {
      ...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
    }
    consensus {
      ...ConsensusFragment
    }
    consensusV2 {
      ...ConsensusV2Fragment
    }
    weather {
      ...WeatherOutputFragment
    }
    eventMarketsCount
    tl
    att
    fo
    tr
    lat
    lon
    seg
    slg
    cov
    rft
    ipc
    marketCounter
    marketResults {
      ...MarketResultFragment
    }
    lastRoster {
      ...ParticipantFragment
    }
  }
}
Variables
{
  "eid": [123],
  "srid": ["abc123"],
  "lid": [123],
  "spid": [123],
  "rid": 123,
  "hl": false,
  "ic": true,
  "mtid": [987],
  "marketTypeFormat": "abc123",
  "marketTypeLayout": "abc123",
  "limit": 987,
  "skip": 987,
  "distinct": ["abc123"],
  "type": "TOP",
  "sort": SortInput,
  "dt": RangeInput,
  "group": GroupInput,
  "sgid": 987,
  "es": "abc123",
  "returnInactiveCompetitions": false
}
Response
{
  "data": {
    "events": [
      {
        "eid": 987,
        "srid": "abc123",
        "cit": "abc123",
        "dt": 987.65,
        "des": "xyz789",
        "es": "abc123",
        "ic": false,
        "hl": false,
        "lu": "abc123",
        "lid": 987,
        "rid": 123,
        "spid": 987,
        "sta": "abc123",
        "st": "abc123",
        "cou": "abc123",
        "zcode": "abc123",
        "ven": "abc123",
        "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],
        "consensus": [Consensus],
        "consensusV2": [ConsensusV2],
        "weather": [WeatherOutput],
        "eventMarketsCount": 987,
        "tl": "xyz789",
        "att": 123,
        "fo": "abc123",
        "tr": 987,
        "lat": 987.65,
        "lon": 123.45,
        "seg": "xyz789",
        "slg": "abc123",
        "cov": "xyz789",
        "rft": "xyz789",
        "ipc": false,
        "marketCounter": 987,
        "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 {
      ...EventFragment
    }
    maxSequences {
      ...MaxSequencesFragment
    }
  }
}
Variables
{
  "startDate": 987.65,
  "hoursRange": 123,
  "timezoneOffset": 123.45,
  "egid": 987,
  "eid": [123],
  "spid": [123],
  "lid": [987],
  "rid": [987],
  "mtid": [987],
  "hl": true,
  "ic": false,
  "nof": true,
  "showEmptyEvents": true,
  "marketTypeLayout": "abc123",
  "marketTypeFormat": "abc123",
  "limit": 987,
  "skip": 123,
  "sort": SortInput,
  "providerAcountOpener": 987,
  "getAllInEventGroup": false,
  "showLive": "ONLY_LIVE_EVENTS",
  "eventtoshow": 123,
  "includeAllEvents": true,
  "domainId": 987,
  "eventsWithRankedParticipants": false,
  "onlyRanked": true,
  "conferenceIds": [123],
  "divisionIds": [123],
  "es": ["abc123"],
  "truncDate": false
}
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 {
      ...EventFragment
    }
    maxSequences {
      ...MaxSequencesFragment
    }
  }
}
Variables
{
  "leagueGroups": [LeagueGroup],
  "startDate": 987.65,
  "hoursRange": 987,
  "timezoneOffset": 987.65,
  "egid": 123,
  "rid": [987],
  "hl": false,
  "ic": true,
  "nof": false,
  "showEmptyEvents": true,
  "marketTypeLayout": "xyz789",
  "marketTypeFormat": "xyz789",
  "limit": 987,
  "skip": 987,
  "sort": SortInput,
  "providerAcountOpener": 123,
  "getAllInEventGroup": false,
  "es": ["xyz789"]
}
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 {
      ...EventFragment
    }
    maxSequences {
      ...MaxSequencesFragment
    }
  }
}
Variables
{
  "startDate": 123.45,
  "hoursRange": 123,
  "timezoneOffset": 987.65,
  "egid": 987,
  "eid": [987],
  "spid": [987],
  "lid": [987],
  "rid": [987],
  "mtid": [987],
  "hl": false,
  "ic": false,
  "nof": true,
  "showEmptyEvents": false,
  "marketTypeLayout": "abc123",
  "marketTypeFormat": "abc123",
  "limit": 987,
  "skip": 987,
  "sort": SortInput,
  "providerAcountOpener": 987,
  "getAllInEventGroup": true,
  "showLive": "ONLY_LIVE_EVENTS",
  "eventtoshow": 987,
  "includeAllEvents": true,
  "domainId": 987,
  "eventsWithRankedParticipants": true,
  "onlyRanked": false,
  "conferenceIds": [123],
  "divisionIds": [123],
  "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 {
      ...EventFragment
    }
    maxSequences {
      ...MaxSequencesFragment
    }
  }
}
Variables
{
  "startDate": 123.45,
  "hoursRange": 123,
  "lid": [987],
  "mtid": [987],
  "showEmptyEvents": true,
  "fastForward": false,
  "fastForwardOffset": 123,
  "sort": SortInput,
  "onlyRanked": false,
  "conferenceIds": [987],
  "divisionIds": [987],
  "es": ["abc123"],
  "spids": [987],
  "rids": [987],
  "writeingame": false,
  "limit": 987,
  "paid": [123],
  "nextEvents": true
}
Response
{
  "data": {
    "eventsByDateNew": {
      "events": [Event],
      "maxSequences": MaxSequences
    }
  }
}

eventsByEventFilterGroup

Response

Returns an EventFilterGroupWithEvents

Arguments
Name Description
egid - String! Event Filter Group Id
sitid - Int! Site Id
did - Int Domain Id
mtid - Int Marketype id

Example

Query
query eventsByEventFilterGroup(
  $egid: String!,
  $sitid: Int!,
  $did: Int,
  $mtid: Int
) {
  eventsByEventFilterGroup(
    egid: $egid,
    sitid: $sitid,
    did: $did,
    mtid: $mtid
  ) {
    egid
    eventsBySport {
      ...EventsBySportFragment
    }
    eventsByFilter {
      ...EventsByFilterFragment
    }
    maxSequences {
      ...MaxSequencesFragment
    }
  }
}
Variables
{
  "egid": "xyz789",
  "sitid": 123,
  "did": 987,
  "mtid": 123
}
Response
{
  "data": {
    "eventsByEventFilterGroup": {
      "egid": "abc123",
      "eventsBySport": [EventsBySport],
      "eventsByFilter": [EventsByFilter],
      "maxSequences": MaxSequences
    }
  }
}

eventsByEventGroup

Response

Returns [Event]

Arguments
Name Description
egid - [Int]! Event Group ID
mtid - Int! Market Type ID
seid - [Int] SeasonId
lid - [Int] LeagueId
hl - Boolean Have lines?
dt - RangeInput Datetime Range
ic - Boolean Is competition?
limit - Int
skip - Int
sort - SortInput
sgid - Int TODO REMOVE!!!

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 {
      ...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
    }
    consensus {
      ...ConsensusFragment
    }
    consensusV2 {
      ...ConsensusV2Fragment
    }
    weather {
      ...WeatherOutputFragment
    }
    eventMarketsCount
    tl
    att
    fo
    tr
    lat
    lon
    seg
    slg
    cov
    rft
    ipc
    marketCounter
    marketResults {
      ...MarketResultFragment
    }
    lastRoster {
      ...ParticipantFragment
    }
  }
}
Variables
{
  "egid": [987],
  "mtid": 987,
  "seid": [123],
  "lid": [987],
  "hl": true,
  "dt": RangeInput,
  "ic": true,
  "limit": 123,
  "skip": 123,
  "sort": SortInput,
  "sgid": 123
}
Response
{
  "data": {
    "eventsByEventGroup": [
      {
        "eid": 123,
        "srid": "xyz789",
        "cit": "xyz789",
        "dt": 987.65,
        "des": "abc123",
        "es": "xyz789",
        "ic": true,
        "hl": true,
        "lu": "abc123",
        "lid": 987,
        "rid": 123,
        "spid": 123,
        "sta": "xyz789",
        "st": "abc123",
        "cou": "xyz789",
        "zcode": "xyz789",
        "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],
        "consensus": [Consensus],
        "consensusV2": [ConsensusV2],
        "weather": [WeatherOutput],
        "eventMarketsCount": 123,
        "tl": "abc123",
        "att": 987,
        "fo": "xyz789",
        "tr": 987,
        "lat": 987.65,
        "lon": 123.45,
        "seg": "abc123",
        "slg": "xyz789",
        "cov": "xyz789",
        "rft": "xyz789",
        "ipc": true,
        "marketCounter": 123,
        "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 {
      ...EventFragment
    }
    maxSequences {
      ...MaxSequencesFragment
    }
  }
}
Variables
{
  "egid": [123],
  "mtid": [123],
  "seid": [123],
  "lid": [987],
  "hl": false,
  "providerAcountOpener": 987,
  "dt": RangeInput,
  "ic": true,
  "limit": 987,
  "skip": 123,
  "sort": SortInput,
  "onlyRanked": true,
  "sgid": 123,
  "conferenceIds": [987],
  "divisionIds": [987],
  "es": ["abc123"],
  "paid": [123],
  "showEmptyEvents": false
}
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 {
      ...EventFragment
    }
    maxSequences {
      ...MaxSequencesFragment
    }
  }
}
Variables
{
  "eid": [987],
  "leagueGroups": [LeagueGroup],
  "rid": 987,
  "hl": false,
  "ic": true,
  "marketTypeFormat": "xyz789",
  "marketTypeLayout": "abc123",
  "limit": 123,
  "skip": 123,
  "distinct": ["xyz789"],
  "type": "TOP",
  "sort": SortInput,
  "dt": RangeInput,
  "group": GroupInput,
  "providerAcountOpener": 987,
  "showEmptyEvents": true,
  "es": ["abc123"],
  "sgid": 123
}
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 {
      ...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
    }
    consensus {
      ...ConsensusFragment
    }
    consensusV2 {
      ...ConsensusV2Fragment
    }
    weather {
      ...WeatherOutputFragment
    }
    eventMarketsCount
    tl
    att
    fo
    tr
    lat
    lon
    seg
    slg
    cov
    rft
    ipc
    marketCounter
    marketResults {
      ...MarketResultFragment
    }
    lastRoster {
      ...ParticipantFragment
    }
  }
}
Variables
{
  "eid": [123],
  "mtid": [123],
  "lid": [987],
  "marketTypeFormat": "abc123",
  "marketTypeLayout": "abc123",
  "spid": [987],
  "rid": [123],
  "hl": true,
  "ic": true,
  "dt": RangeInput,
  "startDate": 987.65,
  "hoursRange": 987,
  "timezoneOffset": 987,
  "limit": 987,
  "skip": 123,
  "sort": SortInput,
  "showEmptyEvents": true,
  "sgid": 123
}
Response
{
  "data": {
    "eventsBySport": [
      {
        "eid": 987,
        "srid": "abc123",
        "cit": "abc123",
        "dt": 987.65,
        "des": "abc123",
        "es": "abc123",
        "ic": false,
        "hl": true,
        "lu": "xyz789",
        "lid": 987,
        "rid": 123,
        "spid": 987,
        "sta": "xyz789",
        "st": "xyz789",
        "cou": "abc123",
        "zcode": "xyz789",
        "ven": "xyz789",
        "tvs": "xyz789",
        "sequence": 987,
        "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],
        "consensus": [Consensus],
        "consensusV2": [ConsensusV2],
        "weather": [WeatherOutput],
        "eventMarketsCount": 987,
        "tl": "xyz789",
        "att": 123,
        "fo": "xyz789",
        "tr": 987,
        "lat": 987.65,
        "lon": 123.45,
        "seg": "abc123",
        "slg": "abc123",
        "cov": "abc123",
        "rft": "xyz789",
        "ipc": true,
        "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 {
      ...EventFragment
    }
    maxSequences {
      ...MaxSequencesFragment
    }
  }
}
Variables
{
  "eid": [123],
  "mtid": [123],
  "lid": [123],
  "marketTypeFormat": "abc123",
  "marketTypeLayout": "xyz789",
  "spid": [987],
  "rid": [123],
  "hl": false,
  "ic": false,
  "dt": RangeInput,
  "startDate": 123.45,
  "hoursRange": 123,
  "timezoneOffset": 987,
  "limit": 987,
  "skip": 987,
  "sort": SortInput,
  "showEmptyEvents": true,
  "sgid": 123
}
Response
{
  "data": {
    "eventsBySportV2": {
      "events": [Event],
      "maxSequences": MaxSequences
    }
  }
}

eventsByTeamId

Description

Get all events of a team

Response

Returns an EventsWithMaxSequences

Arguments
Name Description
tmid - Int! Team id
seid - Int Season Id
startDate - Float Start date
hoursRange - Int Hours after start date to bring events
timezoneOffset - Float Client's timezone offset
limit - Int
skip - Int
hl - Boolean Has lines
sort - SortInput
ic - Boolean Is competition

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 {
      ...EventFragment
    }
    maxSequences {
      ...MaxSequencesFragment
    }
  }
}
Variables
{
  "tmid": 123,
  "seid": 987,
  "startDate": 123.45,
  "hoursRange": 123,
  "timezoneOffset": 987.65,
  "limit": 987,
  "skip": 987,
  "hl": false,
  "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 {
      ...EventFilterGroupFragment
    }
    sportbooksByCategory {
      ...SportbooksByCategoryFragment
    }
    maxSequences {
      ...MaxSequencesFragment
    }
  }
}
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": [987],
  "spid": 123,
  "rid": 123,
  "hl": false,
  "ic": true,
  "mtid": 987,
  "dt": RangeInput,
  "sort": SortInput,
  "group": GroupInput,
  "es": ["xyz789"]
}
Response
{"data": {"eventsDatesCount": [{"dt": 123.45, "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": true,
  "ic": false,
  "mtid": 123,
  "dt": RangeInput,
  "sort": SortInput,
  "group": GroupInput,
  "timezoneOffset": 987.65
}
Response
{"data": {"eventsDatesCountSummary": [{"dt": 987.65, "size": 123}]}}

eventsGroupsBySeason

Response

Returns [EventGroupBySeason]

Arguments
Name Description
seids - [Int!]!
timezoneOffset - Float!

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": 987.65}
Response
{
  "data": {
    "eventsGroupsBySeason": [
      {
        "egid": 123,
        "nam": "abc123",
        "alias": "abc123",
        "ceg": 123,
        "seid": 123,
        "disord": 123,
        "sdt": 123.45,
        "edt": 987.65,
        "eids": [123],
        "mtids": [123],
        "hl": true,
        "isCurrent": true
      }
    ]
  }
}

eventsInfoByParticipant

Response

Returns [EventInfoByParticipant]

Arguments
Name Description
partid - [Int] Participant Ids
tmid - [Int] TeamsIds
ptid - Int Participant Type Id
seid - [Int]! Season Id
marketTypeLayout - String
limitByParticipant - Int Limit of Events by Participant

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 {
      ...EventFragment
    }
    eventsByParticipant {
      ...EventFragment
    }
  }
}
Variables
{
  "partid": [987],
  "tmid": [123],
  "ptid": 987,
  "seid": [987],
  "marketTypeLayout": "xyz789",
  "limitByParticipant": 987
}
Response
{
  "data": {
    "eventsInfoByParticipant": [
      {
        "partid": 123,
        "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": [123]}
Response
{
  "data": {
    "eventsLocation": [
      {
        "eid": 987,
        "lat": 123.45,
        "lon": 123.45,
        "add": "xyz789",
        "cou": "abc123",
        "sta": "xyz789",
        "ven": "abc123",
        "cit": "abc123",
        "zcode": "xyz789",
        "att": 987,
        "fo": "xyz789"
      }
    ]
  }
}

eventsRegionBySport

Response

Returns an EventRegion

Arguments
Name Description
spid - [Int]! Sport ID
mtid - [Int] Market Type ID

Example

Query
query eventsRegionBySport(
  $spid: [Int]!,
  $mtid: [Int]
) {
  eventsRegionBySport(
    spid: $spid,
    mtid: $mtid
  ) {
    available
    active
  }
}
Variables
{"spid": [987], "mtid": [123]}
Response
{"data": {"eventsRegionBySport": {"available": [123], "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

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]
) {
  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
  ) {
    events {
      ...EventFragment
    }
    maxSequences {
      ...MaxSequencesFragment
    }
  }
}
Variables
{
  "eid": [123],
  "srid": ["xyz789"],
  "lid": [123],
  "spid": [123],
  "rid": 123,
  "hl": true,
  "ic": true,
  "mtid": [987],
  "marketTypeFormat": "xyz789",
  "marketTypeLayout": "abc123",
  "limit": 123,
  "skip": 987,
  "distinct": ["xyz789"],
  "type": "TOP",
  "sort": SortInput,
  "dt": RangeInput,
  "group": GroupInput,
  "providerAcountOpener": 123,
  "showEmptyEvents": false,
  "domainId": 123,
  "sgid": 123,
  "ipc": true,
  "paid": [987]
}
Response
{
  "data": {
    "eventsV2": {
      "events": [Event],
      "maxSequences": MaxSequences
    }
  }
}

formats

Description

Query multiple Lines

Response

Returns [OddFormat]

Arguments
Name Description
id - Int
dcp - Float Decimal Price
np - Int Numerator
dep - Int Denominator

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": 123, "dep": 123}
Response
{
  "data": {
    "formats": [
      {
        "id": 987,
        "dcp": 123.45,
        "np": 123,
        "dep": 123,
        "tim": 987.65,
        "act": false
      }
    ]
  }
}

getActiveEventFilterGroups

Response

Returns [EventFilterGroupLegacy]

Arguments
Name Description
egid - [String] Event Group Filter Id
sitid - Int! Site Id

Example

Query
query getActiveEventFilterGroups(
  $egid: [String],
  $sitid: Int!
) {
  getActiveEventFilterGroups(
    egid: $egid,
    sitid: $sitid
  ) {
    egid
    sitid
    settings {
      ...EventFilterGroupSettingsFragment
    }
  }
}
Variables
{"egid": ["xyz789"], "sitid": 123}
Response
{
  "data": {
    "getActiveEventFilterGroups": [
      {
        "egid": "abc123",
        "sitid": 987,
        "settings": EventFilterGroupSettings
      }
    ]
  }
}

getCurrentLinesGroupByEventMarket

Response

Returns [EventMarketLine]

Arguments
Name Description
sequence - Float!
sequenceRange - Int!

Example

Query
query getCurrentLinesGroupByEventMarket(
  $sequence: Float!,
  $sequenceRange: Int!
) {
  getCurrentLinesGroupByEventMarket(
    sequence: $sequence,
    sequenceRange: $sequenceRange
  ) {
    mtid
    eid
    act
    maxsequence
  }
}
Variables
{"sequence": 123.45, "sequenceRange": 123}
Response
{
  "data": {
    "getCurrentLinesGroupByEventMarket": [
      {"mtid": 123, "eid": 987, "act": false, "maxsequence": 987.65}
    ]
  }
}

getEventIdsBySlug

Response

Returns an EventIdsSlugInfo

Arguments
Name Description
slg - String! Slug
actTim - Float! Actual Time
alphabetically - Boolean Slug Alphabetically
leagueId - Int League Event

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": false,
  "leagueId": 987
}
Response
{"data": {"getEventIdsBySlug": {"ceid": 987, "leid": 987}}}

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 {
      ...PlayerFragment
    }
    statisticsByGroups {
      ...StatisticByGroupFragment
    }
  }
}
Variables
{"eid": [123]}
Response
{
  "data": {
    "getEventRosterByEvents": [
      {
        "erid": 987,
        "eid": 123,
        "sid": 123,
        "pid": 987,
        "partid": 987,
        "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 {
      ...TagFragment
    }
    eid
  }
}
Variables
{"eid": [987]}
Response
{
  "data": {
    "getEventTags": [
      {
        "ID": 987,
        "link": "xyz789",
        "tag": Tag,
        "eid": [987]
      }
    ]
  }
}

getEventsWithPrediction

Description

Get Events with Prediction

Response

Returns [EventWithPrediction]

Arguments
Name Description
minSequence - Int! min Sequence
lid - [Int]! Leagues Ids
limit - Int Limit

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": 987, "eid": 123, "lid": 123}]
  }
}

getLeaguesAndRegionsBySport

Response

Returns [LeaguesAndRegionsBySport]

Arguments
Name Description
sitid - Int!
did - Int!
sportEnabled - Boolean
leagueEnabled - Boolean

Example

Query
query getLeaguesAndRegionsBySport(
  $sitid: Int!,
  $did: Int!,
  $sportEnabled: Boolean,
  $leagueEnabled: Boolean
) {
  getLeaguesAndRegionsBySport(
    sitid: $sitid,
    did: $did,
    sportEnabled: $sportEnabled,
    leagueEnabled: $leagueEnabled
  ) {
    sitid
    did
    sports {
      ...SportsWithRegionsFragment
    }
  }
}
Variables
{"sitid": 123, "did": 987, "sportEnabled": true, "leagueEnabled": false}
Response
{
  "data": {
    "getLeaguesAndRegionsBySport": [
      {
        "sitid": 987,
        "did": 987,
        "sports": [SportsWithRegions]
      }
    ]
  }
}

getLeaguesWithSettingsV2

Response

Returns [LeagueWithSettingsV2]

Arguments
Name Description
sitid - Int! SiteId
did - Int! DomainId
enabled - Boolean Enabled
spid - [Int] Sport Id
lid - [Int] League Ids

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 {
      ...MarketTypeWithSettingsFragment
    }
    region {
      ...RegionLeagueV2Fragment
    }
    settings {
      ...LeagueSettingFragment
    }
  }
}
Variables
{"sitid": 123, "did": 987, "enabled": false, "spid": [987], "lid": [987]}
Response
{
  "data": {
    "getLeaguesWithSettingsV2": [
      {
        "lid": 987,
        "nam": "xyz789",
        "rid": 987,
        "spid": 987,
        "did": 123,
        "lurl": "abc123",
        "sn": "xyz789",
        "marketType": MarketTypeWithSettings,
        "region": RegionLeagueV2,
        "settings": LeagueSetting
      }
    ]
  }
}

getLineByLineId

Response

Returns a LineById

Arguments
Name Description
lineid - Float! Line ID
catid - Int Category Id (Please use one catid or paid)
paid - [Int] Provider Acount Id (Please use one catid or paid)

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 {
      ...EventFragment
    }
    entityReference
    player
    team
  }
}
Variables
{"lineid": 987.65, "catid": 987, "paid": [987]}
Response
{
  "data": {
    "getLineByLineId": {
      "lineid": 123.45,
      "mtid": 123,
      "eid": 123,
      "boid": 123,
      "paid": 123,
      "sbid": 123,
      "tim": 987.65,
      "partid": 123,
      "sequence": 987.65,
      "adj": 987.65,
      "pri": 123.45,
      "dp": 987.65,
      "bs": "abc123",
      "iof": false,
      "ap": 123,
      "fpd": 987,
      "fpn": 123,
      "entrid": 987.65,
      "mtgrp": "abc123",
      "tmid": 123,
      "isbestline": true,
      "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]

Arguments
Name Description
search - String Search by name
seid - Int! Season Id
tmid - [Int] Team Ids

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 {
      ...DepthChartFragment
    }
    startingGolie {
      ...DepthChartFragment
    }
    player {
      ...PlayerFragment
    }
    marketCounter
    injuries {
      ...InjuryResponseFragment
    }
  }
}
Variables
{
  "search": "abc123",
  "seid": 123,
  "tmid": [123]
}
Response
{
  "data": {
    "getPlayersBySeason": [
      {
        "tmrid": 987,
        "tmid": 987,
        "pid": 987,
        "seid": 987,
        "act": false,
        "pnum": 123,
        "ppid": 987,
        "ppnam": "xyz789",
        "ppsn": "xyz789",
        "ppprio": 987,
        "depthChart": [DepthChart],
        "startingGolie": DepthChart,
        "player": Player,
        "marketCounter": 123,
        "injuries": InjuryResponse
      }
    ]
  }
}

getSportsWithSettingsV2

Response

Returns [SportWithSettings]

Arguments
Name Description
spids - [Int] spids
sitid - Int! Site Id
did - Int! Domain Id

Example

Query
query getSportsWithSettingsV2(
  $spids: [Int],
  $sitid: Int!,
  $did: Int!
) {
  getSportsWithSettingsV2(
    spids: $spids,
    sitid: $sitid,
    did: $did
  ) {
    spid
    nam
    act
    settings {
      ...SportSettingsV2Fragment
    }
  }
}
Variables
{"spids": [987], "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 {
      ...SportsbookBonusFragment
    }
  }
}
Variables
{"catid": 987}
Response
{
  "data": {
    "getSportsbookBonusLists": [
      {
        "ID": 123,
        "name": "xyz789",
        "sportsbookBonuses": [SportsbookBonus]
      }
    ]
  }
}

getTeamBySlug

Description

Get a team by slug and league

Response

Returns a Team

Arguments
Name Description
slg - String!
lid - Int!

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 {
      ...TeamRosterFragment
    }
    statistics {
      ...StatisticByGroupFragment
    }
    divid
    divname
    hasteamstats
    conname
    consn
    imageurl
    statisticsByGroups {
      ...StatisticByGroupFragment
    }
    statisticsBySeason {
      ...StatisticByGroupFragment
    }
    socialNetworks {
      ...TeamSocialNetworkFragment
    }
    leagueHierarchy {
      ...LeagueHierarchyFragment
    }
    partid
    iv
    slg
    tr
  }
}
Variables
{"slg": "xyz789", "lid": 123}
Response
{
  "data": {
    "getTeamBySlug": {
      "tmid": 123,
      "srid": "xyz789",
      "lid": 123,
      "nam": "abc123",
      "tmblid": 987,
      "nn": "abc123",
      "sn": "abc123",
      "abbr": "abc123",
      "cit": "xyz789",
      "sta": "xyz789",
      "cou": "xyz789",
      "act": true,
      "stt": "xyz789",
      "ven": "xyz789",
      "seid": 987,
      "senam": "abc123",
      "conid": 123,
      "roster": [TeamRoster],
      "statistics": [StatisticByGroup],
      "divid": 987,
      "divname": "abc123",
      "hasteamstats": false,
      "conname": "abc123",
      "consn": "abc123",
      "imageurl": "abc123",
      "statisticsByGroups": [StatisticByGroup],
      "statisticsBySeason": [StatisticByGroup],
      "socialNetworks": [TeamSocialNetwork],
      "leagueHierarchy": [LeagueHierarchy],
      "partid": 123,
      "iv": false,
      "slg": "abc123",
      "tr": 123
    }
  }
}

getTeamDepthChart

Response

Returns a TeamDepthChart

Arguments
Name Description
teamId - [Int]! Team Id
seasonId - Int! Season Id

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

Response

Returns [Event]

Arguments
Name Description
tmid - Int!
seid - Int
startYear - Int

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 {
      ...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
    }
    consensus {
      ...ConsensusFragment
    }
    consensusV2 {
      ...ConsensusV2Fragment
    }
    weather {
      ...WeatherOutputFragment
    }
    eventMarketsCount
    tl
    att
    fo
    tr
    lat
    lon
    seg
    slg
    cov
    rft
    ipc
    marketCounter
    marketResults {
      ...MarketResultFragment
    }
    lastRoster {
      ...ParticipantFragment
    }
  }
}
Variables
{"tmid": 123, "seid": 123, "startYear": 123}
Response
{
  "data": {
    "getTeamSchedule": [
      {
        "eid": 123,
        "srid": "xyz789",
        "cit": "xyz789",
        "dt": 123.45,
        "des": "abc123",
        "es": "abc123",
        "ic": false,
        "hl": true,
        "lu": "xyz789",
        "lid": 123,
        "rid": 123,
        "spid": 123,
        "sta": "xyz789",
        "st": "xyz789",
        "cou": "abc123",
        "zcode": "abc123",
        "ven": "xyz789",
        "tvs": "abc123",
        "sequence": 987,
        "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],
        "consensus": [Consensus],
        "consensusV2": [ConsensusV2],
        "weather": [WeatherOutput],
        "eventMarketsCount": 123,
        "tl": "xyz789",
        "att": 123,
        "fo": "abc123",
        "tr": 987,
        "lat": 987.65,
        "lon": 123.45,
        "seg": "abc123",
        "slg": "xyz789",
        "cov": "abc123",
        "rft": "abc123",
        "ipc": false,
        "marketCounter": 123,
        "marketResults": [MarketResult],
        "lastRoster": Participant
      }
    ]
  }
}

getTopEventsBySportsbook

Response

Returns an EventsWithMaxSequences

Arguments
Name Description
startDate - Float! Event Start Date
sbid - [Int]! Sportbook Ids
topGamesLimit - Int! Top Consensus Wager Limit
mtid - [Int] Market Type Id
lid - [Int] League Id
hoursRange - Int Hours Range from startDate

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 {
      ...EventFragment
    }
    maxSequences {
      ...MaxSequencesFragment
    }
  }
}
Variables
{
  "startDate": 987.65,
  "sbid": [987],
  "topGamesLimit": 123,
  "mtid": [987],
  "lid": [987],
  "hoursRange": 123
}
Response
{
  "data": {
    "getTopEventsBySportsbook": {
      "events": [Event],
      "maxSequences": MaxSequences
    }
  }
}

getTwitterFeed

Response

Returns a TwitterResponse

Arguments
Name Description
first - [String]!
firstPartid - String!
second - [String]!
secondPartid - String!
eid - Int!
eventDate - Int!
count - Int

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 {
      ...TwitterFeedFragment
    }
    second {
      ...TwitterFeedFragment
    }
    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": "abc123",
      "secondCacheStatus": "abc123"
    }
  }
}

getUpdatedCurrentLines

Description

get all the updated lines for the event ids, greater than the sequence

Response

Returns a CurrentLinesWithMaxSequence

Arguments
Name Description
eventIds - [Int]!
sequence - Float!
mtid - Int

Example

Query
query getUpdatedCurrentLines(
  $eventIds: [Int]!,
  $sequence: Float!,
  $mtid: Int
) {
  getUpdatedCurrentLines(
    eventIds: $eventIds,
    sequence: $sequence,
    mtid: $mtid
  ) {
    currentLines
    maxSequence
  }
}
Variables
{"eventIds": [123], "sequence": 987.65, "mtid": 123}
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

Arguments
Name Description
eventIds - [Int]! Event Id
sequence - Int! greater than this sequence

Example

Query
query getUpdatedEvents(
  $eventIds: [Int]!,
  $sequence: Int!
) {
  getUpdatedEvents(
    eventIds: $eventIds,
    sequence: $sequence
  ) {
    events {
      ...EventFragment
    }
    maxSequence
  }
}
Variables
{"eventIds": [123], "sequence": 987}
Response
{
  "data": {
    "getUpdatedEvents": {
      "events": [Event],
      "maxSequence": 987.65
    }
  }
}

getUpdatedScores

Description

get all the updated scores for the event ids, greater than the sequence

Response

Returns a ScoreWithMaxSequence

Arguments
Name Description
eventIds - [Int]!
sequence - Int!

Example

Query
query getUpdatedScores(
  $eventIds: [Int]!,
  $sequence: Int!
) {
  getUpdatedScores(
    eventIds: $eventIds,
    sequence: $sequence
  ) {
    scores {
      ...ScoreFragment
    }
    maxSequence
  }
}
Variables
{"eventIds": [987], "sequence": 123}
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

Arguments
Name Description
eventIds - [Int]!
sequence - Float!
sgid - Int Statistics Group Id

Example

Query
query getUpdatedStatistics(
  $eventIds: [Int]!,
  $sequence: Float!,
  $sgid: Int
) {
  getUpdatedStatistics(
    eventIds: $eventIds,
    sequence: $sequence,
    sgid: $sgid
  ) {
    statistics {
      ...StatisticFragment
    }
    maxSequence
  }
}
Variables
{"eventIds": [123], "sequence": 987.65, "sgid": 987}
Response
{
  "data": {
    "getUpdatedStatistics": {
      "statistics": [Statistic],
      "maxSequence": 123.45
    }
  }
}

getWinnerLineByEvent

Response

Returns a WinnerLineByEvent

Arguments
Name Description
eventId - Int! Event Id
providerId - Int! Provider Id

Example

Query
query getWinnerLineByEvent(
  $eventId: Int!,
  $providerId: Int!
) {
  getWinnerLineByEvent(
    eventId: $eventId,
    providerId: $providerId
  )
}
Variables
{"eventId": 123, "providerId": 987}
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 {
      ...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
    }
    consensus {
      ...ConsensusFragment
    }
    consensusV2 {
      ...ConsensusV2Fragment
    }
    weather {
      ...WeatherOutputFragment
    }
    eventMarketsCount
    tl
    att
    fo
    tr
    lat
    lon
    seg
    slg
    cov
    rft
    ipc
    marketCounter
    marketResults {
      ...MarketResultFragment
    }
    lastRoster {
      ...ParticipantFragment
    }
  }
}
Variables
{
  "participantId1": 123,
  "participantId2": 123,
  "homeParticipantId": 987,
  "seid": 123,
  "es": "xyz789",
  "sort": SortInput,
  "limit": 123,
  "limitDate": 987.65,
  "seasonGroup": ["PRE"]
}
Response
{
  "data": {
    "headToHeadEvents": [
      {
        "eid": 123,
        "srid": "xyz789",
        "cit": "xyz789",
        "dt": 123.45,
        "des": "abc123",
        "es": "abc123",
        "ic": false,
        "hl": false,
        "lu": "xyz789",
        "lid": 987,
        "rid": 123,
        "spid": 123,
        "sta": "abc123",
        "st": "abc123",
        "cou": "abc123",
        "zcode": "xyz789",
        "ven": "abc123",
        "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],
        "consensus": [Consensus],
        "consensusV2": [ConsensusV2],
        "weather": [WeatherOutput],
        "eventMarketsCount": 987,
        "tl": "abc123",
        "att": 123,
        "fo": "xyz789",
        "tr": 123,
        "lat": 123.45,
        "lon": 987.65,
        "seg": "xyz789",
        "slg": "xyz789",
        "cov": "xyz789",
        "rft": "xyz789",
        "ipc": false,
        "marketCounter": 123,
        "marketResults": [MarketResult],
        "lastRoster": Participant
      }
    ]
  }
}

historyLines

Description

Query multiple Lines

Response

Returns a GroupedHistoryLine

Arguments
Name Description
eid - Int! Event Id
mtid - Int! Market Type Id
paid - Int! Provider acccount id
partid - [Int] Participant ids
boid - [Int] Betting option ids

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": 123, "paid": 987, "partid": [987], "boid": [123]}
Response
{"data": {"historyLines": {"historyLine": [{}]}}}

images

Description

Query multiple Images

Response

Returns [Image]

Arguments
Name Description
query - String!
offset - Int
pageSize - Int

Example

Query
query images(
  $query: String!,
  $offset: Int,
  $pageSize: Int
) {
  images(
    query: $query,
    offset: $offset,
    pageSize: $pageSize
  ) {
    id
    filename
    title
    description
    tags
    sizes {
      ...SizeFragment
    }
    updatedAt
    createdAt
  }
}
Variables
{
  "query": "abc123",
  "offset": 123,
  "pageSize": 123
}
Response
{
  "data": {
    "images": [
      {
        "id": "abc123",
        "filename": "xyz789",
        "title": "abc123",
        "description": "abc123",
        "tags": ["xyz789"],
        "sizes": Size,
        "updatedAt": 123.45,
        "createdAt": 123.45
      }
    ]
  }
}

injuries

Response

Returns [InjuryResponse]

Arguments
Name Description
tmid - [Int]!
seid - Int!
limit - Int
sort - SortInput
eventdate - Float

Example

Query
query injuries(
  $tmid: [Int]!,
  $seid: Int!,
  $limit: Int,
  $sort: SortInput,
  $eventdate: Float
) {
  injuries(
    tmid: $tmid,
    seid: $seid,
    limit: $limit,
    sort: $sort,
    eventdate: $eventdate
  ) {
    pid
    tmid
    seid
    typ
    stt
    loc
    det
    side
    retdt
    disch
    hl
    not
    newstim
    newsdate
    teamRosterPlayer {
      ...TeamRosterPlayerFragment
    }
    prio
    isKeyInjuredPlayer
  }
}
Variables
{
  "tmid": [123],
  "seid": 987,
  "limit": 123,
  "sort": SortInput,
  "eventdate": 123.45
}
Response
{
  "data": {
    "injuries": [
      {
        "pid": 123,
        "tmid": 123,
        "seid": 987,
        "typ": "abc123",
        "stt": "abc123",
        "loc": "xyz789",
        "det": "abc123",
        "side": "xyz789",
        "retdt": 123.45,
        "disch": false,
        "hl": "xyz789",
        "not": "xyz789",
        "newstim": 987.65,
        "newsdate": 123.45,
        "teamRosterPlayer": TeamRosterPlayer,
        "prio": 123,
        "isKeyInjuredPlayer": true
      }
    ]
  }
}

lastMatchupsByParticipants

Description

get latest matchups by participants

Response

Returns a MatchupEvents

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
limit - Int Number of events to return
mtid - Int MarketType Id

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 {
      ...EventFragment
    }
  }
}
Variables
{
  "participantId1": 987,
  "participantId2": 987,
  "homeParticipantId": 987,
  "limit": 123,
  "mtid": 987
}
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 {
      ...MarketTypeWithSettingsFragment
    }
    region {
      ...RegionFragment
    }
    settings {
      ...LeagueSettingFragment
    }
    sport {
      ...SportFragment
    }
  }
}
Variables
{"lid": 123}
Response
{
  "data": {
    "league": {
      "lid": 123,
      "nam": "xyz789",
      "rid": 123,
      "spid": 123,
      "did": 987,
      "sn": "xyz789",
      "lurl": "xyz789",
      "marketType": MarketTypeWithSettings,
      "region": Region,
      "settings": LeagueSetting,
      "sport": Sport
    }
  }
}

leagueHierarchy

Response

Returns [LeagueHierarchy]

Arguments
Name Description
conferenceIds - [Int]
divisionIds - [Int]
leagueIds - [Int]
eventDate - Float

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 {
      ...ConferenceFragment
    }
    division {
      ...DivisionFragment
    }
  }
}
Variables
{
  "conferenceIds": [123],
  "divisionIds": [987],
  "leagueIds": [987],
  "eventDate": 987.65
}
Response
{
  "data": {
    "leagueHierarchy": [
      {
        "teamId": 987,
        "seasonId": 123,
        "leagueId": 123,
        "conference": Conference,
        "division": Division
      }
    ]
  }
}

leagueMarkets

Response

Returns [LeagueMarket]

Arguments
Name Description
lid - [Int] League Id
mtid - [Int] Market Type Id
limit - Int
skip - Int
sort - SortInput

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": [123],
  "mtid": [123],
  "limit": 123,
  "skip": 987,
  "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": 123}
Response
{
  "data": {
    "leagueSetting": {
      "lid": 123,
      "sitid": 987,
      "did": 123,
      "enabled": true,
      "alias": "abc123",
      "rotation": false,
      "ord": 987,
      "shortnamealias": "xyz789",
      "shortnamebreakpoint": "abc123",
      "matchupline": true,
      "_isCustom": true,
      "_isFavorite": false,
      "_isDefaultFavorite": false
    }
  }
}

leagueSettingsV2

Response

Returns [LeagueV2]

Arguments
Name Description
spid - Int Sport Id
rid - Int Sport Id
sitid - Int Site Id
did - Int Domain Id
merge - Boolean Merge Settings, indicates if custom and default settings should be merged
lid - [Int] League Ids

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 {
      ...MarketTypeWithSettingsFragment
    }
    sport {
      ...SportFragment
    }
    sn
    enabled
    alias
    rotation
    sitid
    did
    region {
      ...RegionFragment
    }
    lurl
    settings {
      ...LeagueSettingFragment
    }
  }
}
Variables
{
  "spid": 987,
  "rid": 123,
  "sitid": 123,
  "did": 987,
  "merge": false,
  "lid": [987]
}
Response
{
  "data": {
    "leagueSettingsV2": [
      {
        "lid": 123,
        "nam": "xyz789",
        "rid": 123,
        "spid": 123,
        "marketType": MarketTypeWithSettings,
        "sport": Sport,
        "sn": "xyz789",
        "enabled": false,
        "alias": "xyz789",
        "rotation": true,
        "sitid": 123,
        "did": 987,
        "region": Region,
        "lurl": "abc123",
        "settings": LeagueSetting
      }
    ]
  }
}

leagues

Response

Returns [LeagueWithSettings]

Arguments
Name Description
lid - [Int] League Id
spid - Int Sport Id
rid - Int Region Id
enabled - Boolean
alias - String
rotation - Boolean
limit - Int
skip - Int
sort - SortInput
distinct - [String]

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 {
      ...MarketTypeWithSettingsFragment
    }
    region {
      ...RegionFragment
    }
    settings {
      ...LeagueSettingFragment
    }
    sport {
      ...SportFragment
    }
  }
}
Variables
{
  "lid": [123],
  "spid": 123,
  "rid": 987,
  "enabled": false,
  "alias": "abc123",
  "rotation": true,
  "limit": 987,
  "skip": 123,
  "sort": SortInput,
  "distinct": ["xyz789"]
}
Response
{
  "data": {
    "leagues": [
      {
        "lid": 123,
        "nam": "xyz789",
        "rid": 123,
        "spid": 123,
        "did": 123,
        "sn": "xyz789",
        "lurl": "xyz789",
        "marketType": MarketTypeWithSettings,
        "region": Region,
        "settings": LeagueSetting,
        "sport": Sport
      }
    ]
  }
}

leaguesById

Response

Returns [League]

Arguments
Name Description
lid - [Int]
spid - [Int]
rid - [Int]

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": [987], "spid": [123], "rid": [123]}
Response
{
  "data": {
    "leaguesById": [
      {
        "lid": 123,
        "nam": "xyz789",
        "rid": 123,
        "spid": 123,
        "sn": "xyz789",
        "lurl": "xyz789"
      }
    ]
  }
}

leaguesByTeam

Description

Get the leagues to which a team belongs

Response

Returns [TeamLeague]

Arguments
Name Description
tmid - Int!
startYear - Int

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": 123,
        "senam": "xyz789"
      }
    ]
  }
}

leaguesSetting

Response

Returns [LeagueSetting]

Arguments
Name Description
lid - Int
enabled - Boolean
alias - String
rotation - Boolean
limit - Int
skip - Int
orderBy - String

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": 123,
  "enabled": true,
  "alias": "abc123",
  "rotation": true,
  "limit": 123,
  "skip": 987,
  "orderBy": "xyz789"
}
Response
{
  "data": {
    "leaguesSetting": [
      {
        "lid": 987,
        "sitid": 123,
        "did": 987,
        "enabled": false,
        "alias": "abc123",
        "rotation": true,
        "ord": 987,
        "shortnamealias": "abc123",
        "shortnamebreakpoint": "xyz789",
        "matchupline": false,
        "_isCustom": false,
        "_isFavorite": true,
        "_isDefaultFavorite": true
      }
    ]
  }
}

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 {
      ...MarketTypeWithSettingsFragment
    }
    region {
      ...RegionFragment
    }
    settings {
      ...LeagueSettingFragment
    }
    sport {
      ...SportFragment
    }
  }
}
Variables
{
  "spid": [123],
  "rid": [123],
  "mtid": [123],
  "hl": false,
  "ic": true,
  "dt": RangeInput,
  "timezoneOffset": 987.65,
  "leagueFilter": LeagueFilter
}
Response
{
  "data": {
    "leaguesWithEvents": [
      {
        "lid": 123,
        "nam": "xyz789",
        "rid": 123,
        "spid": 987,
        "did": 123,
        "sn": "xyz789",
        "lurl": "xyz789",
        "marketType": MarketTypeWithSettings,
        "region": Region,
        "settings": LeagueSetting,
        "sport": Sport
      }
    ]
  }
}

leaguesWithSettings

Response

Returns [LeagueWithSettings]

Arguments
Name Description
sitid - Int! SiteId
did - Int! DomainId
enabled - Boolean Enabled
spid - [Int] Sport Id
rid - [Int] Region Id
lid - [Int] League Ids

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 {
      ...MarketTypeWithSettingsFragment
    }
    region {
      ...RegionFragment
    }
    settings {
      ...LeagueSettingFragment
    }
    sport {
      ...SportFragment
    }
  }
}
Variables
{
  "sitid": 987,
  "did": 123,
  "enabled": true,
  "spid": [123],
  "rid": [987],
  "lid": [123]
}
Response
{
  "data": {
    "leaguesWithSettings": [
      {
        "lid": 987,
        "nam": "xyz789",
        "rid": 987,
        "spid": 123,
        "did": 987,
        "sn": "xyz789",
        "lurl": "xyz789",
        "marketType": MarketTypeWithSettings,
        "region": Region,
        "settings": LeagueSetting,
        "sport": Sport
      }
    ]
  }
}

lineHistory

Description

Query multiple Lines

Response

Returns [HistoryLine]

Arguments
Name Description
eid - Int! Event Id
mtid - Int! Market Type Id
paid - Int! Provider account id
partid - [Int] Participant ids
boid - [Int] Betting option ids
entrids - [Int] Entity Reference ids

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": [987],
  "entrids": [987]
}
Response
{"data": {"lineHistory": [{"tim": 123.45, "lines": [{}]}]}}

lineups

Response

Returns [LineUp]

Arguments
Name Description
eid - Int!

Example

Query
query lineups($eid: Int!) {
  lineups(eid: $eid) {
    tmrid
    tmid
    pid
    seid
    act
    pnum
    ppid
    ppnam
    ppsn
    ppprio
    depthChart {
      ...DepthChartFragment
    }
    startingGolie {
      ...DepthChartFragment
    }
    player {
      ...PlayerFragment
    }
    position {
      ...PositionFragment
    }
    confirmed
    starter
  }
}
Variables
{"eid": 123}
Response
{
  "data": {
    "lineups": [
      {
        "tmrid": 987,
        "tmid": 987,
        "pid": 987,
        "seid": 987,
        "act": true,
        "pnum": 987,
        "ppid": 123,
        "ppnam": "abc123",
        "ppsn": "xyz789",
        "ppprio": 987,
        "depthChart": [DepthChart],
        "startingGolie": DepthChart,
        "player": Player,
        "position": Position,
        "confirmed": true,
        "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": [987],
  "mtid": [123],
  "sbid": [123],
  "partid": [987],
  "paid": [123],
  "boid": [987],
  "marketTypeLayout": "abc123",
  "sort": SortInput,
  "limit": 123,
  "skip": 987,
  "distinct": ["xyz789"],
  "needSbid": false,
  "groupByEntity": false
}
Response
{"data": {"liveLines": [{}]}}

marketResultsByEvent

Response

Returns [Event]

Arguments
Name Description
pid - Int!
eid - Int
tmid - Int
seid - Int
mtids - [Int]
limit - Int
sort - SortInput
catid - Int
paid - [Int]

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 {
      ...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
    }
    consensus {
      ...ConsensusFragment
    }
    consensusV2 {
      ...ConsensusV2Fragment
    }
    weather {
      ...WeatherOutputFragment
    }
    eventMarketsCount
    tl
    att
    fo
    tr
    lat
    lon
    seg
    slg
    cov
    rft
    ipc
    marketCounter
    marketResults {
      ...MarketResultFragment
    }
    lastRoster {
      ...ParticipantFragment
    }
  }
}
Variables
{
  "pid": 987,
  "eid": 123,
  "tmid": 123,
  "seid": 987,
  "mtids": [123],
  "limit": 123,
  "sort": SortInput,
  "catid": 123,
  "paid": [123]
}
Response
{
  "data": {
    "marketResultsByEvent": [
      {
        "eid": 123,
        "srid": "xyz789",
        "cit": "xyz789",
        "dt": 123.45,
        "des": "xyz789",
        "es": "xyz789",
        "ic": true,
        "hl": false,
        "lu": "xyz789",
        "lid": 987,
        "rid": 123,
        "spid": 123,
        "sta": "abc123",
        "st": "xyz789",
        "cou": "abc123",
        "zcode": "abc123",
        "ven": "xyz789",
        "tvs": "abc123",
        "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],
        "consensus": [Consensus],
        "consensusV2": [ConsensusV2],
        "weather": [WeatherOutput],
        "eventMarketsCount": 123,
        "tl": "xyz789",
        "att": 123,
        "fo": "xyz789",
        "tr": 123,
        "lat": 123.45,
        "lon": 987.65,
        "seg": "abc123",
        "slg": "xyz789",
        "cov": "xyz789",
        "rft": "xyz789",
        "ipc": false,
        "marketCounter": 123,
        "marketResults": [MarketResult],
        "lastRoster": Participant
      }
    ]
  }
}

marketType

Description

Query a single MarketType

Response

Returns a MarketTypeWithSettings

Arguments
Name Description
mtid - Int! MarketType Id
spid - Int Sport Id

Example

Query
query marketType(
  $mtid: Int!,
  $spid: Int
) {
  marketType(
    mtid: $mtid,
    spid: $spid
  ) {
    mtid
    ord
    spid
    mtgid
    nam
    des
    format
    layout
    settings {
      ...MarketTypeSettingFragment
    }
  }
}
Variables
{"mtid": 987, "spid": 987}
Response
{
  "data": {
    "marketType": {
      "mtid": 987,
      "ord": 123,
      "spid": 123,
      "mtgid": 123,
      "nam": "xyz789",
      "des": "abc123",
      "format": "xyz789",
      "layout": "xyz789",
      "settings": MarketTypeSetting
    }
  }
}

marketTypeGroup

Description

Query a single Group

Response

Returns a MarketTypeGroupWithSettings

Arguments
Name Description
mtgid - Int! MarketType Group Id
spid - Int Sport Id

Example

Query
query marketTypeGroup(
  $mtgid: Int!,
  $spid: Int
) {
  marketTypeGroup(
    mtgid: $mtgid,
    spid: $spid
  ) {
    mtgid
    spid
    nam
    sitid
    did
    marketTypes {
      ...MarketTypeWithSettingsFragment
    }
    settings {
      ...MarketTypeGroupSettingFragment
    }
  }
}
Variables
{"mtgid": 987, "spid": 987}
Response
{
  "data": {
    "marketTypeGroup": {
      "mtgid": 987,
      "spid": 987,
      "nam": "xyz789",
      "sitid": 987,
      "did": 987,
      "marketTypes": [MarketTypeWithSettings],
      "settings": MarketTypeGroupSetting
    }
  }
}

marketTypeGroups

Description

Query multiple Groups

Arguments
Name Description
mtgid - [Int] MarketType Group Id
spid - [Int] Sport Id
sitid - Int! Site Name
did - Int
enabled - Boolean
mtid - [Int] Available Markets
merge - Boolean

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 {
      ...MarketTypeWithSettingsFragment
    }
    settings {
      ...MarketTypeGroupSettingFragment
    }
  }
}
Variables
{
  "mtgid": [123],
  "spid": [987],
  "sitid": 123,
  "did": 987,
  "enabled": false,
  "mtid": [123],
  "merge": true
}
Response
{
  "data": {
    "marketTypeGroups": [
      {
        "mtgid": 987,
        "spid": 987,
        "nam": "xyz789",
        "sitid": 123,
        "did": 123,
        "marketTypes": [MarketTypeWithSettings],
        "settings": MarketTypeGroupSetting
      }
    ]
  }
}

marketTypeGroupsById

Response

Returns [MarketTypeGroup]

Arguments
Name Description
mtgid - [Int] MarketType Group Id
spid - [Int] Sport Id

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": 123,
        "spid": 987,
        "nam": "abc123"
      }
    ]
  }
}

marketTypeGroupsFiltered

Description

Queries Market Type Groups with a sport ID and mtgid Id

Response

Returns [MarketTypeGroupFiltered]

Arguments
Name Description
eid - Int Event Id Required if showAllMarkets is true
spid - Int! Sport Id
nam - String MarketType Group Name
sitid - Int! Site Name
did - Int! Domain Id
sam - Boolean showAllMarkets
mtgid - [Int] MarketType Group Id

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 {
      ...MarketTypeWithSettingsFragment
    }
  }
}
Variables
{
  "eid": 987,
  "spid": 123,
  "nam": "abc123",
  "sitid": 123,
  "did": 987,
  "sam": true,
  "mtgid": [987]
}
Response
{
  "data": {
    "marketTypeGroupsFiltered": [
      {
        "mtgid": 987,
        "ord": 123,
        "spid": 123,
        "nam": "abc123",
        "alias": "xyz789",
        "mtids": [MarketTypeWithSettings]
      }
    ]
  }
}

marketTypeGroupsWithMarketTypes

Description

Queries Market Type Groups with array of Market Types and their order in the Market Type Group

Arguments
Name Description
mtgid - [Int] MarketType Group Id

Example

Query
query marketTypeGroupsWithMarketTypes($mtgid: [Int]) {
  marketTypeGroupsWithMarketTypes(mtgid: $mtgid) {
    mtgid
    mtids {
      ...MarketTypesByMarketTypeGroupFragment
    }
  }
}
Variables
{"mtgid": [987]}
Response
{
  "data": {
    "marketTypeGroupsWithMarketTypes": [
      {
        "mtgid": 987,
        "mtids": [MarketTypesByMarketTypeGroup]
      }
    ]
  }
}

marketTypes

Description

Query multiple MarketTypes

Response

Returns [MarketTypeWithSettings]

Arguments
Name Description
mtid - [Int] MarketType Id
spid - [Int] Sport Id
sitid - String Site Name
did - String Domain Name
merge - Boolean Merge settings?
enabled - Boolean Is Enabled?
onlyProps - Boolean Only Props?

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 {
      ...MarketTypeSettingFragment
    }
  }
}
Variables
{
  "mtid": [987],
  "spid": [123],
  "sitid": "abc123",
  "did": "xyz789",
  "merge": false,
  "enabled": false,
  "onlyProps": false
}
Response
{
  "data": {
    "marketTypes": [
      {
        "mtid": 123,
        "ord": 123,
        "spid": 123,
        "mtgid": 987,
        "nam": "xyz789",
        "des": "xyz789",
        "format": "abc123",
        "layout": "abc123",
        "settings": MarketTypeSetting
      }
    ]
  }
}

marketTypesById

Response

Returns [MarketType]

Arguments
Name Description
mtid - [Int] MarketType Id
spid - [Int] Sport Id

Example

Query
query marketTypesById(
  $mtid: [Int],
  $spid: [Int]
) {
  marketTypesById(
    mtid: $mtid,
    spid: $spid
  ) {
    mtid
    spid
    nam
    des
  }
}
Variables
{"mtid": [123], "spid": [123]}
Response
{
  "data": {
    "marketTypesById": [
      {
        "mtid": 987,
        "spid": 123,
        "nam": "abc123",
        "des": "xyz789"
      }
    ]
  }
}

marketsByPlayer

Response

Returns [MarketsByPlayer]

Arguments
Name Description
pid - Int Player Id
lid - Int League Id
paid - [Int]! Provider Acount Id
mtids - [Int]! Market Type Id
seids - [Int]! Season Id

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": 987, "lid": 987, "paid": [987], "mtids": [987], "seids": [123]}
Response
{"data": {"marketsByPlayer": [{"seid": 987, "mtids": [123]}]}}

matchups

Description

Query events with two participants

Response

Returns [MatchupId]

Arguments
Name Description
participantId1 - Int! Participant ID #1
participantId2 - Int! Participant ID #2
homeParticipantId - Int Participant id if requires a specific home/away matchups

Example

Query
query matchups(
  $participantId1: Int!,
  $participantId2: Int!,
  $homeParticipantId: Int
) {
  matchups(
    participantId1: $participantId1,
    participantId2: $participantId2,
    homeParticipantId: $homeParticipantId
  ) {
    eid
  }
}
Variables
{"participantId1": 123, "participantId2": 123, "homeParticipantId": 123}
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": 123.45,
      "scoresMaxSequence": 123.45,
      "linesMaxSequence": 987.65,
      "liveLinesMaxSequence": 123.45,
      "statisticsMaxSequence": 123.45,
      "statisticsByGroupsMaxSequence": 123.45,
      "consensusMaxSequence": 987.65,
      "consensusV2MaxSequence": 123.45,
      "playsMaxSequence": 987.65
    }
  }
}

menuOption

Response

Returns a MenuOption

Arguments
Name Description
mid - Int! Menu Option Id

Example

Query
query menuOption($mid: Int!) {
  menuOption(mid: $mid) {
    mid
    sitid
    mbid
    parentlink
    level
    settings {
      ...MenuOptionSettingFragment
    }
    submenuoptions {
      ...MenuOptionFragment
    }
  }
}
Variables
{"mid": 123}
Response
{
  "data": {
    "menuOption": {
      "mid": "xyz789",
      "sitid": 123,
      "mbid": 123,
      "parentlink": "xyz789",
      "level": 987,
      "settings": MenuOptionSetting,
      "submenuoptions": [MenuOption]
    }
  }
}

menuOptions

Response

Returns [MenuOption]

Arguments
Name Description
sitid - Int Site Id
mid - [String] Menu Option Ids
mbid - Int Menu Bar Id
level - Int Menu level

Example

Query
query menuOptions(
  $sitid: Int,
  $mid: [String],
  $mbid: Int,
  $level: Int
) {
  menuOptions(
    sitid: $sitid,
    mid: $mid,
    mbid: $mbid,
    level: $level
  ) {
    mid
    sitid
    mbid
    parentlink
    level
    settings {
      ...MenuOptionSettingFragment
    }
    submenuoptions {
      ...MenuOptionFragment
    }
  }
}
Variables
{
  "sitid": 987,
  "mid": ["xyz789"],
  "mbid": 987,
  "level": 987
}
Response
{
  "data": {
    "menuOptions": [
      {
        "mid": "abc123",
        "sitid": 123,
        "mbid": 123,
        "parentlink": "xyz789",
        "level": 123,
        "settings": MenuOptionSetting,
        "submenuoptions": [MenuOption]
      }
    ]
  }
}

multipleSearch

Response

Returns a MultipleResult

Arguments
Name Description
query - [String]! Text to search
did - Int! Domain Id

Example

Query
query multipleSearch(
  $query: [String]!,
  $did: Int!
) {
  multipleSearch(
    query: $query,
    did: $did
  ) {
    searchEvent {
      ...EventCatalogFragment
    }
    searchSport {
      ...SportCatalogFragment
    }
    searchLeague {
      ...LeagueCatalogFragment
    }
  }
}
Variables
{"query": ["abc123"], "did": 123}
Response
{
  "data": {
    "multipleSearch": {
      "searchEvent": [EventCatalog],
      "searchSport": [SportCatalog],
      "searchLeague": [LeagueCatalog]
    }
  }
}

myHash

Response

Returns a Boolean

Example

Query
query myHash {
  myHash
}
Response
{"data": {"myHash": false}}

nearestSeasonEvents

Response

Returns an EventsWithMaxSequences

Arguments
Name Description
lid - Int League ID
mtid - Int Market Type ID
seid - Int Season ID
timezoneOffset - Float Client's timezone offset
providerAcountOpener - Int opening bt sportbook
es - [String]

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 {
      ...EventFragment
    }
    maxSequences {
      ...MaxSequencesFragment
    }
  }
}
Variables
{
  "lid": 123,
  "mtid": 987,
  "seid": 987,
  "timezoneOffset": 987.65,
  "providerAcountOpener": 123,
  "es": ["xyz789"]
}
Response
{
  "data": {
    "nearestSeasonEvents": {
      "events": [Event],
      "maxSequences": MaxSequences
    }
  }
}

news

Response

Returns [New]

Arguments
Name Description
pids - [Float]!
seid - Int!
sort - SortInput

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": [987.65], "seid": 123, "sort": SortInput}
Response
{
  "data": {
    "news": [
      {
        "hl": "xyz789",
        "not": "abc123",
        "anly": "abc123",
        "prio": 123,
        "inid": 987,
        "pid": 987,
        "seid": 123,
        "act": "abc123",
        "tim": 987.65,
        "date": 987.65
      }
    ]
  }
}

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 {
      ...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
    }
    consensus {
      ...ConsensusFragment
    }
    consensusV2 {
      ...ConsensusV2Fragment
    }
    weather {
      ...WeatherOutputFragment
    }
    eventMarketsCount
    tl
    att
    fo
    tr
    lat
    lon
    seg
    slg
    cov
    rft
    ipc
    marketCounter
    marketResults {
      ...MarketResultFragment
    }
    lastRoster {
      ...ParticipantFragment
    }
  }
}
Variables
{
  "startDate": 123.45,
  "partid": [123],
  "seid": 123,
  "es": ["xyz789"],
  "hl": true,
  "timeLimit": 987,
  "noTimeLimit": false,
  "limit": 123,
  "skip": 123
}
Response
{
  "data": {
    "nextEventsByParticipant": [
      {
        "eid": 987,
        "srid": "xyz789",
        "cit": "abc123",
        "dt": 123.45,
        "des": "abc123",
        "es": "xyz789",
        "ic": false,
        "hl": false,
        "lu": "abc123",
        "lid": 987,
        "rid": 123,
        "spid": 123,
        "sta": "xyz789",
        "st": "xyz789",
        "cou": "abc123",
        "zcode": "xyz789",
        "ven": "abc123",
        "tvs": "abc123",
        "sequence": 987,
        "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],
        "consensus": [Consensus],
        "consensusV2": [ConsensusV2],
        "weather": [WeatherOutput],
        "eventMarketsCount": 123,
        "tl": "xyz789",
        "att": 123,
        "fo": "abc123",
        "tr": 123,
        "lat": 987.65,
        "lon": 987.65,
        "seg": "abc123",
        "slg": "xyz789",
        "cov": "xyz789",
        "rft": "xyz789",
        "ipc": true,
        "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

Arguments
Name Description
mtid - [Int]! Array of Market Type ids.
paid - [Int]! Array of Provider account ids.
pid - Int! Player id
lid - Int! League Id
seid - Int! Season Id
eid - Int Event Id (Optional)

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": [123], "paid": [123], "pid": 987, "lid": 123, "seid": 987, "eid": 987}
Response
{"data": {"openingLinesByPlayer": LinesByPlayer}}

outrightMarketTypes

Description

Query to get the Market outrights

Response

Returns [MarketTypeWithSettings]

Arguments
Name Description
lid - [Int]! League Id
spid - Int! Sport Id
dt - String! Date
hl - Boolean! has lines
mtid - [Int]

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 {
      ...MarketTypeSettingFragment
    }
  }
}
Variables
{
  "lid": [987],
  "spid": 123,
  "dt": "abc123",
  "hl": true,
  "mtid": [987]
}
Response
{
  "data": {
    "outrightMarketTypes": [
      {
        "mtid": 987,
        "ord": 987,
        "spid": 987,
        "mtgid": 987,
        "nam": "xyz789",
        "des": "abc123",
        "format": "xyz789",
        "layout": "abc123",
        "settings": MarketTypeSetting
      }
    ]
  }
}

participant

Description

Query a single Participant

Response

Returns a Participant

Arguments
Name Description
partid - Int Participant Id
eid - Int Event Id
ptid - Int Participant Type Id

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 {
      ...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, "eid": 123, "ptid": 123}
Response
{
  "data": {
    "participant": {
      "partid": 123,
      "eid": 987,
      "ptid": 987,
      "psid": 987,
      "partbeid": 987,
      "act": true,
      "stt": "abc123",
      "rot": 987,
      "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

Response

Returns [ParticipantByEvent]

Arguments
Name Description
eid - [Int]! Event Ids
ptid - Int Participant Type Id
seid - Int Season Id

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": 987, "seid": 123}
Response
{
  "data": {
    "participantByEvent": [
      {
        "partid": 987,
        "eid": 987,
        "ptid": 987,
        "act": true,
        "psid": 987,
        "rot": 987,
        "ih": false,
        "tr": 987,
        "sbrid": 123,
        "sppil": "abc123",
        "sppic": true,
        "sppid": 987,
        "partbeid": 123,
        "seid": 123,
        "pbsid": 123
      }
    ]
  }
}

participants

Description

Query multiple Participants

Response

Returns [Participant]

Arguments
Name Description
partid - [Int] Participant Ids
eid - [Int] Event Ids
ptid - Int Participant Type Id

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 {
      ...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": [123], "eid": [987], "ptid": 123}
Response
{
  "data": {
    "participants": [
      {
        "partid": 987,
        "eid": 123,
        "ptid": 123,
        "psid": 987,
        "partbeid": 123,
        "act": true,
        "stt": "xyz789",
        "rot": 987,
        "ih": true,
        "sbrid": 987,
        "sppil": "xyz789",
        "sppic": false,
        "tr": 123,
        "startingPitcher": Player,
        "source": Team,
        "statsIdentity": [StatisticByGroup],
        "pbsid": 987,
        "statisticsByGroups": [StatisticByGroup],
        "participantSeasonStatistics": [StatisticByGroup],
        "isFavorite": true,
        "eventrosters": [EventRoster]
      }
    ]
  }
}

picksPage

Response

Returns [PicksPageType]

Arguments
Name Description
events - [EventInput!]!
mtid - [Int]!
seid - Int!
rankIdty - String!
catid - Int Category Id
paid - [Int] Provider Id list
randomizeProviders - Boolean Randomize Providers Id list

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 {
      ...ConsensusV2Fragment
    }
    stats {
      ...pickStatsFragment
    }
  }
}
Variables
{
  "events": [EventInput],
  "mtid": [987],
  "seid": 123,
  "rankIdty": "xyz789",
  "catid": 987,
  "paid": [123],
  "randomizeProviders": true
}
Response
{
  "data": {
    "picksPage": [
      {
        "eid": "abc123",
        "consensusV2": [ConsensusV2],
        "stats": [pickStats]
      }
    ]
  }
}

playByPlayByEvent

Response

Returns [Play]

Arguments
Name Description
eid - [Int!]!
driveid - [String]

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": [987], "driveid": ["abc123"]}
Response
{
  "data": {
    "playByPlayByEvent": [
      {
        "eid": 123,
        "sqid": 987,
        "siid": 987,
        "gid": 987,
        "nam": "xyz789",
        "val": "abc123",
        "tim": 987.65,
        "sequence": 987,
        "driveid": "abc123",
        "playid": "abc123",
        "seq": 987.65,
        "hPoints": 987,
        "aPoints": 123,
        "typ": "xyz789",
        "sspt": "xyz789",
        "sslt": "xyz789",
        "sslyl": 987,
        "ssc": "xyz789",
        "ssd": 987,
        "espt": "xyz789",
        "eslt": "xyz789",
        "eslyl": 123,
        "esc": "abc123",
        "esd": 123,
        "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 {
      ...PlayFragment
    }
  }
}
Variables
{"eid": [987]}
Response
{
  "data": {
    "playByPlayGroupByEvent": [
      {
        "eid": 987,
        "gameid": "abc123",
        "driveid": "xyz789",
        "seq": 123.45,
        "sr": "xyz789",
        "er": "xyz789",
        "dur": "abc123",
        "fd": 123,
        "gain": 987,
        "py": 987,
        "hPoints": 123,
        "aPoints": 987,
        "scoretype": "xyz789",
        "qt": 987,
        "pc": 123,
        "sd": true,
        "clock": "xyz789",
        "yardline": 987,
        "tl": "xyz789",
        "plays": [Play]
      }
    ]
  }
}

player

Response

Returns a Player

Arguments
Name Description
pid - Int!
fn - String
lnam - String

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 {
      ...TeamRosterFragment
    }
  }
}
Variables
{
  "pid": 123,
  "fn": "xyz789",
  "lnam": "abc123"
}
Response
{
  "data": {
    "player": {
      "pid": 987,
      "fn": "abc123",
      "lnam": "xyz789",
      "cit": "abc123",
      "sta": "xyz789",
      "cou": "abc123",
      "act": false,
      "stt": "abc123",
      "hei": 123,
      "wei": 123,
      "bd": 123.45,
      "age": 123,
      "sch": "xyz789",
      "dy": 123.45,
      "hsurl": "xyz789",
      "srid": "xyz789",
      "playerTeamRosters": [TeamRoster]
    }
  }
}

playerDetails

Response

Returns a PlayerDetails

Arguments
Name Description
pid - Int!
seid - Int!

Example

Query
query playerDetails(
  $pid: Int!,
  $seid: Int!
) {
  playerDetails(
    pid: $pid,
    seid: $seid
  ) {
    nextEvent {
      ...EventFragment
    }
    teamRoster {
      ...TeamRosterFragment
    }
  }
}
Variables
{"pid": 123, "seid": 987}
Response
{
  "data": {
    "playerDetails": {
      "nextEvent": Event,
      "teamRoster": TeamRoster
    }
  }
}

playerPerformance

Response

Returns a PlayerPerformanceInfo

Arguments
Name Description
pid - Int! Player Id
seid - Int! Season Id
ppid - Int Player Position Id (deprecated, it is used for nothing)

Example

Query
query playerPerformance(
  $pid: Int!,
  $seid: Int!,
  $ppid: Int
) {
  playerPerformance(
    pid: $pid,
    seid: $seid,
    ppid: $ppid
  )
}
Variables
{"pid": 987, "seid": 987, "ppid": 987}
Response
{"data": {"playerPerformance": PlayerPerformanceInfo}}

players

Response

Returns [Player]

Arguments
Name Description
pid - [Int]
fn - String
lnam - String

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 {
      ...TeamRosterFragment
    }
  }
}
Variables
{
  "pid": [123],
  "fn": "xyz789",
  "lnam": "xyz789"
}
Response
{
  "data": {
    "players": [
      {
        "pid": 987,
        "fn": "abc123",
        "lnam": "xyz789",
        "cit": "xyz789",
        "sta": "xyz789",
        "cou": "xyz789",
        "act": false,
        "stt": "xyz789",
        "hei": 987,
        "wei": 987,
        "bd": 987.65,
        "age": 987,
        "sch": "xyz789",
        "dy": 987.65,
        "hsurl": "abc123",
        "srid": "xyz789",
        "playerTeamRosters": [TeamRoster]
      }
    ]
  }
}

plays

Description

Query multiple plays

Response

Returns [Play]

Arguments
Name Description
eid - [Int]! Event Id
pgid - Int Play Group Id
limitLastSeq - Int Query only the last X number of sequence ids
pgidWhenFinished - Int Play group id for finished events

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": 123}
Response
{
  "data": {
    "plays": [
      {
        "eid": 987,
        "sqid": 987,
        "siid": 123,
        "gid": 987,
        "nam": "xyz789",
        "val": "xyz789",
        "tim": 123.45,
        "sequence": 123,
        "driveid": "abc123",
        "playid": "xyz789",
        "seq": 987.65,
        "hPoints": 987,
        "aPoints": 987,
        "typ": "xyz789",
        "sspt": "abc123",
        "sslt": "xyz789",
        "sslyl": 987,
        "ssc": "xyz789",
        "ssd": 123,
        "espt": "abc123",
        "eslt": "xyz789",
        "eslyl": 123,
        "esc": "abc123",
        "esd": 987,
        "desc": "abc123",
        "scoretype": "abc123",
        "scoreteam": "xyz789",
        "qt": 987
      }
    ]
  }
}

playsV2

Response

Returns a PlaysWithMaxSequence

Arguments
Name Description
eid - [Int]! Event Id
sequence - Int Sequence
pgid - Int Play Group Id
limitLastSeq - Int Query only the last X number of sequence ids

Example

Query
query playsV2(
  $eid: [Int]!,
  $sequence: Int,
  $pgid: Int,
  $limitLastSeq: Int
) {
  playsV2(
    eid: $eid,
    sequence: $sequence,
    pgid: $pgid,
    limitLastSeq: $limitLastSeq
  ) {
    plays {
      ...PlayFragment
    }
    maxSequence
  }
}
Variables
{"eid": [987], "sequence": 987, "pgid": 987, "limitLastSeq": 987}
Response
{
  "data": {
    "playsV2": {"plays": [Play], "maxSequence": 123.45}
  }
}

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 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
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,
  $linesoptions: [LINESOPTIONS],
  $catid: Int
) {
  propLinesByEntry(
    eid: $eid,
    mtid: $mtid,
    sbid: $sbid,
    pid: $pid,
    tmid: $tmid,
    linesoptions: $linesoptions,
    catid: $catid
  )
}
Variables
{
  "eid": 987,
  "mtid": [987],
  "sbid": [987],
  "pid": 123,
  "tmid": 987,
  "linesoptions": ["BESTLINES"],
  "catid": 123
}
Response
{"data": {"propLinesByEntry": PropLines}}

region

Response

Returns a Region

Arguments
Name Description
rid - Int! Region Id

Example

Query
query region($rid: Int!) {
  region(rid: $rid) {
    rid
    nam
    sn
  }
}
Variables
{"rid": 987}
Response
{
  "data": {
    "region": {
      "rid": 123,
      "nam": "xyz789",
      "sn": "abc123"
    }
  }
}

regions

Response

Returns [Region]

Arguments
Name Description
rid - [Int] Region Id
sort - SortInput
limit - Int
skip - Int

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": [987],
  "sort": SortInput,
  "limit": 987,
  "skip": 123
}
Response
{
  "data": {
    "regions": [
      {
        "rid": 987,
        "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": 123,
  "ic": true,
  "hl": true
}
Response
{"data": {"regionsBySport": {"active": [987], "available": [987]}}}

relatedEvents

Response

Returns an EventsWithMaxSequences

Arguments
Name Description
eid - Int! Event ID
timezoneOffset - Float Client's timezone offset
groupBy - String! Flag to select the stored procedure 'EVENT_GROUP', 'EVENT_DATE'

Example

Query
query relatedEvents(
  $eid: Int!,
  $timezoneOffset: Float,
  $groupBy: String!
) {
  relatedEvents(
    eid: $eid,
    timezoneOffset: $timezoneOffset,
    groupBy: $groupBy
  ) {
    events {
      ...EventFragment
    }
    maxSequences {
      ...MaxSequencesFragment
    }
  }
}
Variables
{
  "eid": 987,
  "timezoneOffset": 987.65,
  "groupBy": "abc123"
}
Response
{
  "data": {
    "relatedEvents": {
      "events": [Event],
      "maxSequences": MaxSequences
    }
  }
}

scores

Description

Query multiple Scores

Response

Returns [Score]

Arguments
Name Description
eid - [Int]! Event Id
partid - Int Participant Id
pn - Int Period Number

Example

Query
query scores(
  $eid: [Int]!,
  $partid: Int,
  $pn: Int
) {
  scores(
    eid: $eid,
    partid: $partid,
    pn: $pn
  ) {
    eid
    partid
    pn
    val
    sequence
  }
}
Variables
{"eid": [987], "partid": 987, "pn": 987}
Response
{
  "data": {
    "scores": [
      {
        "eid": 123,
        "partid": 123,
        "pn": 987,
        "val": "abc123",
        "sequence": 987
      }
    ]
  }
}

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 {
      ...SearchParticipantFragment
    }
    eventParticipants
    lid
    path
  }
}
Variables
{"query": ["abc123"]}
Response
{
  "data": {
    "searchEvent": [
      {
        "des": "xyz789",
        "date": "xyz789",
        "league": "xyz789",
        "sport": "abc123",
        "spid": "xyz789",
        "region": "abc123",
        "eid": 123,
        "searchParticipants": [SearchParticipant],
        "eventParticipants": "xyz789",
        "lid": 123,
        "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": [123]}
Response
{
  "data": {
    "seasonInfoByLeague": [
      {
        "lid": 123,
        "lnam": "xyz789",
        "seid": 987,
        "senam": "abc123",
        "spid": 987,
        "spnam": "abc123",
        "rid": 987,
        "rnam": "xyz789",
        "sdt": 987.65,
        "edt": 123.45
      }
    ]
  }
}

seasonTeams

Response

Returns [TeamByLeague]

Arguments
Name Description
lid - [Int!]!
seid - Int

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 {
      ...EventGroupBySeasonFragment
    }
  }
}
Variables
{"lid": [987], "seid": 123}
Response
{
  "data": {
    "seasonTeams": [
      {
        "tmid": 987,
        "lid": 123,
        "seid": 987,
        "senam": "xyz789",
        "act": false,
        "tmblid": 987,
        "conid": 123,
        "conname": "abc123",
        "divid": 123,
        "divname": "abc123",
        "isCurrent": true,
        "eventGroups": [EventGroupBySeason]
      }
    ]
  }
}

sport

Response

Returns a Sport

Arguments
Name Description
spid - Int! Sport Id

Example

Query
query sport($spid: Int!) {
  sport(spid: $spid) {
    spid
    nam
    settings {
      ...SportSettingFragment
    }
  }
}
Variables
{"spid": 123}
Response
{
  "data": {
    "sport": {
      "spid": 987,
      "nam": "abc123",
      "settings": SportSetting
    }
  }
}

sportSetting

Response

Returns a SportSetting

Arguments
Name Description
spid - Int! Sport Id
sitid - String
did - String

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": 987,
  "sitid": "abc123",
  "did": "xyz789"
}
Response
{
  "data": {
    "sportSetting": {
      "spid": 123,
      "sitid": 987,
      "did": 123,
      "enabled": false,
      "alias": "xyz789",
      "mode": "abc123",
      "ord": 123,
      "nav": "xyz789",
      "mtid": 123
    }
  }
}

sportSettingsV2

Response

Returns [SportV2]

Arguments
Name Description
sitid - Int! Site Name

Example

Query
query sportSettingsV2($sitid: Int!) {
  sportSettingsV2(sitid: $sitid) {
    spid
    nam
    sportHasCustomLeagueSettings {
      ...CustomizedFragment
    }
    sportHasCustomMarketTypeSettings {
      ...CustomizedFragment
    }
    sportHasCustomMarketTypeGroupSettings {
      ...CustomizedFragment
    }
    settings {
      ...SportSettingFragment
    }
  }
}
Variables
{"sitid": 987}
Response
{
  "data": {
    "sportSettingsV2": [
      {
        "spid": 123,
        "nam": "abc123",
        "sportHasCustomLeagueSettings": Customized,
        "sportHasCustomMarketTypeSettings": Customized,
        "sportHasCustomMarketTypeGroupSettings": Customized,
        "settings": SportSetting
      }
    ]
  }
}

sportbooksByCategory

Response

Returns [SportbooksByCategory]

Arguments
Name Description
sitid - Int!
did - Int!
cid - Int!
spid - Int!
enabled - Boolean
sortWith - Boolean
famid - Int

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 {
      ...MainAffiliateFragment
    }
    enabled
    sportsbooksadmin {
      ...SportsbookFragment
    }
  }
}
Variables
{
  "sitid": 987,
  "did": 123,
  "cid": 987,
  "spid": 987,
  "enabled": true,
  "sortWith": true,
  "famid": 123
}
Response
{
  "data": {
    "sportbooksByCategory": [
      {
        "cid": 987,
        "afid": "xyz789",
        "shortafid": "xyz789",
        "safid": "abc123",
        "categoryName": "xyz789",
        "affiliateURL": "abc123",
        "mainAffiliate": MainAffiliate,
        "enabled": false,
        "sportsbooksadmin": Sportsbook
      }
    ]
  }
}

sports

Response

Returns [Sport]

Arguments
Name Description
spid - [Int] Sport Id
enabled - Boolean Is Enabled?
alias - String Sport Alias
mode - String Mode Setting
sort - SortInput
limit - Int
skip - Int

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 {
      ...SportSettingFragment
    }
  }
}
Variables
{
  "spid": [987],
  "enabled": true,
  "alias": "xyz789",
  "mode": "xyz789",
  "sort": SortInput,
  "limit": 123,
  "skip": 987
}
Response
{
  "data": {
    "sports": [
      {
        "spid": 987,
        "nam": "abc123",
        "settings": SportSetting
      }
    ]
  }
}

sportsWithLiveEvents

Response

Returns [Sports]

Arguments
Name Description
days - Int! Days offset
spid - [Int]! Sport Id

Example

Query
query sportsWithLiveEvents(
  $days: Int!,
  $spid: [Int]!
) {
  sportsWithLiveEvents(
    days: $days,
    spid: $spid
  ) {
    spids
  }
}
Variables
{"days": 987, "spid": [987]}
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 {
      ...SportsbookSettingFragment
    }
    image {
      ...ImageFragment
    }
  }
}
Variables
{"sbid": 987}
Response
{
  "data": {
    "sportsbook": {
      "sbid": 987,
      "paid": 123,
      "nam": "abc123",
      "iid": "abc123",
      "pre": "abc123",
      "suf": "abc123",
      "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": 123,
      "sitid": 987,
      "did": 987,
      "spid": 987,
      "cid": 123,
      "ord": 123,
      "enabled": true,
      "alias": "abc123"
    }
  }
}

sportsbooks

Response

Returns [Sportsbook]

Arguments
Name Description
sitid - Int
did - Int
enabled - Boolean Filter by Enabled
sbids - [Int] Sportsbook ID
limit - Int
skip - Int

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 {
      ...SportsbookSettingFragment
    }
    image {
      ...ImageFragment
    }
  }
}
Variables
{
  "sitid": 123,
  "did": 987,
  "enabled": true,
  "sbids": [123],
  "limit": 987,
  "skip": 987
}
Response
{
  "data": {
    "sportsbooks": [
      {
        "sbid": 987,
        "paid": 987,
        "nam": "xyz789",
        "iid": "abc123",
        "pre": "abc123",
        "suf": "xyz789",
        "afid": "xyz789",
        "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 {
      ...ImageFragment
    }
  }
}
Variables
{"catid": 987}
Response
{
  "data": {
    "sportsbooksByCategory": [
      {
        "sbid": 987,
        "catid": 123,
        "affiliate": "abc123",
        "prefix": "abc123",
        "suffix": "abc123",
        "enabled": false,
        "ord": 123,
        "paid": 987,
        "nam": "xyz789",
        "iid": "xyz789",
        "image": Image
      }
    ]
  }
}

statistic

Description

Query a single Statistic

Response

Returns a Statistic

Arguments
Name Description
eid - Int!
partid - Int
pid - Int
typ - String
sgid - Int Statistics Group Id

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 {
      ...PlayerFragment
    }
    siid
    sequence
  }
}
Variables
{
  "eid": 987,
  "partid": 123,
  "pid": 987,
  "typ": "abc123",
  "sgid": 987
}
Response
{
  "data": {
    "statistic": {
      "typ": "xyz789",
      "eid": 123,
      "partid": 123,
      "pid": 123,
      "nam": "abc123",
      "val": "xyz789",
      "player": Player,
      "siid": 987.65,
      "sequence": 123.45
    }
  }
}

statistics

Description

Query multiple Statistics

Response

Returns [Statistic]

Arguments
Name Description
eid - [Int]!
partid - Int
pid - Int
typ - String
sgid - Int Statistics Group Id

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 {
      ...PlayerFragment
    }
    siid
    sequence
  }
}
Variables
{
  "eid": [987],
  "partid": 123,
  "pid": 123,
  "typ": "xyz789",
  "sgid": 123
}
Response
{
  "data": {
    "statistics": [
      {
        "typ": "abc123",
        "eid": 987,
        "partid": 123,
        "pid": 987,
        "nam": "xyz789",
        "val": "abc123",
        "player": Player,
        "siid": 123.45,
        "sequence": 987.65
      }
    ]
  }
}

statisticsBettingOddsTrends

Response

Returns [Trends]

Arguments
Name Description
participantByEventIds - [Int]
ws - String Win Stat
ls - String Loss Stat

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": "abc123",
        "vln": "abc123",
        "partbeid": 123,
        "identity": "xyz789"
      }
    ]
  }
}

statisticsByEvent

Response

Returns [StatisticByGroup]

Arguments
Name Description
eids - [Int]!
idtys - [String]
grps - [String]
stats - [String]
entrids - [Int]
entgids - [Int]
limit - Int
skip - Int
orderBy - SortInput

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": [987],
  "idtys": ["abc123"],
  "grps": ["abc123"],
  "stats": ["abc123"],
  "entrids": [987],
  "entgids": [987],
  "limit": 123,
  "skip": 123,
  "orderBy": SortInput
}
Response
{
  "data": {
    "statisticsByEvent": [
      {
        "ent": "abc123",
        "grp": "xyz789",
        "stat": "xyz789",
        "tim": 123.45,
        "val": "abc123",
        "sequence": 987.65,
        "valid": 987.65,
        "entid": 123,
        "gid": 123,
        "statid": 987,
        "entgid": 987,
        "idty": "xyz789",
        "entrid": 123,
        "sctim": 123.45,
        "eid": 123,
        "partbeid": 987,
        "partid": 987,
        "pid": 123,
        "seid": 987,
        "lid": 123,
        "tmid": 987,
        "tmblid": 123,
        "partname": "xyz789",
        "partabbreviation": "xyz789",
        "partshortname": "xyz789",
        "pfn": "abc123",
        "pln": "abc123",
        "stgnam": "abc123"
      }
    ]
  }
}

statisticsByGroups

Response

Returns [StatisticByGroup]

Arguments
Name Description
statisticGroup - [String]!
teamByLeagueIds - [Int]
participantByEventIds - [Int]
teamRosterIds - [Int]
identities - [String]
eids - [Int]
tmids - [Int]
partids - [Int]
seids - [Int]
ent - [ENT]

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": ["abc123"],
  "teamByLeagueIds": [987],
  "participantByEventIds": [123],
  "teamRosterIds": [123],
  "identities": ["xyz789"],
  "eids": [123],
  "tmids": [987],
  "partids": [987],
  "seids": [987],
  "ent": ["EVENT"]
}
Response
{
  "data": {
    "statisticsByGroups": [
      {
        "ent": "xyz789",
        "grp": "xyz789",
        "stat": "xyz789",
        "tim": 123.45,
        "val": "abc123",
        "sequence": 987.65,
        "valid": 987.65,
        "entid": 987,
        "gid": 987,
        "statid": 123,
        "entgid": 123,
        "idty": "xyz789",
        "entrid": 123,
        "sctim": 987.65,
        "eid": 123,
        "partbeid": 123,
        "partid": 123,
        "pid": 987,
        "seid": 987,
        "lid": 123,
        "tmid": 987,
        "tmblid": 123,
        "partname": "abc123",
        "partabbreviation": "abc123",
        "partshortname": "abc123",
        "pfn": "xyz789",
        "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]

Arguments
Name Description
seid - [Int]!
idty - [String]
grp - [String]
stat - [String]
entrid - [Int]
entgid - [Int]
statisticGroup - [String]
ent - ENT

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": ["xyz789"],
  "grp": ["abc123"],
  "stat": ["abc123"],
  "entrid": [123],
  "entgid": [987],
  "statisticGroup": ["abc123"],
  "ent": "EVENT"
}
Response
{
  "data": {
    "statisticsBySeason": [
      {
        "ent": "abc123",
        "grp": "abc123",
        "stat": "xyz789",
        "tim": 987.65,
        "val": "abc123",
        "sequence": 987.65,
        "valid": 123.45,
        "entid": 987,
        "gid": 987,
        "statid": 987,
        "entgid": 123,
        "idty": "xyz789",
        "entrid": 123,
        "sctim": 987.65,
        "eid": 123,
        "partbeid": 123,
        "partid": 987,
        "pid": 987,
        "seid": 123,
        "lid": 987,
        "tmid": 123,
        "tmblid": 123,
        "partname": "xyz789",
        "partabbreviation": "xyz789",
        "partshortname": "abc123",
        "pfn": "xyz789",
        "pln": "abc123",
        "stgnam": "xyz789"
      }
    ]
  }
}

statisticsUmpire

Response

Returns [StatisticByGroup]

Arguments
Name Description
eventId - Int!
seasonId - Int!

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": 987, "seasonId": 987}
Response
{
  "data": {
    "statisticsUmpire": [
      {
        "ent": "xyz789",
        "grp": "abc123",
        "stat": "abc123",
        "tim": 987.65,
        "val": "abc123",
        "sequence": 123.45,
        "valid": 987.65,
        "entid": 123,
        "gid": 987,
        "statid": 987,
        "entgid": 987,
        "idty": "xyz789",
        "entrid": 123,
        "sctim": 987.65,
        "eid": 987,
        "partbeid": 123,
        "partid": 123,
        "pid": 987,
        "seid": 123,
        "lid": 987,
        "tmid": 987,
        "tmblid": 987,
        "partname": "abc123",
        "partabbreviation": "abc123",
        "partshortname": "xyz789",
        "pfn": "xyz789",
        "pln": "abc123",
        "stgnam": "abc123"
      }
    ]
  }
}

team

Response

Returns a Team

Arguments
Name Description
tmid - Int!
nam - String
seid - Int
senam - String
lid - Int

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 {
      ...TeamRosterFragment
    }
    statistics {
      ...StatisticByGroupFragment
    }
    divid
    divname
    hasteamstats
    conname
    consn
    imageurl
    statisticsByGroups {
      ...StatisticByGroupFragment
    }
    statisticsBySeason {
      ...StatisticByGroupFragment
    }
    socialNetworks {
      ...TeamSocialNetworkFragment
    }
    leagueHierarchy {
      ...LeagueHierarchyFragment
    }
    partid
    iv
    slg
    tr
  }
}
Variables
{
  "tmid": 987,
  "nam": "xyz789",
  "seid": 987,
  "senam": "xyz789",
  "lid": 987
}
Response
{
  "data": {
    "team": {
      "tmid": 987,
      "srid": "xyz789",
      "lid": 123,
      "nam": "abc123",
      "tmblid": 987,
      "nn": "abc123",
      "sn": "xyz789",
      "abbr": "xyz789",
      "cit": "abc123",
      "sta": "abc123",
      "cou": "abc123",
      "act": false,
      "stt": "abc123",
      "ven": "abc123",
      "seid": 123,
      "senam": "xyz789",
      "conid": 123,
      "roster": [TeamRoster],
      "statistics": [StatisticByGroup],
      "divid": 987,
      "divname": "abc123",
      "hasteamstats": true,
      "conname": "abc123",
      "consn": "abc123",
      "imageurl": "xyz789",
      "statisticsByGroups": [StatisticByGroup],
      "statisticsBySeason": [StatisticByGroup],
      "socialNetworks": [TeamSocialNetwork],
      "leagueHierarchy": [LeagueHierarchy],
      "partid": 123,
      "iv": true,
      "slg": "abc123",
      "tr": 987
    }
  }
}

teamPerformance

Response

Returns [teamPerformanceType]

Arguments
Name Description
tmid - Int!
seid - Int!
spid - Int!

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": 987}
Response
{
  "data": {
    "teamPerformance": [
      {
        "wins": 123,
        "losses": 123,
        "ties": 123,
        "winPercentage": "abc123",
        "rank": "abc123",
        "streak": "abc123",
        "conferenceRank": "xyz789",
        "divisionRank": "abc123"
      }
    ]
  }
}

teamRosters

Response

Returns [TeamRoster]

Arguments
Name Description
tmid - [Int!]!
seid - Int!
pid - [Int]
act - Boolean
all - Boolean

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 {
      ...DepthChartFragment
    }
    startingGolie {
      ...DepthChartFragment
    }
    player {
      ...PlayerFragment
    }
    marketCounter
    injuries {
      ...InjuryResponseFragment
    }
  }
}
Variables
{"tmid": [987], "seid": 987, "pid": [987], "act": false, "all": false}
Response
{
  "data": {
    "teamRosters": [
      {
        "tmrid": 123,
        "tmid": 123,
        "pid": 123,
        "seid": 123,
        "act": true,
        "pnum": 987,
        "ppid": 987,
        "ppnam": "abc123",
        "ppsn": "abc123",
        "ppprio": 123,
        "depthChart": [DepthChart],
        "startingGolie": DepthChart,
        "player": Player,
        "marketCounter": 987,
        "injuries": InjuryResponse
      }
    ]
  }
}

teamStatistics

Response

Returns [StatisticByGroup]

Arguments
Name Description
statisticGroup - [String]!
teamIds - [Int]
seasonIds - [Int]

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": ["xyz789"],
  "teamIds": [987],
  "seasonIds": [987]
}
Response
{
  "data": {
    "teamStatistics": [
      {
        "ent": "xyz789",
        "grp": "abc123",
        "stat": "abc123",
        "tim": 123.45,
        "val": "abc123",
        "sequence": 987.65,
        "valid": 123.45,
        "entid": 987,
        "gid": 123,
        "statid": 987,
        "entgid": 123,
        "idty": "abc123",
        "entrid": 987,
        "sctim": 987.65,
        "eid": 123,
        "partbeid": 123,
        "partid": 123,
        "pid": 123,
        "seid": 123,
        "lid": 123,
        "tmid": 123,
        "tmblid": 987,
        "partname": "xyz789",
        "partabbreviation": "abc123",
        "partshortname": "xyz789",
        "pfn": "xyz789",
        "pln": "xyz789",
        "stgnam": "abc123"
      }
    ]
  }
}

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 {
      ...TeamRosterFragment
    }
    statistics {
      ...StatisticByGroupFragment
    }
    divid
    divname
    hasteamstats
    conname
    consn
    imageurl
    statisticsByGroups {
      ...StatisticByGroupFragment
    }
    statisticsBySeason {
      ...StatisticByGroupFragment
    }
    socialNetworks {
      ...TeamSocialNetworkFragment
    }
    leagueHierarchy {
      ...LeagueHierarchyFragment
    }
    partid
    iv
    slg
    tr
  }
}
Variables
{
  "tmid": [987],
  "lid": [987],
  "seid": [123],
  "nam": "abc123",
  "act": true,
  "divids": [123],
  "conids": [987],
  "istmlhrchy": true,
  "isSpecial": true,
  "virtual": true,
  "rankLimit": 987
}
Response
{
  "data": {
    "teams": [
      {
        "tmid": 123,
        "srid": "abc123",
        "lid": 987,
        "nam": "xyz789",
        "tmblid": 123,
        "nn": "abc123",
        "sn": "abc123",
        "abbr": "abc123",
        "cit": "xyz789",
        "sta": "abc123",
        "cou": "abc123",
        "act": true,
        "stt": "abc123",
        "ven": "abc123",
        "seid": 123,
        "senam": "abc123",
        "conid": 987,
        "roster": [TeamRoster],
        "statistics": [StatisticByGroup],
        "divid": 123,
        "divname": "xyz789",
        "hasteamstats": false,
        "conname": "xyz789",
        "consn": "abc123",
        "imageurl": "abc123",
        "statisticsByGroups": [StatisticByGroup],
        "statisticsBySeason": [StatisticByGroup],
        "socialNetworks": [TeamSocialNetwork],
        "leagueHierarchy": [LeagueHierarchy],
        "partid": 123,
        "iv": true,
        "slg": "xyz789",
        "tr": 987
      }
    ]
  }
}

teamsByName

Response

Returns [TeamSearchResult]

Arguments
Name Description
name - String!
seasonIds - [Int]

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": 987,
        "nam": "abc123",
        "nn": "xyz789",
        "sn": "abc123",
        "abbr": "abc123",
        "cit": "abc123",
        "sta": "xyz789",
        "cou": "abc123",
        "lid": 123,
        "seid": 123,
        "senam": "abc123",
        "conname": "abc123",
        "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 {
      ...TopPerformerRosterFragment
    }
    statistics {
      ...StatisticByGroupFragment
    }
  }
}
Variables
{
  "spid": 123,
  "stgnam": "xyz789",
  "seid": 123,
  "tmids": [123],
  "idty": "PASSING"
}
Response
{
  "data": {
    "topPerformers": {
      "topRosters": [TopPerformerRoster],
      "statistics": [StatisticByGroup]
    }
  }
}

topTeams

Response

Returns [TopTeam]

Arguments
Name Description
seid - Int! Season id
topLimit - Int Number of teams
istmlhrchy - Boolean Is team league hierarchy? If true divids and conids values are obtained from TeamLeagueHierarchy
identity - String

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": 987,
  "istmlhrchy": false,
  "identity": "xyz789"
}
Response
{
  "data": {
    "topTeams": [
      {
        "tmid": 123,
        "srid": "abc123",
        "lid": 987,
        "nam": "abc123",
        "tmblid": 987,
        "nn": "xyz789",
        "sn": "abc123",
        "abbr": "xyz789",
        "cit": "abc123",
        "sta": "xyz789",
        "cou": "abc123",
        "act": false,
        "stt": "xyz789",
        "ven": "abc123",
        "seid": 987,
        "senam": "abc123",
        "conid": 123,
        "divid": 123,
        "divname": "abc123",
        "hasteamstats": true,
        "conname": "abc123",
        "imageurl": "xyz789",
        "partid": 123,
        "rank": 987,
        "slg": "xyz789"
      }
    ]
  }
}

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 {
      ...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
    }
    consensus {
      ...ConsensusFragment
    }
    consensusV2 {
      ...ConsensusV2Fragment
    }
    weather {
      ...WeatherOutputFragment
    }
    eventMarketsCount
    tl
    att
    fo
    tr
    lat
    lon
    seg
    slg
    cov
    rft
    ipc
    marketCounter
    marketResults {
      ...MarketResultFragment
    }
    lastRoster {
      ...ParticipantFragment
    }
  }
}
Variables
{
  "lids": [123],
  "startDate": 987.65,
  "hoursRange": 987.65,
  "daysRange": 987,
  "showEmptyEvents": true,
  "location": GeolocationIntput,
  "limit": 123,
  "sort": SortInput,
  "participantId": 987,
  "seid": 123
}
Response
{
  "data": {
    "upcomingEvents": [
      {
        "eid": 123,
        "srid": "abc123",
        "cit": "abc123",
        "dt": 987.65,
        "des": "xyz789",
        "es": "abc123",
        "ic": false,
        "hl": true,
        "lu": "abc123",
        "lid": 123,
        "rid": 123,
        "spid": 987,
        "sta": "abc123",
        "st": "abc123",
        "cou": "xyz789",
        "zcode": "abc123",
        "ven": "abc123",
        "tvs": "xyz789",
        "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],
        "consensus": [Consensus],
        "consensusV2": [ConsensusV2],
        "weather": [WeatherOutput],
        "eventMarketsCount": 123,
        "tl": "xyz789",
        "att": 123,
        "fo": "xyz789",
        "tr": 987,
        "lat": 123.45,
        "lon": 987.65,
        "seg": "abc123",
        "slg": "xyz789",
        "cov": "abc123",
        "rft": "xyz789",
        "ipc": false,
        "marketCounter": 987,
        "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 {
      ...EventFragment
    }
  }
}
Variables
{
  "lids": [123],
  "participantIds": [123],
  "seid": 123,
  "limitByParticipant": 987,
  "startDate": 987.65,
  "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

Arguments
Name Description
eid - [Int]! Event Id
mtid - [Int] Market Type Id
sequence - Int! greater than this sequence

Example

Query
query updatedConsensus(
  $eid: [Int]!,
  $mtid: [Int],
  $sequence: Int!
) {
  updatedConsensus(
    eid: $eid,
    mtid: $mtid,
    sequence: $sequence
  ) {
    consensus {
      ...ConsensusFragment
    }
    maxSequence
  }
}
Variables
{"eid": [123], "mtid": [123], "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

Arguments
Name Description
eid - [Int]! Event Id
sequence - Int! greater than this sequence
pgid - Int Play Group Id

Example

Query
query updatedPlays(
  $eid: [Int]!,
  $sequence: Int!,
  $pgid: Int
) {
  updatedPlays(
    eid: $eid,
    sequence: $sequence,
    pgid: $pgid
  ) {
    plays {
      ...PlayFragment
    }
    maxSequence
  }
}
Variables
{"eid": [987], "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 {
      ...RequestFragment
    }
    current_condition {
      ...CurrentConditionFragment
    }
    weather {
      ...WeatherFragment
    }
    ClimateAverages {
      ...ClimateAveragesFragment
    }
  }
}
Variables
{
  "cities": [LocationInput],
  "numberOfDays": 123,
  "ti": 987
}
Response
{
  "data": {
    "weather": [
      {
        "location": "abc123",
        "offset": 123,
        "ep": 987.65,
        "request": [Request],
        "current_condition": [CurrentCondition],
        "weather": [Weather],
        "ClimateAverages": [ClimateAverages]
      }
    ]
  }
}

weekWeatherForecast

Response

Returns [weekWeatherOutput]

Arguments
Name Description
place - String! Can be: zip(USA, CA), latitude and longitude("lat,long" *decimal) , ip(###.###.###.###), or a City or town name
dt - String date YYYY-MM-DD format
ep - Float Epoch time

Example

Query
query weekWeatherForecast(
  $place: String!,
  $dt: String,
  $ep: Float
) {
  weekWeatherForecast(
    place: $place,
    dt: $dt,
    ep: $ep
  ) {
    location
    offset
    ep
    date
    avgDayForecast {
      ...HourlyFragment
    }
    dayForecast {
      ...HourlyFragment
    }
    nightForecast {
      ...HourlyFragment
    }
  }
}
Variables
{
  "place": "abc123",
  "dt": "abc123",
  "ep": 123.45
}
Response
{
  "data": {
    "weekWeatherForecast": [
      {
        "location": "abc123",
        "offset": 123,
        "ep": 987.65,
        "date": "xyz789",
        "avgDayForecast": Hourly,
        "dayForecast": Hourly,
        "nightForecast": Hourly
      }
    ]
  }
}

Types

Astronomy

Fields
Field Name Description
sunrise - String
sunset - String
moonrise - String
moonset - String
Example
{
  "sunrise": "abc123",
  "sunset": "abc123",
  "moonrise": "xyz789",
  "moonset": "xyz789"
}

BestLine

Example
BestLine

BetSlipArgs

Fields
Input Field Description
eid - Int!
mtid - Int!
partid - Int!
boid - Int
sbid - [Int]
Example
{"eid": 987, "mtid": 987, "partid": 123, "boid": 123, "sbid": [987]}

BetSlipInfo

Fields
Field Name Description
events - [Event]
currentLines - [JSON]
Arguments
paid - [Int]
marketTypes - [MarketTypeWithSettings]
Example
{
  "events": [Event],
  "currentLines": [{}],
  "marketTypes": [MarketTypeWithSettings]
}

BettingOption

Fields
Field Name Description
boid - Int Betting Option ID
nam - String Name
sequence - Int
Example
{
  "boid": 123,
  "nam": "xyz789",
  "sequence": 987
}

Boolean

Description

The Boolean scalar type represents true or false.

CMSRegion

Fields
Field Name Description
name - String
catid - Int
Example
{"name": "xyz789", "catid": 987}

CMSSportsbook

Fields
Field Name Description
ID - Int
name - String
providerId - Int
affiliateLink - String
image - String
Example
{
  "ID": 987,
  "name": "abc123",
  "providerId": 987,
  "affiliateLink": "abc123",
  "image": "abc123"
}

Category

Fields
Field Name Description
catid - Int
nam - String
alias - String
sitid - Int
enabled - Boolean
ord - Int
generateBestLines - Boolean
Example
{
  "catid": 987,
  "nam": "xyz789",
  "alias": "xyz789",
  "sitid": 987,
  "enabled": false,
  "ord": 987,
  "generateBestLines": true
}

CategoryBySportsbook

Fields
Field Name Description
catid - Int
nam - String
alias - String
sitid - Int
enabled - Boolean
ord - Int ord from Category table
generateBestLines - Boolean
sbid - Int
affiliate - String
prefix - String
suffix - String
paid - Int
iid - String
Example
{
  "catid": 987,
  "nam": "xyz789",
  "alias": "abc123",
  "sitid": 123,
  "enabled": true,
  "ord": 123,
  "generateBestLines": false,
  "sbid": 987,
  "affiliate": "abc123",
  "prefix": "abc123",
  "suffix": "xyz789",
  "paid": 123,
  "iid": "abc123"
}

ClimateAverages

Fields
Field Name Description
month - [Month]
Example
{"month": [Month]}

CompetitionWinner

Fields
Field Name Description
eid - Int
partid - Int
Example
{"eid": 987, "partid": 987}

Conference

Fields
Field Name Description
id - Int
name - String
shortname - String
favoriteshortname - String
favoritename - String
imageurl - String
Example
{
  "id": 123,
  "name": "abc123",
  "shortname": "abc123",
  "favoriteshortname": "abc123",
  "favoritename": "xyz789",
  "imageurl": "abc123"
}

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": 123,
  "bb": 123,
  "boid": 123,
  "partid": 123,
  "sbid": 987,
  "paid": 123,
  "lineid": 987.65,
  "wag": 123,
  "perc": 987.65,
  "vol": 123.45,
  "tvol": 123.45,
  "sequence": 123,
  "tim": 987.65,
  "wb": 123,
  "line": {}
}

ConsensusV2

Fields
Field Name Description
eid - Int Event Id
mtid - Int Market Type Id
partid - Int Participant Id
perc - Float Consensus Percentage
sequence - Int Sequence
Example
{"eid": 123, "mtid": 123, "partid": 123, "perc": 123.45, "sequence": 123}

ConsensusWithMaxSequence

Fields
Field Name Description
consensus - [Consensus] list of consensus
maxSequence - Float max sequence in consensus
Example
{"consensus": [Consensus], "maxSequence": 123.45}

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": "abc123",
  "temp_C": "abc123",
  "temp_F": "abc123",
  "weatherCode": "abc123",
  "weatherIconUrl": [Value],
  "weatherDesc": [Value],
  "windspeedMiles": "abc123",
  "windspeedKmph": "abc123",
  "winddirDegree": "abc123",
  "winddir16Point": "abc123",
  "precipMM": "xyz789",
  "humidity": "abc123",
  "visibility": "xyz789",
  "pressure": "abc123",
  "cloudcover": "xyz789",
  "FeelsLikeC": "xyz789",
  "FeelsLikeF": "xyz789"
}

CurrentLinesWithMaxSequence

Fields
Field Name Description
currentLines - [JSON] list of lines
maxSequence - Float max sequence in lines
Example
{"currentLines": [{}], "maxSequence": 987.65}

Customized

Fields
Field Name Description
value - Boolean Indicates if setting is customized
parentid - Int Queried entities' Id
Example
{"value": false, "parentid": 987}

DepthChart

Fields
Field Name Description
id - Int
seid - Int
tmid - Int
pid - Int
pposid - Int
week - Int
val - Int
position - Position
eid - Int
cfrd - Boolean Is Confirmed?
strtr - Boolean Is Starter?
Example
{
  "id": 987,
  "seid": 987,
  "tmid": 123,
  "pid": 987,
  "pposid": 987,
  "week": 123,
  "val": 123,
  "position": Position,
  "eid": 123,
  "cfrd": true,
  "strtr": true
}

Division

Fields
Field Name Description
id - Int
name - String
shortname - String
favoriteshortname - String
imageurl - String
Example
{
  "id": 123,
  "name": "abc123",
  "shortname": "xyz789",
  "favoriteshortname": "xyz789",
  "imageurl": "xyz789"
}

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": 123,
  "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

EVENT

EVENTLASTPLAY

EVENTROSTER

EVENTPARTICIPANT

TEAMBYLEAGUE

PLAYERBYLEAGUE

GROUPBYLEAGUE

SEASON

EVENTLASTPLAYDETAILS

TEAMROSTER

SEASONPARTICIPANT

Example
"EVENT"

EntityReference

Example
EntityReference

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
allParticipants - Boolean
statistics - [Statistic] Event statistics Statistics Group Id: Int
Arguments
sgid - Int
typ - String
sgidWhenFinished - Int
statisticsByGroups - [StatisticByGroup]
Arguments
statisticGroup - [String]!
identities - [String]
eids - [Int]
tmids - [Int]
partids - [Int]
seids - [Int]
ent - [ENT]
eventStatisticsByGroup - [StatisticByGroup] Event statistics by EventId on entity reference id
Arguments
statisticGroup - String!
marketType - MarketTypeWithSettings
marketTypes - [MarketTypeWithSettings]
currentLines - [JSON]
Arguments
needSbid - Boolean
paid - [Int]
sbid - [Int]
catid - Int
openingLines - [JSON]
Arguments
needSbid - Boolean
paid - [Int]
sbid - [Int]
catid - Int
bestLines - [JSON]
Arguments
mtid - Int
paid - [Int]
catid - Int
bettingOptions - [EventBettingOption]
plays - [Play] Event play by play Play Group Id: Int
Arguments
pgid - Int
limitLastSeq - Int
pgidWhenFinished - Int
eventGroup - EventGroup
eventTags - [EventTag]
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": 123,
  "srid": "abc123",
  "cit": "abc123",
  "dt": 987.65,
  "des": "xyz789",
  "es": "abc123",
  "ic": true,
  "hl": true,
  "lu": "abc123",
  "lid": 123,
  "rid": 987,
  "spid": 987,
  "sta": "abc123",
  "st": "xyz789",
  "cou": "abc123",
  "zcode": "xyz789",
  "ven": "xyz789",
  "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],
  "consensus": [Consensus],
  "consensusV2": [ConsensusV2],
  "weather": [WeatherOutput],
  "eventMarketsCount": 987,
  "tl": "abc123",
  "att": 987,
  "fo": "abc123",
  "tr": 123,
  "lat": 987.65,
  "lon": 987.65,
  "seg": "abc123",
  "slg": "abc123",
  "cov": "abc123",
  "rft": "abc123",
  "ipc": true,
  "marketCounter": 123,
  "marketResults": [MarketResult],
  "lastRoster": Participant
}

EventBettingOption

Fields
Field Name Description
eid - Int Event Id
partid - Int Participant Id
boid - Int Betting Option ID
nam - String Name
mtid - Int MarketType Id
spid - Int TODO Deprecate this in ticket OM-3615
sequence - Int
Example
{
  "eid": 987,
  "partid": 987,
  "boid": 123,
  "nam": "xyz789",
  "mtid": 123,
  "spid": 987,
  "sequence": 123
}

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": "abc123",
  "sport": "abc123",
  "spid": "abc123",
  "region": "abc123",
  "eid": 123,
  "searchParticipants": [SearchParticipant],
  "eventParticipants": "xyz789",
  "lid": 987,
  "path": "abc123"
}

EventDateCount

Fields
Field Name Description
dt - Float
size - Int
Example
{"dt": 987.65, "size": 123}

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": 987,
  "mtids": [123],
  "events": [Event],
  "lids": [123],
  "eids": [987],
  "rids": [987],
  "sortmode": "xyz789",
  "filtertype": "xyz789",
  "eventtoshow": 987,
  "cutoffpoint": "abc123",
  "amount": 123,
  "ord": 123,
  "showlive": false,
  "minutes": 123,
  "enabled": false,
  "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": 123,
  "ord": 123,
  "maxshow": 987,
  "enabled": true,
  "active": true,
  "eventsFilters": [EventFilter],
  "maxSequences": MaxSequences
}

EventFilterGroupLegacy

Fields
Field Name Description
egid - String Event filter Group Id
sitid - Int Site Id
settings - EventFilterGroupSettings
Arguments
did - Int
enabled - Boolean
Example
{
  "egid": "abc123",
  "sitid": 987,
  "settings": EventFilterGroupSettings
}

EventFilterGroupMarketTypeSetting

Fields
Input Field Description
spid - Int Sport id
mtid - Int Default market type
layout - String Default market type layout
Example
{
  "spid": 987,
  "mtid": 123,
  "layout": "abc123"
}

EventFilterGroupSettings

Fields
Field Name Description
egid - String Event Filter Group Id
did - Int Domain Id
nam - String Name
enabled - Boolean
active - Boolean
Example
{
  "egid": "abc123",
  "did": 987,
  "nam": "abc123",
  "enabled": true,
  "active": false
}

EventFilterGroupWithEventIds

Fields
Field Name Description
egid - String Event Group Id
sitid - Int Site Id
eventIdsBySport - [EventIdsBySport] Event Ids grouped by Sport
Arguments
did - Int
eventIdsByFilter - [eventIdsByFilter]
Arguments
did - Int
Example
{
  "egid": "abc123",
  "sitid": 987,
  "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": "xyz789",
  "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": 987,
  "timeZoneOffset": 123.45,
  "startdate": 123.45,
  "showLive": "ONLY_LIVE_EVENTS",
  "spid": [987],
  "marketTypes": [EventFilterGroupMarketTypeSetting],
  "active": false,
  "enabled": true
}

EventGroup

Fields
Field Name Description
egid - Int Event Group Id
nam - String Event Group Name
alias - String Event Group Alias
lid - Int League ID
eid - Int Event ID
disord - Int Display Order
ic - Boolean Is competition?
sdt - Float Start Date
edt - Float End Date
parentname - String
parentid - Int
Example
{
  "egid": 123,
  "nam": "xyz789",
  "alias": "abc123",
  "lid": 123,
  "eid": 987,
  "disord": 987,
  "ic": false,
  "sdt": 123.45,
  "edt": 987.65,
  "parentname": "xyz789",
  "parentid": 987
}

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
catid - Int
isCurrent - Boolean Is this the current season?
Example
{
  "egid": 123,
  "nam": "xyz789",
  "alias": "abc123",
  "ceg": 987,
  "seid": 123,
  "disord": 987,
  "sdt": 123.45,
  "edt": 123.45,
  "eids": [987],
  "mtids": [123],
  "hl": false,
  "isCurrent": true
}

EventIdsBySport

Fields
Field Name Description
spid - Int Sport Id
mtid - Int Market Type Id
eids - [Int] Array of Event Ids
Example
{"spid": 123, "mtid": 987, "eids": [123]}

EventIdsSlugInfo

Fields
Field Name Description
ceid - Int Current Event Id
leid - Int Last Event Id
Example
{"ceid": 987, "leid": 123}

EventInfoByParticipant

Fields
Field Name Description
partid - Int
eid - [Int]
events - [Event]
Arguments
es - [String]
mtid - [Int]
limitDate - Float
eventsByParticipant - [Event]
Arguments
es - String!
sort - SortInput!
limit - Int!
limitDate - Float
Example
{
  "partid": 987,
  "eid": [987],
  "events": [Event],
  "eventsByParticipant": [Event]
}

EventInput

Fields
Input Field Description
eid - Int!
partids - [Int]!
Example
{"eid": 123, "partids": [987]}

EventLocation

Fields
Field Name Description
eid - Int Event Id
lat - Float Latitude
lon - Float Longitude
add - String Address
cou - String Country
sta - String Stadium
ven - String Venue
cit - String City
zcode - String Zip Code
att - Int Attendance
fo - String Field Orientation
Example
{
  "eid": 987,
  "lat": 123.45,
  "lon": 987.65,
  "add": "abc123",
  "cou": "abc123",
  "sta": "abc123",
  "ven": "xyz789",
  "cit": "abc123",
  "zcode": "abc123",
  "att": 987,
  "fo": "xyz789"
}

EventMarketLine

Fields
Field Name Description
mtid - Int Market Type Id
eid - Int Event Id
act - Boolean Acttive Market
maxsequence - Float MaxSequence
Example
{"mtid": 987, "eid": 123, "act": true, "maxsequence": 987.65}

EventMarkets

Fields
Field Name Description
mtids - [Int]
Example
{"mtids": [987]}

EventRegion

Fields
Field Name Description
available - [Int] Available regions
active - [Int] Active regions
Example
{"available": [123], "active": [987]}

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
Arguments
statisticGroup - [String]!
identities - [String]
eids - [Int]
tmids - [Int]
partids - [Int]
seids - [Int]
ent - [ENT]
Example
{
  "erid": 987,
  "eid": 123,
  "sid": 123,
  "pid": 123,
  "partid": 123,
  "act": false,
  "sequence": 987,
  "ilu": false,
  "luo": 123,
  "roster": Player,
  "statisticsByGroups": [StatisticByGroup]
}

EventTag

Fields
Field Name Description
ID - Int
link - String
tag - Tag
eid - [Int]
Example
{
  "ID": 987,
  "link": "abc123",
  "tag": Tag,
  "eid": [987]
}

EventWithPrediction

Fields
Field Name Description
sequence - Int Sequence
eid - Int EventId
lid - Int League ID
Example
{"sequence": 987, "eid": 123, "lid": 987}

EventsByFilter

Fields
Field Name Description
efid - String
spid - Int
lids - [Int]
sortmode - String
events - [Event]
Example
{
  "efid": "abc123",
  "spid": 123,
  "lids": [123],
  "sortmode": "abc123",
  "events": [Event]
}

EventsByParticipant

Fields
Field Name Description
partid - Int Participant Id
events - [Event] Events
Example
{"partid": 987, "events": [Event]}

EventsBySport

Fields
Field Name Description
spid - Int
events - [Event]
Example
{"spid": 123, "events": [Event]}

EventsCarousel

Fields
Field Name Description
eventFilterGroups - [EventFilterGroup]
sportbooksByCategory - [SportbooksByCategory]
maxSequences - MaxSequences
Example
{
  "eventFilterGroups": [EventFilterGroup],
  "sportbooksByCategory": [SportbooksByCategory],
  "maxSequences": MaxSequences
}

EventsWithMaxSequence

Fields
Field Name Description
events - [Event]
maxSequence - Float
Example
{"events": [Event], "maxSequence": 123.45}

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
123.45

GeolocationIntput

Fields
Input Field Description
latitude - Float!
longitude - Float!
maxDistance - Float! Max distance in km from the location
Example
{"latitude": 987.65, "longitude": 987.65, "maxDistance": 123.45}

GroupInput

Fields
Input Field Description
by - [String]!
Example
{"by": ["abc123"]}

GroupedHistoryLine

Fields
Field Name Description
historyLine - [JSON] Grouping history line
Arguments
groupId - Int!

Grouping key id

Example
{"historyLine": [{}]}

HistoryLine

Fields
Field Name Description
tim - Float
lines - [JSON]
Example
{"tim": 987.65, "lines": [{}]}

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": "xyz789",
  "UTCdate": "abc123",
  "UTCtime": "xyz789",
  "tempC": "xyz789",
  "tempF": "xyz789",
  "windspeedMiles": "xyz789",
  "windspeedKmph": "abc123",
  "winddirDegree": "abc123",
  "winddir16Point": "xyz789",
  "weatherCode": "abc123",
  "weatherIconUrl": [Value],
  "weatherDesc": [Value],
  "precipMM": "abc123",
  "humidity": "abc123",
  "visibility": "xyz789",
  "pressure": "abc123",
  "cloudcover": "xyz789",
  "HeatIndexC": "xyz789",
  "HeatIndexF": "xyz789",
  "DewPointC": "abc123",
  "DewPointF": "xyz789",
  "WindChillC": "xyz789",
  "WindChillF": "xyz789",
  "WindGustMiles": "xyz789",
  "WindGustKmph": "abc123",
  "FeelsLikeC": "xyz789",
  "FeelsLikeF": "abc123",
  "chanceofrain": "xyz789",
  "chanceofremdry": "abc123",
  "chanceofwindy": "xyz789",
  "chanceofovercast": "abc123",
  "chanceofsunshine": "xyz789",
  "chanceoffrost": "xyz789",
  "chanceofhightemp": "xyz789",
  "chanceoffog": "abc123",
  "chanceofsnow": "xyz789",
  "chanceofthunder": "xyz789"
}

Image

Fields
Field Name Description
id - String Image Id
filename - String Image File Name
title - String Image Title
description - String Image Description
tags - [String] Image Tags
sizes - Size Image Sizes
updatedAt - Float Last Update
createdAt - Float Creation Date
Example
{
  "id": "abc123",
  "filename": "abc123",
  "title": "abc123",
  "description": "abc123",
  "tags": ["xyz789"],
  "sizes": Size,
  "updatedAt": 123.45,
  "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": 123,
  "typ": "xyz789",
  "stt": "abc123",
  "loc": "xyz789",
  "det": "abc123",
  "side": "abc123",
  "retdt": 987.65,
  "disch": true,
  "hl": "abc123",
  "not": "xyz789",
  "newstim": 123.45,
  "newsdate": 123.45,
  "teamRosterPlayer": TeamRosterPlayer,
  "prio": 123,
  "isKeyInjuredPlayer": true
}

InputQueryFloat

Fields
Input Field Description
gt - Float Grater than
eq - Float Equal to
between - [Float]
Example
{"gt": 123.45, "eq": 987.65, "between": [123.45]}

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
{}

LINESOPTIONS

Values
Enum Value Description

BESTLINES

CURRENTLINES

OPENINGLINES

Example
"BESTLINES"

League

Fields
Field Name Description
lid - Int League Id
nam - String Name
rid - Int Region Id
spid - Int Sport Id
sn - String Short Name
lurl - String League Logo URL
Example
{
  "lid": 123,
  "nam": "abc123",
  "rid": 987,
  "spid": 123,
  "sn": "abc123",
  "lurl": "xyz789"
}

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": 987,
  "lid": 987,
  "nam": "abc123",
  "rid": 987,
  "spid": 987,
  "sn": "xyz789",
  "region": RegionLeague,
  "settings": LeagueSettings,
  "path": "abc123"
}

LeagueFilter

Fields
Input Field Description
enabled - Boolean!
sitid - Int!
did - Int!
lid - [Int]
Example
{"enabled": true, "sitid": 987, "did": 123, "lid": [987]}

LeagueGroup

Fields
Input Field Description
mtid - [Int]!
lid - Int!
spid - Int!
writeingame - Boolean
Example
{"mtid": [123], "lid": 987, "spid": 123, "writeingame": false}

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

Fields
Field Name Description
lid - Int League Id
mtid - Int Market Type Id
Example
{"lid": 987, "mtid": 123}

LeagueSeasonInfo

Fields
Field Name Description
lid - Int
lnam - String
seid - Int
senam - String
spid - Int
spnam - String
rid - Int
rnam - String
sdt - Float
edt - Float
Example
{
  "lid": 123,
  "lnam": "abc123",
  "seid": 987,
  "senam": "xyz789",
  "spid": 123,
  "spnam": "abc123",
  "rid": 987,
  "rnam": "abc123",
  "sdt": 987.65,
  "edt": 987.65
}

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": 123,
  "sitid": 987,
  "did": 987,
  "enabled": true,
  "alias": "xyz789",
  "rotation": true,
  "ord": 123,
  "shortnamealias": "xyz789",
  "shortnamebreakpoint": "xyz789",
  "matchupline": false,
  "_isCustom": true,
  "_isFavorite": true,
  "_isDefaultFavorite": true
}

LeagueSettings

Fields
Field Name Description
enabled - Boolean Enable
alias - String League Alias
ord - Int League Order
shortnamealias - String League Short Name Alias
Example
{
  "enabled": false,
  "alias": "abc123",
  "ord": 123,
  "shortnamealias": "xyz789"
}

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!
Arguments
sitid - Int!
did - Int!
merge - Boolean
Example
{
  "lid": 123,
  "nam": "xyz789",
  "rid": 987,
  "spid": 987,
  "marketType": MarketTypeWithSettings,
  "sport": Sport,
  "sn": "xyz789",
  "enabled": true,
  "alias": "xyz789",
  "rotation": true,
  "sitid": 987,
  "did": 123,
  "region": Region,
  "lurl": "xyz789",
  "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": 987,
  "nam": "xyz789",
  "rid": 123,
  "spid": 987,
  "did": 987,
  "sn": "xyz789",
  "lurl": "abc123",
  "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": 987,
  "nam": "xyz789",
  "rid": 123,
  "spid": 987,
  "did": 987,
  "lurl": "xyz789",
  "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

Fields
Field Name Description
lid - Int LeagueId
nam - String
sn - String
enabled - Boolean
alias - String
rotation - Boolean
domainOrd - Int
defaultOrd - Int
shortnamealias - String
shortnamebreakpoint - String
matchupline - Boolean
lurl - String League Logo URL
eventGroupsByLeague - [EventGroup]
Example
{
  "lid": 987,
  "nam": "xyz789",
  "sn": "xyz789",
  "enabled": false,
  "alias": "xyz789",
  "rotation": false,
  "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": 123,
  "boid": 987,
  "paid": 987,
  "sbid": 123,
  "tim": 123.45,
  "partid": 987,
  "sequence": 123.45,
  "adj": 987.65,
  "pri": 987.65,
  "dp": 987.65,
  "bs": "xyz789",
  "iof": true,
  "ap": 987,
  "fpd": 987,
  "fpn": 123,
  "entrid": 987.65,
  "mtgrp": "abc123",
  "tmid": 123,
  "isbestline": true,
  "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]
Arguments
typeOfSeason - String
eventIds - [Int]
startingGolie - DepthChart Starting Golies for Hockey
Arguments
eid - [Int]!
player - Player
position - Position
confirmed - Boolean
starter - Boolean
Example
{
  "tmrid": 123,
  "tmid": 987,
  "pid": 987,
  "seid": 123,
  "act": false,
  "pnum": 123,
  "ppid": 123,
  "ppnam": "abc123",
  "ppsn": "abc123",
  "ppprio": 123,
  "depthChart": [DepthChart],
  "startingGolie": DepthChart,
  "player": Player,
  "position": Position,
  "confirmed": false,
  "starter": false
}

LinesByPlayer

Example
LinesByPlayer

LocationInput

Fields
Input Field Description
city - String! Can be: zip(USA, CA), latitude and longitude("lat,long" *decimal), ip(###.###.###.###), or a City or town name
dt - String Date yyyy-MM-dd | today | tomorrow
ep - Float Epoch time
Example
{
  "city": "abc123",
  "dt": "abc123",
  "ep": 123.45
}

MainAffiliate

Fields
Field Name Description
nam - String affiliate name
enabled - Boolean Is Affiliate Enabled
Example
{"nam": "abc123", "enabled": true}

MarketResult

Fields
Field Name Description
mtid - Int
resultValue - Float
adj - Float
val - Float
pri - Float
paid - Int
ap - Float
entref - Int
result - String
lineid - Float
partid - Int
Example
{
  "mtid": 123,
  "resultValue": 987.65,
  "adj": 987.65,
  "val": 987.65,
  "pri": 987.65,
  "paid": 123,
  "ap": 123.45,
  "entref": 123,
  "result": "abc123",
  "lineid": 123.45,
  "partid": 987
}

MarketType

Fields
Field Name Description
mtid - Int MarketType Id
spid - Int Sport Id
nam - String Name
des - String Description
Example
{
  "mtid": 987,
  "spid": 123,
  "nam": "abc123",
  "des": "xyz789"
}

MarketTypeGroup

Fields
Field Name Description
mtgid - Int MarketType Group Id
spid - Int Sport Id
nam - String Name
Example
{"mtgid": 123, "spid": 123, "nam": "abc123"}

MarketTypeGroupFiltered

Fields
Field Name Description
mtgid - Int MarketType Group Id
ord - Int Order
spid - Int Sport Id
nam - String Name
alias - String Alias
mtids - [MarketTypeWithSettings] MarketTypes List with settings
Example
{
  "mtgid": 987,
  "ord": 987,
  "spid": 123,
  "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": true,
  "ord": 123,
  "alias": "abc123",
  "url": "xyz789",
  "active": false,
  "_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": 123, "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": 987,
  "nam": "abc123",
  "sitid": 987,
  "did": 987,
  "marketTypes": [MarketTypeWithSettings],
  "settings": MarketTypeGroupSetting
}

MarketTypeLayout

Values
Enum Value Description

PARTICIPANTS

BETTING_OPTIONS

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": false,
  "alias": "abc123",
  "url": "abc123",
  "sort": "xyz789",
  "template": "abc123",
  "format": "xyz789",
  "layout": "xyz789",
  "_isCustom": false
}

MarketTypeWithSettings

Fields
Field Name Description
mtid - Int MarketType Id
ord - Int Order
spid - Int Sport Id
mtgid - Int MarketType Group
nam - String Name
des - String Description
format - String MarketType format
layout - String MarketType layout
settings - MarketTypeSetting MarketType settings
Example
{
  "mtid": 123,
  "ord": 123,
  "spid": 987,
  "mtgid": 987,
  "nam": "xyz789",
  "des": "abc123",
  "format": "xyz789",
  "layout": "abc123",
  "settings": MarketTypeSetting
}

MarketTypesByMarketTypeGroup

Fields
Field Name Description
mtid - Int! Market Type Id
ord - Int Order
Example
{"mtid": 123, "ord": 123}

MarketsByPlayer

Fields
Field Name Description
seid - Int
mtids - [Int]
Example
{"seid": 123, "mtids": [123]}

MatchupEvents

Fields
Field Name Description
events - [Event]
Example
{"events": [Event]}

MatchupId

Fields
Field Name Description
eid - Int Event Id
Example
{"eid": 987}

MaxSequences

Fields
Field Name Description
eventsMaxSequence - Float
scoresMaxSequence - Float
linesMaxSequence - Float
liveLinesMaxSequence - Float
statisticsMaxSequence - Float
statisticsByGroupsMaxSequence - Float
consensusMaxSequence - Float
consensusV2MaxSequence - Float
playsMaxSequence - Float
Example
{
  "eventsMaxSequence": 123.45,
  "scoresMaxSequence": 123.45,
  "linesMaxSequence": 987.65,
  "liveLinesMaxSequence": 123.45,
  "statisticsMaxSequence": 123.45,
  "statisticsByGroupsMaxSequence": 987.65,
  "consensusMaxSequence": 123.45,
  "consensusV2MaxSequence": 123.45,
  "playsMaxSequence": 123.45
}

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
Arguments
did - Int!
merge - Boolean
submenuoptions - [MenuOption] Submenu Options
Example
{
  "mid": "xyz789",
  "sitid": 987,
  "mbid": 123,
  "parentlink": "xyz789",
  "level": 987,
  "settings": MenuOptionSetting,
  "submenuoptions": [MenuOption]
}

MenuOptionSetting

Fields
Field Name Description
mid - String Menu Option Id
did - Int Domain Id
title - String
url - String
iconurl - String
showicon - String List of sizes to show menu option icon
showtext - String List of sizes to show menu option name
enabled - Boolean
ord - Int Order of menu option
Example
{
  "mid": "xyz789",
  "did": 987,
  "title": "xyz789",
  "url": "xyz789",
  "iconurl": "abc123",
  "showicon": "abc123",
  "showtext": "abc123",
  "enabled": false,
  "ord": 123
}

Month

Fields
Field Name Description
index - String
name - String
avgMinTemp - String
avgMinTemp_F - String
absMaxTemp - String
absMaxTemp_F - String
avgDailyRainfall - String
Example
{
  "index": "abc123",
  "name": "xyz789",
  "avgMinTemp": "abc123",
  "avgMinTemp_F": "abc123",
  "absMaxTemp": "abc123",
  "absMaxTemp_F": "xyz789",
  "avgDailyRainfall": "xyz789"
}

MultipleResult

Fields
Field Name Description
searchEvent - [EventCatalog]
searchSport - [SportCatalog]
searchLeague - [LeagueCatalog]
Example
{
  "searchEvent": [EventCatalog],
  "searchSport": [SportCatalog],
  "searchLeague": [LeagueCatalog]
}

New

Fields
Field Name Description
hl - String headLines
not - String notes
anly - String analysis
prio - Int priority
inid - Int InjuryId
pid - Int Player id
seid - Int season id
act - String Active
tim - Float Timestamp
date - Float
Example
{
  "hl": "xyz789",
  "not": "abc123",
  "anly": "xyz789",
  "prio": 123,
  "inid": 987,
  "pid": 987,
  "seid": 123,
  "act": "abc123",
  "tim": 123.45,
  "date": 987.65
}

ORDER

Values
Enum Value Description

ASC

DESC

Example
"ASC"

OddFormat

Fields
Field Name Description
id - Int
dcp - Float Decimal Price
np - Int Numerator
dep - Int Denominator
tim - Float Timestamp
act - Boolean Is Active?
Example
{"id": 987, "dcp": 123.45, "np": 123, "dep": 123, "tim": 123.45, "act": true}

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]
Arguments
statisticGroup - [String]!
identities - [String]
eids - [Int]
tmids - [Int]
partids - [Int]
seids - [Int]
ent - [ENT]
participantSeasonStatistics - [StatisticByGroup]
Arguments
ent - [ENT]!
statisticGroup - [String]
idty - [String]
isFavorite - Boolean
eventrosters - [EventRoster]
Example
{
  "partid": 987,
  "eid": 987,
  "ptid": 987,
  "psid": 123,
  "partbeid": 987,
  "act": true,
  "stt": "xyz789",
  "rot": 987,
  "ih": true,
  "sbrid": 123,
  "sppil": "abc123",
  "sppic": true,
  "tr": 987,
  "startingPitcher": Player,
  "source": Team,
  "statsIdentity": [StatisticByGroup],
  "pbsid": 987,
  "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": 987,
  "eid": 123,
  "ptid": 987,
  "act": false,
  "psid": 987,
  "rot": 987,
  "ih": true,
  "tr": 123,
  "sbrid": 987,
  "sppil": "abc123",
  "sppic": true,
  "sppid": 123,
  "partbeid": 987,
  "seid": 987,
  "pbsid": 123
}

ParticipantGroup

Fields
Field Name Description
partgid - Int Participant Group Id
nam - String Name
lid - Int League Id
act - Boolean Is Active?
stt - Int Status
participants - [Participant] Participants
Example
{
  "partgid": 987,
  "nam": "xyz789",
  "lid": 123,
  "act": true,
  "stt": 123,
  "participants": [Participant]
}

PicksPageType

Fields
Field Name Description
eid - String
consensusV2 - [ConsensusV2]
stats - [pickStats]
Example
{
  "eid": "abc123",
  "consensusV2": [ConsensusV2],
  "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": 123,
  "siid": 987,
  "gid": 987,
  "nam": "xyz789",
  "val": "abc123",
  "tim": 123.45,
  "sequence": 987,
  "driveid": "xyz789",
  "playid": "abc123",
  "seq": 987.65,
  "hPoints": 987,
  "aPoints": 123,
  "typ": "xyz789",
  "sspt": "abc123",
  "sslt": "xyz789",
  "sslyl": 123,
  "ssc": "abc123",
  "ssd": 123,
  "espt": "xyz789",
  "eslt": "xyz789",
  "eslyl": 123,
  "esc": "xyz789",
  "esd": 987,
  "desc": "abc123",
  "scoretype": "xyz789",
  "scoreteam": "xyz789",
  "qt": 123
}

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": 123,
  "gameid": "xyz789",
  "driveid": "abc123",
  "seq": 123.45,
  "sr": "xyz789",
  "er": "xyz789",
  "dur": "xyz789",
  "fd": 987,
  "gain": 123,
  "py": 987,
  "hPoints": 987,
  "aPoints": 987,
  "scoretype": "xyz789",
  "qt": 123,
  "pc": 987,
  "sd": false,
  "clock": "xyz789",
  "yardline": 987,
  "tl": "xyz789",
  "plays": [Play]
}

Player

Fields
Field Name Description
pid - Int
fn - String
lnam - String
cit - String
sta - String
cou - String
act - Boolean
stt - String
hei - Int
wei - Int
bd - Float
age - Int
sch - String
dy - Float
hsurl - String
srid - String
playerTeamRosters - [TeamRoster]
Arguments
seids - [Int!]!
Example
{
  "pid": 987,
  "fn": "xyz789",
  "lnam": "abc123",
  "cit": "abc123",
  "sta": "abc123",
  "cou": "xyz789",
  "act": false,
  "stt": "abc123",
  "hei": 123,
  "wei": 123,
  "bd": 123.45,
  "age": 987,
  "sch": "abc123",
  "dy": 987.65,
  "hsurl": "xyz789",
  "srid": "abc123",
  "playerTeamRosters": [TeamRoster]
}

PlayerDetails

Fields
Field Name Description
nextEvent - Event
teamRoster - TeamRoster
Example
{
  "nextEvent": Event,
  "teamRoster": TeamRoster
}

PlayerInfo

Example
PlayerInfo

PlayerPerformanceInfo

Example
PlayerPerformanceInfo

PlaysWithMaxSequence

Fields
Field Name Description
plays - [Play] list of plays
maxSequence - Float max sequence in plays
Example
{"plays": [Play], "maxSequence": 987.65}

Position

Fields
Field Name Description
id - Int
spid - Int
nam - String
sn - String
Example
{
  "id": 987,
  "spid": 987,
  "nam": "abc123",
  "sn": "xyz789"
}

PropLines

Example
PropLines

RangeInput

Fields
Input Field Description
gt - Float
gte - Float
eq - Float
between - [Float]
Example
{"gt": 123.45, "gte": 987.65, "eq": 123.45, "between": [123.45]}

Region

Fields
Field Name Description
rid - Int Region Id
nam - String Name
sn - String Short Name
Example
{
  "rid": 123,
  "nam": "abc123",
  "sn": "abc123"
}

RegionLeague

Fields
Field Name Description
nam - String Name
sn - String Short Name
Example
{
  "nam": "abc123",
  "sn": "abc123"
}

RegionLeagueV2

Fields
Field Name Description
nam - String
rid - Int
sn - String
Example
{
  "nam": "xyz789",
  "rid": 123,
  "sn": "xyz789"
}

RegionWithLeagues

Fields
Field Name Description
rid - Int RegionId
nam - String
sn - String Region Short name
leagues - [LeaguesWithEventGroups]
Example
{
  "rid": 123,
  "nam": "xyz789",
  "sn": "xyz789",
  "leagues": [LeaguesWithEventGroups]
}

RegionsBySport

Fields
Field Name Description
active - [Int]
available - [Int]
Example
{"active": [123], "available": [987]}

Request

Fields
Field Name Description
type - String
query - String
Example
{
  "type": "abc123",
  "query": "xyz789"
}

SEASONGROUP

Values
Enum Value Description

PRE

REG

PST

Example
"PRE"

Score

Fields
Field Name Description
eid - Int Event Id
partid - Int Participant Id
pn - Int Period Number
val - String Value
sequence - Int Sequence
Example
{
  "eid": 987,
  "partid": 123,
  "pn": 987,
  "val": "xyz789",
  "sequence": 123
}

ScoreWithMaxSequence

Fields
Field Name Description
scores - [Score] lits of scores
maxSequence - Float max sequense in score
Example
{"scores": [Score], "maxSequence": 123.45}

SearchParticipant

Fields
Field Name Description
nam - String Name
lnam - String Last Name
fn - String First Name
nn - String Nickname
sn - String Short Name
abbr - String Abbreviature
Example
{
  "nam": "xyz789",
  "lnam": "abc123",
  "fn": "abc123",
  "nn": "abc123",
  "sn": "abc123",
  "abbr": "abc123"
}

ShowLive

Values
Enum Value Description

ONLY_LIVE_EVENTS

HIDE_LIVE_EVENTS

IGNORE

Example
"ONLY_LIVE_EVENTS"

Size

Fields
Field Name Description
original - String Original Size
thumb - String Thumblr Size
xs - String Extra-Small Size
sm - String Small Size
md - String Medium Size
lg - String Large Size
Example
{
  "original": "abc123",
  "thumb": "xyz789",
  "xs": "abc123",
  "sm": "abc123",
  "md": "abc123",
  "lg": "xyz789"
}

SortInput

Fields
Input Field Description
by - [String]!
order - ORDER
Example
{"by": ["xyz789"], "order": "ASC"}

Source

Example
Team

Sport

Fields
Field Name Description
spid - Int Sport Id
nam - String Name
settings - SportSetting Sport Settings
Example
{
  "spid": 987,
  "nam": "abc123",
  "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

Fields
Field Name Description
spid - Int Sport Id
sitid - Int Site Id
did - Int Domain Id
enabled - Boolean Is Enabled Sport?
alias - String Sport Alias
mode - String Mode Setting
ord - Int Order on the list
nav - String Navigation mode
mtid - Int Market Type Id
Example
{
  "spid": 987,
  "sitid": 123,
  "did": 123,
  "enabled": true,
  "alias": "abc123",
  "mode": "xyz789",
  "ord": 987,
  "nav": "xyz789",
  "mtid": 123
}

SportSettings

Fields
Field Name Description
enabled - Boolean Enable
alias - String Sport Alias
ord - Int Sport Order
Example
{
  "enabled": true,
  "alias": "xyz789",
  "ord": 123
}

SportSettingsV2

Fields
Field Name Description
spid - Int
act - Boolean
enabled - Boolean
alias - String
mode - String
nav - String
mtid - Int
ord - Int
_isCustom - Boolean
_isFavorite - Boolean
Example
{
  "spid": 123,
  "act": false,
  "enabled": true,
  "alias": "abc123",
  "mode": "xyz789",
  "nav": "xyz789",
  "mtid": 123,
  "ord": 123,
  "_isCustom": true,
  "_isFavorite": true
}

SportV2

Fields
Field Name Description
spid - Int Sport Id
nam - String Name
sportHasCustomLeagueSettings - Customized Sport has one o more leagues with custom settings
Arguments
did - Int!
sportHasCustomMarketTypeSettings - Customized Sport has one o more market types with custom settings
Arguments
did - Int!
sportHasCustomMarketTypeGroupSettings - Customized Sport has one o more market type groups with custom settings
Arguments
did - Int!
settings - SportSetting Custom Settings for the sport Domain Name did: Int!, Merge indicates if custom and default settings should be merged
Arguments
did - Int!
merge - Boolean
Example
{
  "spid": 123,
  "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": 987,
  "nam": "abc123",
  "act": true,
  "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": 987,
  "afid": "abc123",
  "shortafid": "abc123",
  "safid": "abc123",
  "categoryName": "xyz789",
  "affiliateURL": "xyz789",
  "mainAffiliate": MainAffiliate,
  "enabled": true,
  "sportsbooksadmin": Sportsbook
}

SportbooksByCategoryArgs

Fields
Input Field Description
sitid - Int Site Id
did - Int Domain Id
cid - Int Category Id
spid - Int Sport Id
enabled - Boolean Enabled
sortWith - Boolean Sort With
famid - Int Family Id
Example
{
  "sitid": 987,
  "did": 987,
  "cid": 123,
  "spid": 123,
  "enabled": false,
  "sortWith": false,
  "famid": 987
}

Sports

Fields
Field Name Description
spids - [Int]
Example
{"spids": [987]}

SportsWithRegions

Fields
Field Name Description
spid - Int Sport Id
nam - String Sport Name
alias - String Sport Alias
enabled - Boolean
nav - String
mode - String Home Team Sort Mode
domainOrd - Int
defaultOrd - Int
regions - [RegionWithLeagues]
Example
{
  "spid": 123,
  "nam": "abc123",
  "alias": "xyz789",
  "enabled": true,
  "nav": "abc123",
  "mode": "abc123",
  "domainOrd": 123,
  "defaultOrd": 987,
  "regions": [RegionWithLeagues]
}

Sportsbook

Fields
Field Name Description
sbid - Int Sportsbook ID
paid - Int Provider Account ID
nam - String Name
iid - String Image ID
pre - String Prefix
suf - String Suffix
afid - String Affiliate ID
settings - SportsbookSetting
Arguments
did - Int
sitid - Int
spid - Int
cid - Int
merge - Boolean
image - Image Sportsbook Image
Example
{
  "sbid": 123,
  "paid": 987,
  "nam": "abc123",
  "iid": "abc123",
  "pre": "xyz789",
  "suf": "xyz789",
  "afid": "abc123",
  "settings": SportsbookSetting,
  "image": Image
}

SportsbookBonus

Fields
Field Name Description
ID - Int
title - String
subtitle - String
tag - String
sportsbook - CMSSportsbook
regions - [CMSRegion]
Example
{
  "ID": 123,
  "title": "xyz789",
  "subtitle": "abc123",
  "tag": "abc123",
  "sportsbook": CMSSportsbook,
  "regions": [CMSRegion]
}

SportsbookBonusList

Fields
Field Name Description
ID - Int
name - String
sportsbookBonuses - [SportsbookBonus]
Example
{
  "ID": 987,
  "name": "abc123",
  "sportsbookBonuses": [SportsbookBonus]
}

SportsbookSetting

Fields
Field Name Description
sbid - Int Sportsbook ID
sitid - Int Site Id
did - Int Domain Id
spid - Int Sport Id
cid - Int Category Id
ord - Int Sportbook Order
enabled - Boolean Is Enabled?
alias - String
Example
{
  "sbid": 123,
  "sitid": 987,
  "did": 123,
  "spid": 123,
  "cid": 987,
  "ord": 123,
  "enabled": false,
  "alias": "xyz789"
}

SportsbooksByCategory

Fields
Field Name Description
sbid - Int
catid - Int
affiliate - String
prefix - String
suffix - String
enabled - Boolean
ord - Int
paid - Int
nam - String
iid - String
image - Image
Example
{
  "sbid": 987,
  "catid": 987,
  "affiliate": "abc123",
  "prefix": "abc123",
  "suffix": "abc123",
  "enabled": false,
  "ord": 123,
  "paid": 123,
  "nam": "abc123",
  "iid": "xyz789",
  "image": Image
}

Statistic

Fields
Field Name Description
typ - String Type
eid - Int Event Id
partid - Int Partcipant Id
pid - Int Player Id
nam - String Name
val - String Value
player - Player Player Info
siid - Float Stat id
sequence - Float Sequence
Example
{
  "typ": "xyz789",
  "eid": 987,
  "partid": 987,
  "pid": 987,
  "nam": "abc123",
  "val": "abc123",
  "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": "abc123",
  "grp": "abc123",
  "stat": "xyz789",
  "tim": 123.45,
  "val": "xyz789",
  "sequence": 987.65,
  "valid": 123.45,
  "entid": 987,
  "gid": 123,
  "statid": 123,
  "entgid": 123,
  "idty": "xyz789",
  "entrid": 987,
  "sctim": 987.65,
  "eid": 987,
  "partbeid": 123,
  "partid": 987,
  "pid": 123,
  "seid": 987,
  "lid": 123,
  "tmid": 123,
  "tmblid": 123,
  "partname": "abc123",
  "partabbreviation": "abc123",
  "partshortname": "abc123",
  "pfn": "xyz789",
  "pln": "xyz789",
  "stgnam": "abc123"
}

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"

Tag

Fields
Field Name Description
name - String
backgroundColor - String
textColor - String
dotColor - String
Example
{
  "name": "abc123",
  "backgroundColor": "abc123",
  "textColor": "abc123",
  "dotColor": "abc123"
}

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
Arguments
seid - Int
all - Boolean
statistics - [StatisticByGroup] Statistics
Arguments
statisticGroup - String
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
Arguments
statisticGroup - [String]!
identities - [String]
eids - [Int]
tmids - [Int]
partids - [Int]
seids - [Int]
ent - [ENT]
statisticsBySeason - [StatisticByGroup] Statistics By Season
Arguments
statisticGroup - [String]
grp - [String]
stat - [String]
idty - [String!]!
socialNetworks - [TeamSocialNetwork] Social Networks
leagueHierarchy - [LeagueHierarchy]
partid - Int Participant Id
iv - Boolean Is Virtual?
slg - String Team Slug
tr - Int Team Rank
Example
{
  "tmid": 123,
  "srid": "abc123",
  "lid": 987,
  "nam": "abc123",
  "tmblid": 123,
  "nn": "abc123",
  "sn": "xyz789",
  "abbr": "abc123",
  "cit": "abc123",
  "sta": "abc123",
  "cou": "xyz789",
  "act": false,
  "stt": "xyz789",
  "ven": "xyz789",
  "seid": 123,
  "senam": "abc123",
  "conid": 987,
  "roster": [TeamRoster],
  "statistics": [StatisticByGroup],
  "divid": 987,
  "divname": "xyz789",
  "hasteamstats": true,
  "conname": "xyz789",
  "consn": "xyz789",
  "imageurl": "xyz789",
  "statisticsByGroups": [StatisticByGroup],
  "statisticsBySeason": [StatisticByGroup],
  "socialNetworks": [TeamSocialNetwork],
  "leagueHierarchy": [LeagueHierarchy],
  "partid": 123,
  "iv": true,
  "slg": "xyz789",
  "tr": 123
}

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
timezoneOffset - Float!
Example
{
  "tmid": 123,
  "lid": 987,
  "seid": 123,
  "senam": "xyz789",
  "act": true,
  "tmblid": 123,
  "conid": 987,
  "conname": "xyz789",
  "divid": 987,
  "divname": "abc123",
  "isCurrent": true,
  "eventGroups": [EventGroupBySeason]
}

TeamDepthChart

Example
TeamDepthChart

TeamInfo

Example
TeamInfo

TeamLeague

Fields
Field Name Description
lid - Int League ID
lnam - String League name
seid - Int Season ID
senam - String Season name
Example
{
  "lid": 123,
  "lnam": "xyz789",
  "seid": 123,
  "senam": "xyz789"
}

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]
Arguments
typeOfSeason - String
eventIds - [Int]
startingGolie - DepthChart Starting Golies for Hockey
Arguments
eid - [Int]!
player - Player
marketCounter - Int Market Type Counter
injuries - InjuryResponse Injuries
Example
{
  "tmrid": 987,
  "tmid": 987,
  "pid": 987,
  "seid": 123,
  "act": true,
  "pnum": 987,
  "ppid": 123,
  "ppnam": "abc123",
  "ppsn": "xyz789",
  "ppprio": 987,
  "depthChart": [DepthChart],
  "startingGolie": DepthChart,
  "player": Player,
  "marketCounter": 987,
  "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": "xyz789",
  "nn": "xyz789",
  "sn": "xyz789",
  "abbr": "abc123",
  "cit": "xyz789",
  "sta": "xyz789",
  "cou": "xyz789",
  "lid": 123,
  "seid": 987,
  "senam": "abc123",
  "conname": "xyz789",
  "divname": "abc123",
  "partid": 987
}

TeamSocialNetwork

Fields
Field Name Description
network - String! Social Network
account - String! Account
Example
{
  "network": "xyz789",
  "account": "xyz789"
}

TopPerformer

Fields
Field Name Description
topRosters - [TopPerformerRoster]
statistics - [StatisticByGroup]
Example
{
  "topRosters": [TopPerformerRoster],
  "statistics": [StatisticByGroup]
}

TopPerformerIdentity

Values
Enum Value Description

PASSING

RUSHING

RECEIVING

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": "xyz789",
  "tmblid": 123,
  "nn": "xyz789",
  "sn": "abc123",
  "abbr": "abc123",
  "cit": "xyz789",
  "sta": "xyz789",
  "cou": "xyz789",
  "act": true,
  "stt": "abc123",
  "ven": "xyz789",
  "seid": 987,
  "senam": "abc123",
  "conid": 987,
  "divid": 123,
  "divname": "abc123",
  "hasteamstats": true,
  "conname": "xyz789",
  "imageurl": "abc123",
  "partid": 987,
  "rank": 123,
  "slg": "abc123"
}

TwitterFeed

Fields
Field Name Description
id - String
text - String
image - String
date - String
twitter - String
Example
{
  "id": "xyz789",
  "text": "xyz789",
  "image": "abc123",
  "date": "abc123",
  "twitter": "abc123"
}

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

TOP

UPCOMING

Example
"TOP"

Value

Fields
Field Name Description
value - String
Example
{"value": "abc123"}

Weather

Fields
Field Name Description
date - String
astronomy - [Astronomy]
maxtempC - String
maxtempF - String
mintempC - String
mintempF - String
totalSnow_cm - String
sunHour - String
uvIndex - String
hourly - [Hourly]
Example
{
  "date": "abc123",
  "astronomy": [Astronomy],
  "maxtempC": "abc123",
  "maxtempF": "abc123",
  "mintempC": "xyz789",
  "mintempF": "abc123",
  "totalSnow_cm": "xyz789",
  "sunHour": "abc123",
  "uvIndex": "abc123",
  "hourly": [Hourly]
}

WeatherOutput

Fields
Field Name Description
location - String
offset - Int
ep - Float
request - [Request]
current_condition - [CurrentCondition]
weather - [Weather]
ClimateAverages - [ClimateAverages]
Example
{
  "location": "abc123",
  "offset": 987,
  "ep": 123.45,
  "request": [Request],
  "current_condition": [CurrentCondition],
  "weather": [Weather],
  "ClimateAverages": [ClimateAverages]
}

WinnerLineByEvent

Example
WinnerLineByEvent

eventIdsByFilter

Fields
Field Name Description
efid - String EventFilterId
spid - Int Sport Id
mtid - Int Market Type Id
eids - [Int] Array of Event Ids
lids - [Int] Array of Leagues Ids
sortmode - String
Example
{
  "efid": "abc123",
  "spid": 987,
  "mtid": 123,
  "eids": [987],
  "lids": [123],
  "sortmode": "abc123"
}

pickStats

Fields
Field Name Description
stat - String Statistic name
val - String Value
idty - String Identity
eid - Int EventId
partid - Int participant Id
paid - Int provider Id
Example
{
  "stat": "abc123",
  "val": "abc123",
  "idty": "abc123",
  "eid": 987,
  "partid": 987,
  "paid": 123
}

teamPerformanceType

Fields
Field Name Description
wins - Int
losses - Int
ties - Int
winPercentage - String
rank - String
streak - String
conferenceRank - String
divisionRank - String
Example
{
  "wins": 123,
  "losses": 987,
  "ties": 987,
  "winPercentage": "xyz789",
  "rank": "xyz789",
  "streak": "abc123",
  "conferenceRank": "abc123",
  "divisionRank": "abc123"
}

weekWeatherOutput

Fields
Field Name Description
location - String
offset - Int
ep - Float
date - String
avgDayForecast - Hourly
dayForecast - Hourly
nightForecast - Hourly
Example
{
  "location": "xyz789",
  "offset": 123,
  "ep": 123.45,
  "date": "abc123",
  "avgDayForecast": Hourly,
  "dayForecast": Hourly,
  "nightForecast": Hourly
}