Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In order to use the Betting & Accounts API, you need to have an Application Key. The Application Key identifies your API client.  Two App Keys are assigned to a single Betfair account, one live App Key and one delayed App Key for testing.

You must pass the Application Key with every HTTP request. You do this by setting the HTTP header with the value of the key assigned by Betfair.

...

One 'live' App Key and one 'delayed' App Key. A delayed App Key is displayed as 'Version 1.0-DELAY' via createDeveloperAppKeys/getDeveloperAppKeys

  • The delayed App Key must be used for development and any functional testing that doesn't require the use of live data and betting functionality.

  • The delayed App Key returns delayed price data and does not allow betting transactions to be performed (placeOrders,replaceOrders,updateOrders, cancelOrders)  Attempting to use these operations with a delayed App Key will result in the PERMISSION_DENIED error.The delayed App Key should be used for development and any functional testing that doesn't require the use of live data and betting functionality. 
  • The delayed App Key should also be used in simulation/practice applications where the facility to bet into live Betfair markets is not available.
  • The delayed App Key does not return traded volume data 'EX_TRADED' via listMarketBook.

...