Betfair Down / Betfair site crash

Post Reply
User avatar
jamesedwards
Posts: 6300
Joined: Wed Nov 21, 2018 6:16 pm

Naffman wrote: ↑
Sat Oct 03, 2026 6:27 pm
Gone - Betfair matcher is not healthy
Started going down about 18:05. Back operational about 18:55.
Alpha322
Posts: 1093
Joined: Fri Oct 30, 2009 4:45 pm

jamesedwards wrote: ↑
Sat Oct 03, 2026 7:09 pm
Naffman wrote: ↑
Sat Oct 03, 2026 6:27 pm
Gone - Betfair matcher is not healthy
Started going down about 18:05. Back operational about 18:55.
Do we still get caught for liability from time of Failure or are all Bets off :?:
User avatar
Euler
Posts: 27787
Joined: Wed Nov 10, 2010 1:39 pm

I just had the dreaded API caching issue at Kempton. Cost me £500.

Seen a few reports over the last couple of weeks, so thought I'd highlight here.
sniffer66
Posts: 1999
Joined: Thu May 02, 2019 8:37 am

Euler wrote: ↑
Mon Oct 12, 2026 6:55 pm
I just had the dreaded API caching issue at Kempton. Cost me £500.

Seen a few reports over the last couple of weeks, so thought I'd highlight here.
Can you expand on this one please Peter, the info on that has passed me by
User avatar
gstar1975
Posts: 880
Joined: Thu Nov 24, 2011 11:59 am

sniffer66 wrote: ↑
Tue Oct 13, 2026 8:06 am
Euler wrote: ↑
Mon Oct 12, 2026 6:55 pm
I just had the dreaded API caching issue at Kempton. Cost me £500.

Seen a few reports over the last couple of weeks, so thought I'd highlight here.
Can you expand on this one please Peter, the info on that has passed me by
Gemini Response:

An API caching issue in the context of the Betfair Exchange API happens when your application, an intermediate proxy, or Betfair's infrastructure stores and serves stale data (such as outdated odds, old market definitions, or un-refreshed order states) instead of fetching real-time data. Because the Betfair Exchange relies on split-second price movements, caching problems can severely disrupt automated betting scripts and trading bots.

Common Causes and ManifestationsLocal Application Caching: Your custom script or trading bot code inadvertently stores market data (listMarketCatalogue or listMarketBook) in local memory or a database for too long, leading your bot to calculate bets based on old prices.

HTTP Proxy / Gateway Caching: Intermediate network layers or HTTP clients incorrectly cache GET-style or repetitive API responses if proper cache-control headers (no-cache, no-store) are missing from the request configuration.Exchange Stream API vs.

Betting API Misalignment:

If you use the Exchange Stream API (sockets) alongside the standard Betting API (polling listMarketBook), race conditions can make it feel like data is "cached" or lagging if synchronization intervals are set incorrectly.

How to Fix and Prevent Caching IssuesDisable Client-Side Caching:

Ensure your HTTP client explicitly sends headers to bypass caches (e.g., Cache-Control: no-cache and Pragma: no-cache).

Rely on Push Data (Exchange Stream API): For high-frequency live betting, migrate away from polling REST API endpoints and use the Betfair Exchange Stream API via TCP sockets.

This receives delta updates (changes only) in real-time, eliminating stale polling cache loops.

Check version and marketId Handling:

Ensure your application isn't retaining old market definitions when markets close and re-open (such as in-play horse racing or football matches).
sniffer66
Posts: 1999
Joined: Thu May 02, 2019 8:37 am

gstar1975 wrote: ↑
Tue Oct 13, 2026 11:47 am
sniffer66 wrote: ↑
Tue Oct 13, 2026 8:06 am
Euler wrote: ↑
Mon Oct 12, 2026 6:55 pm
I just had the dreaded API caching issue at Kempton. Cost me £500.

Seen a few reports over the last couple of weeks, so thought I'd highlight here.
Can you expand on this one please Peter, the info on that has passed me by
Gemini Response:

An API caching issue in the context of the Betfair Exchange API happens when your application, an intermediate proxy, or Betfair's infrastructure stores and serves stale data (such as outdated odds, old market definitions, or un-refreshed order states) instead of fetching real-time data. Because the Betfair Exchange relies on split-second price movements, caching problems can severely disrupt automated betting scripts and trading bots.

Common Causes and ManifestationsLocal Application Caching: Your custom script or trading bot code inadvertently stores market data (listMarketCatalogue or listMarketBook) in local memory or a database for too long, leading your bot to calculate bets based on old prices.

HTTP Proxy / Gateway Caching: Intermediate network layers or HTTP clients incorrectly cache GET-style or repetitive API responses if proper cache-control headers (no-cache, no-store) are missing from the request configuration.Exchange Stream API vs.

Betting API Misalignment:

If you use the Exchange Stream API (sockets) alongside the standard Betting API (polling listMarketBook), race conditions can make it feel like data is "cached" or lagging if synchronization intervals are set incorrectly.

How to Fix and Prevent Caching IssuesDisable Client-Side Caching:

Ensure your HTTP client explicitly sends headers to bypass caches (e.g., Cache-Control: no-cache and Pragma: no-cache).

Rely on Push Data (Exchange Stream API): For high-frequency live betting, migrate away from polling REST API endpoints and use the Betfair Exchange Stream API via TCP sockets.

This receives delta updates (changes only) in real-time, eliminating stale polling cache loops.

Check version and marketId Handling:

Ensure your application isn't retaining old market definitions when markets close and re-open (such as in-play horse racing or football matches).
Cheers
Post Reply

Return to “Betfair Exchange API”