Betfair API

Looking for a Betfair API?

Here’s how to access Betfair odds (and other UK bookmakers) in one normalised response — with copy‑paste endpoints, sample JSON, and a clean filtering approach.

Betfair filter
bookmaker_codes=UO005

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

How it’s used

Exchange odds + bookmaker comparisons.

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.

1) Choose fixtures

List events for a date and select an event_id.

2) Query odds

Fetch odds and optionally filter to Betfair via bookmaker_codes.

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=UO005

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": "UO005", "name": "Betfair" }
  ],
  "markets": [
    {
      "key": "1x2",
      "outcomes": [
        { "name": "Home", "odds": 2.05, "bookmaker_code": "UO005" },
        { "name": "Draw", "odds": 3.40, "bookmaker_code": "UO005" },
        { "name": "Away", "odds": 3.75, "bookmaker_code": "UO005" }
      ]
    }
  ]
}

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

Start lean. Scale up when you’re ready.

Use Free to validate responses, then upgrade for full coverage and premium endpoints.

Sandbox

Free

£0

For evaluation and dashboard access

  • 2 UK bookmakers
  • Core markets only
  • 300 requests/month
  • Read-only access
  • Community support

Starter

£129/month

For prototypes and early products

  • 10 UK bookmakers
  • Core markets only
  • 1,000 requests/hour
  • Email support

Scale

£549/month

For trading tools and production apps

  • 27 UK bookmakers
  • Core + full markets
  • 20,000 requests/hour
  • Arbitrage API included
  • Historical odds

FAQ

Still got questions?

Do you have a Betfair API?

We provide Betfair odds via our API, alongside other UK bookmakers, using one normalised response shape. Filter to Betfair with bookmaker code UO005.

How do I get Betfair odds only?

Call an odds endpoint and set bookmaker filter to Betfair: bookmaker_codes=UO005. Remove the filter to compare against the wider UK market.

How does the API work?

UK Odds API is a REST API that returns JSON. You send your API key with each request, pick fixtures and markets from the paths or query parameters, and receive normalised odds from UK bookmakers in one response shape.

Which bookmakers are included?

All major UK bookmakers, including Bet365, Betfair, Paddy Power, Sky Bet, William Hill, Coral, Ladbrokes, Betway, 888sport, Unibet, and Spreadex.

Can I try the API before I pay?

Yes. Create a free account, generate an API key, and try endpoints in the Swagger playground at api.ukoddsapi.com/docs.

What you can build

Real examples.
Copy‑paste code.