Demo tools are available for the Betfair Exchange API for the Betting & Accounts API. Demo Tools can be used by developers to allow quick experimentation with the live Betfair API
Why Use Demo Tools?
- All existing API operations are available
- You can easily experiment with the parameters for your API queries.
- You can build sample requests and interact with the API directly requests and responses are output to the JavaScript debug console. For example, using Google Chrome, you can open the Javascript console using the shortcut Ctrl+Shift+J. The same shortcut can also be used with Mozilla Firefox.
Tips for using the Demo tools
- Login to www.betfair.com and refresh the page to automatically input the Session Token field.
- Use “Full Screen” mode to open the tools in a new browser window for easy viewing.
- JSON Requests and responses are output to the JavaScript debug console & can be view via the shortcut Ctrl+Shift+J in most browsers.
Examples of Demo Tools usage
Please see some example of how to use the Demo tools in the steps below:
1. Request All eventTypes using listEventTypes
2. Request all events for EventTypeId 1 (Soccer)
3. Request all markets for a specific eventId using listMarketCatalogue
4. Request prices for a specific marketId (EX_BEST_OFFERS & EX_TRADED) using listMarketBook - Please note: click on the '?' under Market Book on the right-hand side to reveal the Market Details pop up.
Please note
The Demo Tools are provided as-is and are intended solely as a testing resource.
The demo tools interact directly with the Betfair API production system and not a testbed/sandbox environment.
Comments
0 comments
Article is closed for comments.