William Hill API

Looking for a William Hill API?

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

William Hill in one query param
bookmaker_codes=UO027

Use it on odds endpoints to return William Hill odds only (or remove it to compare across UK bookmakers).

How it’s used

One schema for UK bookmaker odds.

Pull fixtures for a date, then request odds for a specific event. Filter to William Hill when you need a single-bookmaker output.

1) Choose fixtures

List events for a date and select an event_id.

2) Query odds

Fetch odds and optionally filter to William Hill 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=UO027

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

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 William Hill API?

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

How do I get William Hill odds only?

Call an odds endpoint and set bookmaker filter to William Hill: bookmaker_codes=UO027. 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.