Betfair

Betfair operates the world's largest online betting exchange, where customers back and lay outcomes against each other rather than against a bookmaker. The Betfair Exchange API (API-NG) gives automated clients programmatic access to the exchange - navigating markets, retrieving live prices, placing and managing bets, and reading account state. It is exposed as lightweight JSON-RPC and REST operations over HTTPS under https://api.betfair.com/exchange (the Betting, Accounts, and Heartbeat APIs), with a separate real-time Exchange Stream API delivered over a raw SSL/TCP socket (CRLF-delimited JSON, not WebSocket) for low-latency market and order updates. A Historic Data API and a licensed Vendor (affiliate) API round out the platform. Auth combines an Application Key with a session token (ssoid) obtained from Betfair's identity SSO login.

Betfair publishes 6 APIs on the APIs.io network, including Exchange Stream API, Accounts API, Betting API, and 3 more. Tagged areas include Betting Exchange, Sports Betting, Wagering, Trading, and Market Data.

The Betfair catalog on APIs.io includes 1 event-driven AsyncAPI specification and 1 Spectral governance ruleset.

Betfair’s developer surface includes authentication, documentation, and 7 more developer resources.

44.5/100 developing ▬ flat Agent 32/100 agent aware Full breakdown ↓
scored 2026-08-03 · rubric v0.9
AccessPaidSelf serve
7 APIs
Betting ExchangeSports BettingWageringTradingMarket DataJSON-RPCStreaming

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-08-03 · rubric v0.9
Composite quality — 44.5/100 · developing
Contract Quality 16.7 / 25
Developer Ergonomics 3.9 / 20
Commercial Clarity 7.9 / 20
Operational Transparency 4.1 / 13
Governance 7.0 / 12
Discoverability 7.4 / 10
Agent readiness — 32/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 6 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/betfair: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 7

Individual APIs this provider publishes, each with its own machine-readable definition.

Betfair Exchange Stream API

Low-latency, subscription-based push of market and order changes over a persistent raw SSL/TCP socket to stream-api.betfair.com:443. The protocol is CRLF-delimited JSON (one JSO...

Betfair Vendor API

The Web Vendor Facility for licensed software vendors building web-based betting applications. Uses an OAuth2-style authorization flow so a vendor's web application can obtain a...

Betfair Accounts API

AccountAPING - account funds, details, statement, and app keys.

Betfair Betting API

SportsAPING - market navigation, prices, and bet placement.

Betfair Heartbeat API

HeartbeatAPING - dead man's switch that cancels unmatched bets.

Betfair Historic Data API

Download purchased historical exchange market data.

Betfair Identity API

Session login, keep-alive, and logout via Betfair identity SSO.

Scroll for all 7

Open Collections 1

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

Pricing Plans 1

Published pricing tiers and plan structures.

Betfair Plans Pricing

4 plans

PLANS

Rate Limits 1

Documented rate limits and quota policies.

Betfair Rate Limits

7 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Event Specifications 1

AsyncAPI definitions for this provider's event-driven and streaming APIs.

Betfair Exchange Stream API (SSL/TCP)

AsyncAPI 2.6 description of the Betfair **Exchange Stream API** - Betfair's low-latency, subscription-based push channel for market and order changes. IMPORTANT TRANSPORT NOTE: ...

ASYNCAPI

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

Betfair API Rules

7 rules · 6 warnings 1 info

SPECTRAL

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Betfair Authentication

apiKey · 2 schemes

SECURITY

Betfair Domain Security

TLSv1.3 · DMARC

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Betfair Agentic Access

27 operations · 26 acting

27 operations · 26 acting

AGENTIC

Resources

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Access & Security 2

Authentication, authorization, and security posture

Operate 1

Status, limits, changes, and where to get help

Commercial 2

Pricing, plans, and the legal terms of use

Company 2

The organization behind the API

Source (apis.yml)

apis.yml Raw ↑
aid: betfair
url: https://raw.githubusercontent.com/api-evangelist/betfair/refs/heads/main/apis.yml
name: Betfair
kind: company
description: Betfair operates the world's largest online betting exchange, where customers back and lay outcomes against each
  other rather than against a bookmaker. The Betfair Exchange API (API-NG) gives automated clients programmatic access to
  the exchange - navigating markets, retrieving live prices, placing and managing bets, and reading account state. It is exposed
  as lightweight JSON-RPC and REST operations over HTTPS under https://api.betfair.com/exchange (the Betting, Accounts, and
  Heartbeat APIs), with a separate real-time Exchange Stream API delivered over a raw SSL/TCP socket (CRLF-delimited JSON,
  not WebSocket) for low-latency market and order updates. A Historic Data API and a licensed Vendor (affiliate) API round
  out the platform. Auth combines an Application Key with a session token (ssoid) obtained from Betfair's identity SSO login.
accessModel:
  pricing: paid
  onboarding: self-serve
  trial: false
  try_now: false
  public: false
  label: Paid · Self-serve signup
  confidence: high
  source:
  - plans
  - authentication
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/betfair.png
tags:
- Betting Exchange
- Sports Betting
- Wagering
- Trading
- Market Data
- JSON-RPC
- Streaming
created: '2026-07-03'
modified: '2026-07-03'
specificationVersion: '0.19'
apis:
- aid: betfair:betfair-exchange-stream-api
  name: Betfair Exchange Stream API
  tags:
  - Streaming
  - Real Time
  - Market Data
  - TCP
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Exchange+Stream+API
  baseURL: tcp+ssl://stream-api.betfair.com:443
  properties:
  - url: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Exchange+Stream+API
    type: Documentation
  - url: https://github.com/betfair/stream-api-sample-code
    type: SourceCode
  - url: asyncapi/betfair-asyncapi.yml
    type: AsyncAPI
  description: Low-latency, subscription-based push of market and order changes over a persistent raw SSL/TCP socket to stream-api.betfair.com:443.
    The protocol is CRLF-delimited JSON (one JSON message per line) - NOT WebSocket; attempted WebSocket connections are refused.
    Clients authenticate then send marketSubscription / orderSubscription requests and receive market change (mcm) and order
    change (ocm) messages plus connection, status, and heartbeat frames.
- aid: betfair:betfair-vendor-api
  name: Betfair Vendor API
  tags:
  - Vendor
  - Affiliate
  - OAuth2
  - Web Apps
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Web+Vendor+Facility
  baseURL: https://identitysso.betfair.com
  properties:
  - url: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Web+Vendor+Facility
    type: Documentation
  description: The Web Vendor Facility for licensed software vendors building web-based betting applications. Uses an OAuth2-style
    authorization flow so a vendor's web application can obtain access and refresh tokens and act on a Betfair customer's
    behalf, with the vendor able to charge subscriptions via application subscription tokens.
- aid: betfair:betfair-accounts-api
  name: Betfair Accounts API
  description: AccountAPING - account funds, details, statement, and app keys.
  humanURL: https://developer.betfair.com/en/get-started/
  baseURL: https://api.betfair.com/exchange/betting
  tags:
  - Accounts
  properties:
  - type: OpenAPI
    url: openapi/betfair-accounts-api-openapi.yml
  - type: Documentation
    url: https://developer.betfair.com/exchange-api/
  - type: APIReference
    url: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Betting+API
  - type: PostmanCollection
    url: collections/betfair.postman_collection.json
  - type: OpenCollection
    url: collections/betfair.opencollection.json
  - type: APIReference
    url: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Accounts+API
  - type: APIReference
    url: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Heartbeat+API
  - type: Documentation
    url: https://developer.betfair.com/historical-data-services-api/
  - type: Specification
    url: https://historicdata.betfair.com/Betfair-Historical-Data-Feed-Specification.pdf
- aid: betfair:betfair-betting-api
  name: Betfair Betting API
  description: SportsAPING - market navigation, prices, and bet placement.
  humanURL: https://developer.betfair.com/en/get-started/
  baseURL: https://api.betfair.com/exchange/betting
  tags:
  - Betting
  properties:
  - type: OpenAPI
    url: openapi/betfair-betting-api-openapi.yml
  - type: Documentation
    url: https://developer.betfair.com/exchange-api/
  - type: APIReference
    url: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Betting+API
  - type: PostmanCollection
    url: collections/betfair.postman_collection.json
  - type: OpenCollection
    url: collections/betfair.opencollection.json
  - type: APIReference
    url: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Accounts+API
  - type: APIReference
    url: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Heartbeat+API
  - type: Documentation
    url: https://developer.betfair.com/historical-data-services-api/
  - type: Specification
    url: https://historicdata.betfair.com/Betfair-Historical-Data-Feed-Specification.pdf
- aid: betfair:betfair-heartbeat-api
  name: Betfair Heartbeat API
  description: HeartbeatAPING - dead man's switch that cancels unmatched bets.
  humanURL: https://developer.betfair.com/en/get-started/
  baseURL: https://api.betfair.com/exchange/betting
  tags:
  - Heartbeat
  properties:
  - type: OpenAPI
    url: openapi/betfair-heartbeat-api-openapi.yml
  - type: Documentation
    url: https://developer.betfair.com/exchange-api/
  - type: APIReference
    url: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Betting+API
  - type: PostmanCollection
    url: collections/betfair.postman_collection.json
  - type: OpenCollection
    url: collections/betfair.opencollection.json
  - type: APIReference
    url: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Accounts+API
  - type: APIReference
    url: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Heartbeat+API
  - type: Documentation
    url: https://developer.betfair.com/historical-data-services-api/
  - type: Specification
    url: https://historicdata.betfair.com/Betfair-Historical-Data-Feed-Specification.pdf
- aid: betfair:betfair-historic-data-api
  name: Betfair Historic Data API
  description: Download purchased historical exchange market data.
  humanURL: https://developer.betfair.com/en/get-started/
  baseURL: https://api.betfair.com/exchange/betting
  tags:
  - Historic Data
  properties:
  - type: OpenAPI
    url: openapi/betfair-historic-data-api-openapi.yml
  - type: Documentation
    url: https://developer.betfair.com/exchange-api/
  - type: APIReference
    url: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Betting+API
  - type: PostmanCollection
    url: collections/betfair.postman_collection.json
  - type: OpenCollection
    url: collections/betfair.opencollection.json
  - type: APIReference
    url: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Accounts+API
  - type: APIReference
    url: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Heartbeat+API
  - type: Documentation
    url: https://developer.betfair.com/historical-data-services-api/
  - type: Specification
    url: https://historicdata.betfair.com/Betfair-Historical-Data-Feed-Specification.pdf
- aid: betfair:betfair-identity-api
  name: Betfair Identity API
  description: Session login, keep-alive, and logout via Betfair identity SSO.
  humanURL: https://developer.betfair.com/en/get-started/
  baseURL: https://api.betfair.com/exchange/betting
  tags:
  - Identity
  properties:
  - type: OpenAPI
    url: openapi/betfair-identity-api-openapi.yml
  - type: Documentation
    url: https://developer.betfair.com/exchange-api/
  - type: APIReference
    url: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Betting+API
  - type: PostmanCollection
    url: collections/betfair.postman_collection.json
  - type: OpenCollection
    url: collections/betfair.opencollection.json
  - type: APIReference
    url: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Accounts+API
  - type: APIReference
    url: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Heartbeat+API
  - type: Documentation
    url: https://developer.betfair.com/historical-data-services-api/
  - type: Specification
    url: https://historicdata.betfair.com/Betfair-Historical-Data-Feed-Specification.pdf
common:
- type: AgenticAccess
  url: agentic-access/betfair-agentic-access.yml
- type: DomainSecurity
  url: security/betfair-domain-security.yml
- type: Authentication
  url: authentication/betfair-authentication.yml
- type: LinkedIn
  url: https://www.linkedin.com/company/betfair
- type: Website
  url: https://www.betfair.com
- type: Documentation
  url: https://developer.betfair.com/
- type: Plans
  url: plans/betfair-plans-pricing.yml
- type: RateLimits
  url: rate-limits/betfair-rate-limits.yml
- type: FinOps
  url: finops/betfair-finops.yml
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com
Where this information came from

This is an independent, third-party profile of Betfair, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.