Live events return all selections as SELECTION_DISABLED with price 0 #194
Unanswered
kalchogr-art
asked this question in
Q&A
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I'm testing the Cloudbet Public API with a valid API key and I'm having an issue with live soccer events.
Account API authentication works correctly:
GET /pub/v1/account/currencies -> HTTP 200
GET /pub/v1/account/currencies/USDT/balance -> HTTP 200
My USDT balance is returned correctly.
Live events are also returned successfully.
However, when I request a live event directly, the event has:
status: TRADING_LIVE
but every selection is returned with:
status: SELECTION_DISABLED
price: 0
maxStake: 0
Example 1:
GET /pub/v2/odds/events/36172469
Event:
Kyoto Sangyo University vs Kyushu Sangyo University SC
Event status: TRADING_LIVE
Markets: 8
Submarkets: 10
Selections: 42
Enabled: 0
Disabled: 42
Price > 1: 0
Positive maxStake: 0
Example 2:
GET /pub/v2/odds/events/36174148
Event:
Rewa vs Lautoka FC
Event status: TRADING_LIVE
Markets: 8
Submarkets: 10
Selections: 38
Enabled: 0
Disabled: 38
Price > 1: 0
Positive maxStake: 0
One of the markets I specifically need is:
soccer.total_goals_period_first_half
Submarket:
period=1h
Selection:
outcome=over
Params:
total=0.5
The market and selection are present in the API response, but the selection is returned disabled with zero price and maxStake.
Could you please clarify:
Why does a TRADING_LIVE event return all its selections as SELECTION_DISABLED?
Does live betting require an additional permission or activation for the API key/account?
Is /pub/v2/odds/events/{eventId} the correct endpoint for obtaining currently tradable live selections?
Is there another official endpoint that should be used to obtain the current live price and maxStake before placing a bet?
I'm currently only performing read-only API tests and not placing bets.
Thanks.
All reactions