Betfair API

Betfair Odds API for Football

Pre-match football odds from Betfair, delivered as structured data you can drop straight into your own product, no exchange interface, no manual copying.

Betfair in one bookmaker code
bookmaker_codes=UO006

Betfair is bookmaker code UO006. Use it to pull Betfair odds on their own, or alongside other UK bookmakers in the same response.

Why you need this

Betfair odds, without the exchange interface

Betfair does not publish a public odds API for developers, so anyone building an odds comparison table, price alert tool, or tipster product has to find another way to get Betfair's numbers into their own system. Manually checking the exchange or copying prices by hand does not scale past a handful of matches. What builders actually need is Betfair's pre-match football odds as clean, structured data that updates on a schedule and slots into their own database or app. That is the gap a proper Betfair odds feed is meant to fill.

Odds comparison tables

Show visitors where Betfair sits against other UK bookmakers for the same match and market. Structured data lets you refresh and rank prices automatically instead of updating a table by hand.

Price alert tools

Trigger notifications when Betfair's odds move on a fixture or market you are tracking. This only works reliably if you are polling structured data rather than re-reading a web page each time.

Tipster and prediction products

Attach real Betfair odds to your tips or model outputs so users can see the actual price alongside your pick. Structured odds keep this accurate as prices change through the day.

Research and backtesting

Pull historical-style pre-match odds sets to test staking strategies or model calibration against Betfair pricing. Consistent, structured data makes this repeatable across many fixtures.

The DIY trap

Why scraping Betfair odds pages breaks down

Betfair's exchange interface is built for account holders placing bets, not for machines reading data, so its pages are heavy with scripts, dynamic odds ladders, and layout that shifts often. Add in login walls, rate limiting, and the risk of breaching the exchange's terms of use, and a scraper that worked last week can silently stop working or get blocked without warning. Teams that go this route usually end up spending more time maintaining the scraper than building the product it was meant to support.

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

Where UK Odds API fits

UK Odds API gives you Betfair pre-match football odds as one clean, structured feed, with Betfair set as bookmaker code UO006. Pull Betfair odds on their own for a single-book product, or filter it alongside other UK bookmakers in the same schema when you need a full comparison view. Either way, you get consistent fields and reliable updates without touching the exchange interface directly.

Single book or full market

Use Betfair alone to power a focused product built around one bookmaker's pricing, such as a simple odds tracker or a Betfair-specific tipster feed. Or bring it into a wider comparison tool that sits Betfair next to other UK bookmakers so users can spot the best available price for any match and market. Both approaches run off the same underlying data, so you can start with one and expand to the other later without rebuilding your integration.

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

What you can build with Betfair odds data

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

Built for teams shipping real products

Consistent fields across bookmakers, predictable updates, and a schema that does not change underneath you.

Bookmakers covered

Covering Betfair alongside other major UK football bookmakers in one feed.

Pricing

Plans for every stage of building

Pick a plan based on how much football odds data you need, then filter it down to Betfair, other bookmakers, or a full comparison view.

Starter

£79/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 Pro 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.