Automated Betting Station: Build Your Betfair Bot

Did you want to create a Betfair bot: an automated betting robot that bets in your sleep?

Betfair is here to help you in your automation journey, and this site is dedicated to sharing the tools and resources you need to succeed.

This page is here to help you become one of our successful clients. Like James the AFL modeler who beat the market without watching a game. Or Jack the IT expert who combined his maths skills with his love for punting.


Our Data Science team has created a dedicated Betfair page on GitHub.

They’re adding new repos every week.

You’ll find:

If you’re data minded, or looking to automate your betting, we strongly encourage you to visit our GitHub regularly. This collection of resources will only get deeper.


We know that automated strategies are only as good as your data. There’s a huge variety of historic pricing data available for almost any race or sport – you can take a look at our explanation of the different data sources if you’re not quite sure where to start. We’ve also shared some tips on learning to create predictive models using this data, which link in with the models shared on our main Github page.

Learn from a pair of experts

Betfair had a chat with two of its top automated betting clients, Tom Bishop and Jonathan Lowe, to dive into their background in automated betting and how they got to where they are now.

Are you ready to compete with traders and data analysts on the world’s biggest betting exchange?

access our API

As you may already know, Betfair has its own API to allow you to integrate your program into the Exchange. Many of our most successful clients bet exclusively through this by placing automated bets using custom software.

There are lots of resources available to support you in accessing the API effectively:

Unfortunately, the sign up process can feel overwhelming to some people. To help facilitate your journey, we’ve created this a guide to accessing our API.

third party apps

Whilst the following tools are not custom, they do allow you to automate your betting strategies. You just set up specific betting conditions and let the third party application do the work for you. The following three are probably the most popular with Betfair customers.

We’re putting together a collection of articles on how to use some of these third party tools to automate basic strategies, to give you a starting point that you can then work from.

Extra help

If you’re looking for bespoke advice or have extra questions, please contact us at We have a dedicated in-house resource that is here to automate your betting strategies.

We also know software developers who can create custom tools for you. Please use the above email for those requests as well.

External Resources

Lastly, we know that some strategies need more than Betfair data to thrive. So while we continue strengthening that offering, we also wanted to share some sport specific resources that you may find helpful.

Sport Resource
AFL fitzRoy
AFL Squiggle API
AFL Australia Sports Betting
Cricket cricinfo
Cricket cricsheet
Football Football Data
Golf Official PGA
Golf sportradar
Golf PGAgolfbets
Golf datatgolf
Golf Future Of Fantasy
Horse Racing PuntingForm
Horse Racing Punters Stats
NBA Official NBA
NBL NBL Official
NBL Spatial Jam
NFL nflgame GitHub
NFL NFLsavant
NRL iStats NRL
NRL NRL Tables
NRL Fox Sports NRL
Promo Arbitrage Bonus Money’s Matcha
Tennis Tennis Data
Tennis Jeff Sackmann GitHub
Tennis ATP World Tour

Private: API Bot

“BOT: definition…is a software application that runs automated tasks (scripts) over the Internet. Typically, bots perform tasks that are ...

How to access the Betfair API

Betfair has it’s own Exchange API. You can use it to programmatically retrieve live markets, automate successful trading strategies ...

How to Create a Team Rating Model

The majority of bookmakers and professional punters use ratings systems. They’re most commonly applied to horse racing. However, ratings ...