Skip to content

API Resources

There are a wide range of resources available to help make it easier to interact with the Betfair API, including those created by Betfair as well as the wider community.

Here are some of the resources we'd recommend taking a look at if you're building a program to interact with either the polling and/or Stream APIs.

The basics

API access

Customers are able to access our API to embed it into their programs and automate their strategies Please reach out if you're an Australian or New Zealand based customer and are keen for support.

Github

  • Our Datascientists' repos for using R and Python to access the API
  • There's an ANZ Betfair Down Under community GitHub repo where you can find sample code, libraries, tutorials and other resources for automating and modelling on the Exchange, including an Awesome List and Knowledge Share with helper functions and guidance on best practice shared by the ANZ automation community.
  • The UK’s Github repo including libraries for other languages

Visualisers

Other resources

  • Towards Data Science provide a decent basic walk through of how to log in to the polling API and pull market data, with some interesting commentary along the way.

Betfair Quants Discord Group

betfair quants is really active Betfair-owned Discord group for people interested in modelling and automation on the Exchange. Please reach out if you'd like an invitation.

New Zealand customers

All requests to Betfair sites from IP addresses located in New Zealand must now call endpoints ending in '.com.au' (requests to '.com' endpoints will be blocked).