Betfair API

Looking for a Betfair API?

Looking for a Betfair API? There isn’t a simple official odds API for building your own product — and scraping Betfair is a maintenance trap. UK Odds API gives you Betfair pre-match football odds as normalised REST JSON (UO006), alone or compared with the rest of the UK market.

Betfair filter
bookmaker_codes=UO006

Use it on odds endpoints to return Betfair only, or remove it to compare Betfair against UK bookmakers.

The search intent

Is there an official Betfair API?

Betfair provides exchange tools for account holders, but product teams searching for a “Betfair API” usually want exchange odds plus UK retail bookmakers in one integration — not a scraper farm for every high-street site.

What people actually need

Fixtures, markets, and Betfair odds in JSON — often next to Bet365, Sky Bet, Paddy Power, and William Hill — for comparison tables, alerts, tipster tools, or internal dashboards.

What “official” usually means

Affiliate links or account-holder tooling, not a documented multi-tenant odds API you can embed in a SaaS without scraping.

The DIY trap

Why scraping Betfair fails in production

A Betfair scraper looks cheap on day one. In production it becomes a full-time job: DOM changes, bot challenges, IP blocks, and Terms of Service risk — before you even normalise markets against other UK bookmakers.

Technical breakage

Layouts and XHR payloads change without notice. Proxies, CAPTCHAs, and rate limits add cost and downtime.

Legal / ToS risk

Automated extraction is typically prohibited. For a commercial product, a managed feed is the cleaner path. See legal risks of scraping.

The simple path

Get Betfair odds via UK Odds API instead

UK Odds API is a UK-first REST API for pre-match football odds. Filter to Betfair with UO006, or drop the filter to compare across 34 UK bookmakers and exchanges in one schema — OpenAPI docs, stable codes, no HTML parsers.

Single book or full market

Most products start by filtering to Betfair for exchange odds, then removing the filter to compare against the wider UK market. The best-odds endpoint is ideal for compact “top odds” tables.

Built for Pro workloads

Most customers run on Pro (£149/mo, 7-day trial): 34 UK bookmakers, advanced markets including player props, historical odds. Start with a trial, then call the endpoints below.

How to integrate

Exchange odds + bookmaker comparisons.

Once you have an API key, the flow is the same for every UK bookmaker: list fixtures, request odds, optionally filter to Betfair.

1) Choose fixtures

List events for a date and select an event_id.

2) Query odds

Fetch odds and filter to Betfair via bookmaker_codes=UO006.

Endpoints

Copy‑paste these requests.

GET /v1/football/events?schedule_date=YYYY-MM-DD&has_odds=true&upcoming=true&per_page=10

GET /v1/football/events/EVENT_ID/odds/best?odds_format=decimal&bookmaker_codes=UO006

Replace EVENT_ID with an event_id returned by the events endpoint.

Sample JSON

A compact example response (shape is normalised across bookmakers).

{
  "event_id": "evt_123",
  "odds_format": "decimal",
  "bookmakers": [
    { "code": "UO006", "name": "Betfair" }
  ],
  "markets": [
    {
      "key": "1x2",
      "outcomes": [
        { "name": "Home", "odds": 2.05, "bookmaker_code": "UO006" },
        { "name": "Draw", "odds": 3.40, "bookmaker_code": "UO006" },
        { "name": "Away", "odds": 3.75, "bookmaker_code": "UO006" }
      ]
    }
  ]
}

Realtime data

#1 odds API for the UK market.

Build faster with accurate, developer-friendly UK Odds API.

Bookmakers covered

UK-first coverage across major UK bookmakers and exchanges.

Pricing

Simple, honest pricing.

A focused API built for one job: UK football odds, from every bookmaker, in one clean format.

Starter

£49/month

Billed today · no trial

For prototypes and early builds

  • 10 UK bookmakers
  • Core markets only Main match odds such as match winner, over/under, both teams to score, double chance, draw no bet, and handicaps.
  • 1,000 requests/hour
  • Email support

Business

£359/month

Billed today · no trial

For arbitrage tools and revenue-generating systems

  • 34 UK bookmakers
  • Core markets Main match odds such as match winner, over/under, both teams to score, double chance, draw no bet, and handicaps.
  • Advanced markets Deeper betting markets such as corners, cards, team props, player props, specials, and bookmaker-specific markets.
  • 20,000 requests/hour
  • Arbitrage API included
  • Specials Football specials: markets on topics like next manager, transfers, and awards.
  • Historical odds
  • Price boosts Promotional boosted odds on selected markets and outcomes — e.g. enhanced player props and match combos. Single-event and batch endpoints available.
  • Bet builders Bookmaker-published multi-leg bets for one match — e.g. BTTS + corners + cards.

FAQ

Still got questions?

Is there an official Betfair API?

Betfair offers exchange trading APIs for account holders, but that is not the same as a multi-bookmaker UK odds feed. If you need Betfair odds alongside Sky Bet, Paddy Power, William Hill and other UK bookmakers in one JSON schema, UK Odds API is built for that.

Can I scrape Betfair odds instead?

You can try, but scrapers break when the site changes, hit anti-bot controls, and usually violate Terms of Service. For production apps, a managed odds API is simpler and lower risk than maintaining a Betfair HTML parser.

How do I get Betfair odds via UK Odds API?

Call fixtures with /v1/football/events, then odds with bookmaker_codes=UO006. Remove the filter to compare Betfair against the wider UK market.

What is UK Odds API?

UK Odds API is a UK-first REST API for pre-match football odds across major UK bookmakers and exchanges — one OpenAPI contract, stable UO### codes, best-odds helpers, and advanced markets (including player props) on Pro.

Which plan do I need?

Most production apps use Pro (£149/month, 7-day free trial): 34 UK bookmakers, core + advanced markets, historical odds. Arbitrage endpoints are on Business.

Can I try before I pay?

Yes. Start a 7-day Pro trial at ukoddsapi.com/sign-up, then try endpoints in the OpenAPI playground at api.ukoddsapi.com/docs.

What you can build

Real examples.
Copy‑paste code.