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 ‘MkcBqyZrD53V6A..’

4. Activate your app key

This process will generate two app keys:

  • a developer key which is designed for development purposes. This has a variable delay of between 1 and 180 seconds, doesn’t show matched volume and doesn’t need to be activated prior to use.
  • a live app key is intended for transacting on the Exchange and should only be used when you’re ready to start placing bets or can no longer test your strategy effectively using the developer key.

Please note that if the live key is used to pull data from the Exchange without corresponding bets being placed a delay may be automatically applied to the live key.

If you’re ready to start testing your strategy or placing bets, please contact and we will be happy to assist with activating the live key and implementing your strategy.

related articles

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 Build a Bot Without Knowing Code

Build a Bot without Knowing Code. Make money while you sleep. It isn’t as far-fetched as you’d think. There’s ...

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 ...