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 or create your own customised trading interface. Professional punters use it for these functions and many more.

This guide helps Australian and New Zealand customers with obtaining their Betfair API Key. If you’re outside of these two regions please go to the UK’s Developer Program website.


Get an App Key in 4 Steps

Please note throughout this article the terms ‘API key’, ‘Application Key’ and ‘App key’ are used interchangeably.

To setup your API key you’ll need to work through the steps below:

  1. Obtain an SSOID token
  2. Register your application
  3. Obtain your app key
  4. Activate your app key

1. Obtain an SSOID token

The simplest way to setup your browser with the SSOID is to click this link, and login

After clicking login, you’ll be sent to the main Betfair website. Note: it may not show that you’re logged in on the site. You can ignore that. Proceed to step two.


2. Register your application

Navigate to the API-NG accounts visualiser.

If you’ve followed step 1 correctly, your SSOID token should be automatically populated in the visualiser.

Next click on ‘createDeveloperAppKeys’ in the left hand navigation.

Type in an application name; this will be the name of your bot, and click ‘Execute’ down the bottom of the page.

 

If you receive an error message saying that your app key couldn’t be created, it’s most likely because you already have one. Use the ‘getDeveloperAppKeys’ method in the left hand menu to check whether there’s already an app key associated with your account.


3. Obtain your app key

After your key is created, you should see in the right hand panel your application:

You’ll notice that two application keys have been created;

• Version – 1.0-Delay: is a delayed app key for development purposes

• Version – 1.0: is the live pricing app key; on yours it should have a status ‘No’ in Active.

Grab the application key listed for the live price one; for the example above, that is ‘EQtfV6x58mgkstqL’


4. Activate your app key

Please contact us directly when you’re ready to activate your app key. We have a dedicated resource to make it as easy for you as possible.


related articles

API Bot

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

Read More

How to Build a Bot Without Knowing Code

Make money while you sleep. It isn’t as far-fetched as you’d think. There’s thousands of Betfair members whose primary ...

Read More

Traderline Betting App

Traderline offers you a complete and tailor-made package for trading whilst being very intuitive and easy to use. Traderline is available ...

Read More