/
v3.0.11Get access

subscribeToEvents

This API creates a targeted subscription to get events data with prices data. This APIs filters by event Ids, and by blocked games

Request parameters:

Name
DescriptionTypeValuesDefault
eventIds
An array of numeric event idarray--
isBlocked
Indicates blocked gamesbooleantrue / false-

Call example:

subscribeToEvents({
  eventIds: [29487908, 29487901, 29487904],
  isBlocked: false
})

Response examples:

{
  result: {
    event: {
      '6871895537': {
        price: 1.15,
        id: 6871895537,
        old_price: 1.15,
        price_change: 1
      }
    }
  }
}

Response parameters:

NameDescriptionTypeValues
id
The Id of the eventnumber-
price
The price of the itemnumber-
old_price
The old price of the itemnumber-
price_change
The identification about real time price changenumber1 / -1