Betting Advice and Analysis

Betting Bots

In this section of the website I am going to show you just how easy it is to create a betting bot. You don’t have to be a programming wizzkid or even have much knowledge of programming to begin with.

It’s great fun automating your betting, freeing up your time to go and do other things. There are so many things to try inplay and if you put enough work in, it can be very profitable.

Creating a Bot

Automated betting is a lot of fun and creating a bot is not limited to the super geeks nowadays. I have played around with various types of bots and I didn’t have much technical knowledge to start with. There are 3 main ways of getting a bot together and they are:

1) Using some third party software like Bet Angel or Gruss where the programming is done for you and you customise the integrated command to suit your strategy.

2) Using an excel triggered spread sheet in conjunction with Gruss to give extra flexibility but requires some programming knowledge or a desire to learn.

3) Connecting to the Betfair API yourself. This will obviously give you the most flexibility but does require a sound knowledge of programming.

If you don’t have any knowledge of programming or excel commands then it would be best for you to try the excellent built-in commands for creating bots in application like Bet angel and Gruss. You can trade till your heart’s content at the odds you specify and even create stop losses and all kinds of other rules. Here is a link to Gruss where you can download their software and try it free for 30 days. After that it’s £6 a month. If you are a little more advanced or ambitious than this then you’d be best off trying Gruss’s excel integrated functionality.

Here you can set Gruss to load up every horse race or football match and based on certain trigger commands can get the spread sheet to place bets for you in from your Betfair account. You can make all sort of crazy rules to trigger these bets or to lay off and it’s a lot of fun watching the sheet do all the work as the race unfolds in real time. Here is an example spread sheet that scalps (back and lay for one tick) in the horse racing markets. There are lots of others in this forum too and they are all easily customisable so let me know if you need help with one.

Even more advanced than this and providing even more flexibility with your bots is connecting to Betfair (Via the API) yourself by using your own programming code. There are various languages you can use e.g. ASP.NET, C #, Ruby etc. The one I have tried though is php. Firstly, because my programming skills are very basic and secondly because I found some already created example files on the Betfair’s API forum.

Here is a link to the php code and include files you need to do this. The example here places and cancels bets on football matches as an example but you can modify it to suit your betting bot requirements. The example.php is all you need to modify. I managed to modify this to lay 1.01 in every tennis market as soon as it was created and I have also managed to make bets on the football based on ratings devised in my own database. Again let me know if you would like help with any of this.

If you don’t have a website or web space then I believe you can download something like XAMPP and create a localhost on your computer to run the code kind of other software but I created my own webpage on a server and ran it from there, using cpanels built in cron functionality to time when I wanted to automatically run the code.

If you need any help creating your bot then let me know by either emailing me or posting in the forum.




  1. ryan brignull

    July 15, 2013 at 7:23 am

    Hi brian….interesting acticle….im trying to create a bot for football betting…wondering if you would be able to help.

    do you have a email address

  2. Brian

    July 15, 2013 at 10:35 pm

    Thanks Ryan, sounds good and I’d be glad to help.

    It’d be great if you could post a message on the forum about this and we can discuss there.

    You can email me at also.


  3. Haroon Hassan

    March 23, 2016 at 12:56 pm

    Hello, nice article…to your knowledge is betfair the only venue where you can submit a bet with an API…i notice you can get odds through API calls from other cites, but placing a bet seems only possible on betfair…

    thanks for sharing your experience.

  4. Chris

    October 16, 2018 at 2:54 pm

    Do you know any betting bot for bet365?

    Thank you

  5. Brian

    October 17, 2018 at 8:01 am

    People do code these but don’t shout about it because bet365 try to stop any bots from using their site. You can hire a freelancer to do this on sites like upwork. I may have a go at creating something soon actually.

Leave a Reply

Your email address will not be published. Required fields are marked *

Current month ye@r day *