Skip to main content

Get Markets

GET 

/subevents/:subeventId

Retrieves all subevent information and markets for given subevent ID

Request

Path Parameters

    subeventId int64required

    ID of Subevent to fetch

Query Parameters

    marketType int64[]

    Market type Id to filter market on

Responses

Returns a Subevent with child Markets

Schema

    subeventId int64required
    subeventName stringrequired
    subeventStartTime stringrequired

    subevent starting time in UTC

    subeventEndTime string

    subevent end time in UTC

    inPlay booleanrequired

    subevent inPlay status

    subeventType SubeventType (string)

    Possible values: [OUTRIGHT, MATCH, RACE, ANTEPOST]

    The type of subevent. Can be OUTRIGHT, MATCH, RACE, ANTEPOST

    eventId int64required

    providerReferences

    object[]

  • Array [

  • provider SubeventProviderName (string)

    Possible values: [SPORT_RADAR, PA, FAIRPLAY, OPTA]

    id string
  • ]

  • markets

    object[]

  • Array [

  • marketId int64required
    marketName stringrequired
    marketTypeId int64required
  • ]

Loading...