B

Betfair Exchange Streaming API

REST discovered

Details Spec supplied by APIs.guru
URL
http://stream-api.betfair.com:443/api
Spec
https://api.apis.guru/v2/specs/betfair.com/1.0.1423/openapi.json
Docs
https://betfair-developer-docs.atlassian.net/wiki/spaces/1smk3cen4v3lu3yomq5qye0ni/pages/2687396/Exchange+Stream+API
Authentication
Betfair Application Key (App Key) api_key=<credential> + Betfair session token api_key=<credential> discovered
Betfair Application Key (App Key) api_key Get key ↗

Create your keys via the Accounts API Demo Tool. Betfair's getting-started guide says each account gets a Delayed key and a Live key, and that app keys are needed for API requests. To create them, log in to Betfair, open the demo tool, run createDeveloperAppKeys, and later you can view them with getDeveloperAppKeys as described in How do I retrieve and view my existing Application Keys?.

Betfair session token bearer Get token ↗

Obtain a session token by logging in to the Betfair API. Betfair's getting-started guide says a session token is required for API requests and links to How do I login to the API?. For bot/non-interactive login, Betfair documents using your Betfair username and password together with a self-signed client certificate uploaded to your account in Non-Interactive (bot) login.