A Sign up for a Betfair account
Please note: Your Betfair account must be sufficiently funded & verified before your application for a Live Application Key will be considered. We do not accept Personal licence applications from India, Pakistan, Bangladesh, Sri Lanka or UAE.
B Create a development App Key
When you create your Application Key, a set of two keys is returned. One 'delay' key that is used for development and testing and one live key which is returned but inactive. Please click here for more information about Delayed and Live Application keys.
What is an Application Key?
In order to use the Betfair API, you need an Application Key. You must pass the Application Key with every HTTP request. You do this by setting the HTTP header called X-Application with the value of the assigned key.
We recommend using a Google Chrome or Mozilla Firefox browser to complete the following process.
- Login into your Betfair account via www.betfair.com
- Using a separate browser window, click on the Accounts API Demo Tool link.
- Select the createDeveloperAppKeys operation from the list of Operations on the top left hand side of the Demo Tool. Your sessionToken will be automatically added to the 'Session Token (ssoid)' text box. PLEASE NOTE: For the .au, .it, .es and .ro jurisdictions please check the Exchange API FAQ's (How do I retrieve a session token for use with the Demo Tool?)
- Enter your Application Name (this must be unique) in the 'Request' column.
- Press Execute at the bottom of the 'Request' column. PLEASE NOTE: if you receive an error APP_KEY_CREATION_FAILED please check that you haven't created an App Key previously using th getDeveloperAppKeys request.
- Your Application Key will be returned in the right hand side panel of the Demo Tool under the Application Key column. Please note: You may need to expand the Application Key column to see the full Application Key value which is 16 characters in total. The assigned Application Key can be retrieved at anytime using the getDeveloperAppKeys request.
- The Application Key returned provides access to betting operations and delayed odds data - to be used for development and testing. Please apply for a live Application Key using the application form below once you have completed your development.