I see that Betfair's badly designed new 'suspended' alert does come with the benefit of a reason for market suspension.
Is this info that could feed through into Bet Angel in the future?
Betfair new suspended alert - suspension reason now shown
- jamesedwards
- Posts: 4200
- Joined: Wed Nov 21, 2018 6:16 pm
You do not have the required permissions to view the files attached to this post.
- ShaunWhite
- Posts: 10521
- Joined: Sat Sep 03, 2016 3:42 am
An api change without prior warning to the dev community is unacceptable.
MarketBook :
MarketBook :
You do not have the required permissions to view the files attached to this post.
It sure is. At least this shouldn't disrupt a workflow (cause it's an addition to data in a response). Imagine if they changed "status" data - that would be a disaster.ShaunWhite wrote: ↑Sat Aug 09, 2025 7:32 pmAn api change without prior warning to the dev community is unacceptable.
MarketBook :
Screenshot_20250809_174905_Slack.jpg
- ShaunWhite
- Posts: 10521
- Joined: Sat Sep 03, 2016 3:42 am
It's a pita for me because my SQL db schema needs to change to store it, I don't save the raw json.napshnap wrote: ↑Sun Aug 10, 2025 7:31 amIt sure is. At least this shouldn't disrupt a workflow (cause it's an addition to data in a response). Imagine if they changed "status" data - that would be a disaster.ShaunWhite wrote: ↑Sat Aug 09, 2025 7:32 pmAn api change without prior warning to the dev community is unacceptable.
MarketBook :
Screenshot_20250809_174905_Slack.jpg
But yeah unless there's a use for it then that's not strictly necessary, I just prefer to keep the feed and my db in line with each other.
The other issue is that change always involves risk, without a heads up then you wouldn't give it some extra attention for a few days to make sure nothing has been broken accidentally.
- jamesedwards
- Posts: 4200
- Joined: Wed Nov 21, 2018 6:16 pm
API change announced this afternoon on the dev forum.ShaunWhite wrote: ↑Sat Aug 09, 2025 7:32 pmAn api change without prior warning to the dev community is unacceptable.
MarketBook :
Screenshot_20250809_174905_Slack.jpg
https://forum.developer.betfair.com/for ... pendreason
Last week, a new feature was enabled around market suspension, which includes a new field at the market status level.
This optional suspendReason field is returned only for specific types of market suspension.
On the Exchange Stream API, the new field release will be rolled out to all users by the end of August.
This feature is enabled for Football currently and available for the following suspension reasons: Goal, Scout Unavailable, Penalty, Red Card, Non In Play Market.
The Betfair Exchange API returns the field in listMarketBook and listRunnerBook operations, as follows:
"result": [
{
"marketId": "1.183825651",
"isMarketDataDelayed": false,
"status": "SUSPENDED",
"suspendReason": " Red Card",
"betDelay": 0,
"bspReconciled": false,
The Exchange Stream API will return the suspendReason field as part of the Market Subscription update message included as MarketDefinition.suspendReason.The updated Swagger schema is available via https://github.com/betfair/stream-ap...gerSchema.json
Betfair Developer Program
- jamesedwards
- Posts: 4200
- Joined: Wed Nov 21, 2018 6:16 pm