Skip to main content
The betslip channel streams what GET /v1/betslip returns: the price and stake limits of a selection at each bookmaker, after the rules of your account. This is the price you place at. It can differ from the odds channel: see Feed odds and the betslip.

Subscribe

Log in with betslip in channels, then send one frame per selection:
  • playerId is optional and defaults to 0.
  • bookmakers is optional. Without it, every bookmaker of your account is quoted, as with GET /v1/betslip.
The server answers with the selection and the bookmakers it quotes:

Updates

Then, and on every change of price or limit:
The payload has the shape and the values of GET /v1/betslip. A price sent as minPrice places at the bookmaker’s current price. A change of your account’s rules shows on the socket within about 10 seconds.

Unsubscribe

The server answers betslip_unsubscribed. Closing the connection unsubscribes everything.

Limits and refusals

  • 50 selections per account. They are summed over its connections; one more closes the connection with 4004.
  • Bookmakers closed to the API are not quoted. Naming one in bookmakers comes back as an error frame with BOOKMAKER_NOT_AVAILABLE_VIA_API. A subscription keeps the bookmakers it started with until you send subscribeBetslip again or reconnect.
  • Refusals. A selection that cannot be quoted, such as one without odds, comes back as an error frame with the code of the error catalogue. The connection stays open.
  • After a reconnect, send your subscribeBetslip frames again.